oaebu_workflows.config

Module Contents

Functions

test_fixtures_folder([workflow_module])

Get the path to the OAeBU Workflows test data directory.

schema_folder([workflow_module])

Return the path to the schema template folder.

sql_folder([workflow_module])

Return the path to the workflow SQL template folder.

construct_module_path(*parts)

Constructs the full module path given parts of a path.

oaebu_workflows.config.test_fixtures_folder(workflow_module=None)[source]

Get the path to the OAeBU Workflows test data directory.

Parameters:

workflow_module (Optional[str]) – Optional, name of the workflow. Only to be included if the schema for the workflow is in

Return type:

str

the directory oaebu_workflows.{workflow_name}.tests.fixtures :return: the test fixtures directory.

oaebu_workflows.config.schema_folder(workflow_module=None)[source]

Return the path to the schema template folder.

Parameters:

workflow_module (Optional[str]) – Optional, name of the workflow. Only to be included if the schema for the workflow is in

Return type:

str

the directory oaebu_workflows.{workflow_module}.schema :return: the path.

oaebu_workflows.config.sql_folder(workflow_module=None)[source]

Return the path to the workflow SQL template folder.

Parameters:

workflow_module (Optional[str]) – Optional, name of the workflow. Only to be included if the sql for the workflow is in

Return type:

str

the directory oaebu_workflows.{workflow_module}.sql :return: the path.

oaebu_workflows.config.construct_module_path(*parts)[source]

Constructs the full module path given parts of a path.

Parameters:

parts (str) –

Return type:

str