DevFrameDest
class DevFrameDest(outputs: int = 1)
Bases: Dest
Categories: destination
Destination reporting the LazyFrame\ s a @subscriber hands
it -- it writes no data.
Each run writes one JSON report to its connection's folder with, per output and by position, the type of the table it received, its row count and its column names. Useful to check what a destination receives without an external system.
Examples
@subscriber(destination=DevFrameDest(outputs=2), input_tables=["a", "b"])
def report(a: TableFrameSpec, b: TableFrameSpec):
return a, b
Parameters
Methods
method
validatedef validate()
Validate outputs is a positive integer.
Called by the framework; raises DevValidateException.