table#

class activitysim.core.workflow.table(wrapped_func=None, *, step_name=None)#

Bases: step

Decorator for functions that deliver a data table.

The function is called to initialize or otherwise generate the content of a named data table, but only if the matching name is not already stored in the state’s context.

@workflow.table is equivalent to @workflow.step(cache=True, kind="table").