Skip to main content
GuideServerConfigure and deploy Tabsdata servers on your machine.TutorialsConfigure data integration workflows within a running Tabsdata server.API ReferenceCLI ReferenceRelease Notes
Version: 2.3.0

DevFrameDest

class
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​

parameter
outputsint

How many outputs the subscriber returns.

Methods​

method
validate
def validate()

Validate outputs is a positive integer.

Called by the framework; raises DevValidateException.