Skip to main content
Version: 1.5.0

TableInput

class TableInput(table: str | List[str])

Bases: SourcePlugin

Categories: source

Class for managing the configuration of table-based data inputs.

Attributes: table (str | List[str]): The table(s) to load.

Initializes the TableInput with the given tables. If multiple tables are provided, they must be provided as a list.

Parameters

parameter
tablestr | List[str]

The table(s) to load. If multiple tables are provided, they must be provided as a list.

Properties

property
initial_valuesdict

Return a dictionary with the initial values to be stored after execution of the plugin. They will be accessible in the next execution of the plugin. The dictionary must have the parameter names as keys and the initial values as values, all the type string.

Returns: dict: A dictionary with the initial values of the parameters of the plugin.

property
tablestr | List[str]

The table(s) to load.

Methods

stream
def stream(working_dir: str) -> list[TableFrame | None | list[TableFrame | None]]