defaults
Attributes¶
kiara_app_dirs = AppDirs('kiara', 'DHARPA')
module-attribute
¶
KIARA_MODULE_BASE_FOLDER = os.path.dirname(__file__)
module-attribute
¶
Marker to indicate the base folder for the kiara
module.
KIARA_RESOURCES_FOLDER = os.path.join(KIARA_MODULE_BASE_FOLDER, 'resources')
module-attribute
¶
Default resources folder for this package.
KIARA_CONFIG_FILE_NAME = 'kiara.config'
module-attribute
¶
KIARA_DEV_CONFIG_FILE_NAME = 'dev.config'
module-attribute
¶
KIARA_MAIN_CONFIG_FILE = os.path.join(kiara_app_dirs.user_config_dir, KIARA_CONFIG_FILE_NAME)
module-attribute
¶
KIARA_DEV_CONFIG_FILE = os.path.join(kiara_app_dirs.user_config_dir, KIARA_DEV_CONFIG_FILE_NAME)
module-attribute
¶
KIARA_MAIN_CONTEXTS_PATH = os.path.join(kiara_app_dirs.user_config_dir, 'contexts')
module-attribute
¶
KIARA_DB_MIGRATIONS_CONFIG = os.path.join(KIARA_RESOURCES_FOLDER, 'database', 'alembic.ini')
module-attribute
¶
KIARA_DB_MIGRATIONS_FOLDER = os.path.join(KIARA_RESOURCES_FOLDER, 'database', 'kiara')
module-attribute
¶
USER_PIPELINES_FOLDER = os.path.join(kiara_app_dirs.user_config_dir, 'pipelines')
module-attribute
¶
MODULE_TYPE_KEY = 'module_type'
module-attribute
¶
The key to specify the type of a module.
STEP_ID_KEY = 'step_id'
module-attribute
¶
The key to specify the step id.
INVALID_VALUE_NAMES = ['kiara', 'callbacks']
module-attribute
¶
List of reserved names, inputs/outputs can't use those.
DEFAULT_DATA_STORE_MARKER = 'default_data_store'
module-attribute
¶
Name for the default context data store.
DEFAULT_JOB_STORE_MARKER = 'default_job_store'
module-attribute
¶
Name for the default context job store.
DEFAULT_ALIAS_STORE_MARKER = 'default_alias_store'
module-attribute
¶
Name for the default context alias store.
DEFAULT_WORKFLOW_STORE_MARKER = 'default_workflow_store'
module-attribute
¶
Name for the default context workflow store.
METADATA_DESTINY_STORE_MARKER = 'metadata'
module-attribute
¶
Name for the default context destiny store.
PIPELINE_PARENT_MARKER = '__pipeline__'
module-attribute
¶
Marker string in the pipeline structure that indicates a parent pipeline element.
DEFAULT_EXCLUDE_DIRS = ['.git', '.tox', '.cache']
module-attribute
¶
List of directory names to exclude by default when walking a folder recursively.
DEFAULT_EXCLUDE_FILES = ['.DS_Store']
module-attribute
¶
List of file names to exclude by default when reading folders.
VALID_PIPELINE_FILE_EXTENSIONS = ['yaml', 'yml', 'json']
module-attribute
¶
File extensions a kiara pipeline/workflow file can have.
MODULE_TYPE_NAME_KEY = 'module_type_name'
module-attribute
¶
The string for the module type name in a module configuration dict.
DEFAULT_PIPELINE_PARENT_ID = '__kiara__'
module-attribute
¶
Default parent id for pipeline objects that are not associated with a workflow.
DEFAULT_NO_DESC_VALUE = '-- n/a --'
module-attribute
¶
KIARA_MODULE_METADATA_ATTRIBUTE = 'KIARA_METADATA'
module-attribute
¶
KIARA_DEFAULT_ROOT_NODE_ID = '__self__'
module-attribute
¶
DEFAULT_PRETTY_PRINT_CONFIG = {'max_no_rows': 32, 'max_row_height': 1, 'max_cell_length': 80}
module-attribute
¶
NO_HASH_MARKER = '--no-hash--'
module-attribute
¶
Marker string to indicate no hash was calculated.
NO_VALUE_ID_MARKER = '--no-value-id--'
module-attribute
¶
Marker string to indicate no value id exists.