temp_table#

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

Bases: step

Decorator for functions that deliver a temporary data table.

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

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