curia.infra.types module

class curia.infra.types.TaskDeployResourceNamingConfig(platform_task_prefix: str, platform_workflow_prefix: str)

Bases: object

TaskDeployResourceNamingConfig(platform_task_prefix: str, platform_workflow_prefix: str)

platform_task_prefix: str
platform_workflow_prefix: str
class curia.infra.types.ContainerTaskDeployResourceNamingConfig(platform_task_prefix: str, platform_workflow_prefix: str, image_prefix: str)

Bases: TaskDeployResourceNamingConfig

ContainerTaskDeployResourceNamingConfig(platform_task_prefix: str, platform_workflow_prefix: str, image_prefix: str)

image_prefix: str
class curia.infra.types.DatabricksTaskDeployResourceNamingConfig(platform_task_prefix: str, platform_workflow_prefix: str, databricks_workflow_prefix: str)

Bases: TaskDeployResourceNamingConfig

DatabricksTaskDeployResourceNamingConfig(platform_task_prefix: str, platform_workflow_prefix: str, databricks_workflow_prefix: str)

databricks_workflow_prefix: str
class curia.infra.types.TaskType(value)

Bases: Enum

Enum for the different types of tasks. Should match the types defined in type.setter in curia/api/swagger_client/models/task.py, along with an Abstract type that specifies that the task is not a concrete task type, but rather a base class for other task types.

ABSTRACT = 'Abstract'
DATAQUERY = 'DataQuery'
CONTAINER = 'ContainerExecution'
DATABRICKS = 'DatabricksJob'
class curia.infra.types.DatabricksTaskCodeSourceType(value)

Bases: Enum

Enum for the different types of code sources for databricks tasks. Currently supports S3WHEEL, PRIVATE_PYPI

S3WHEEL = 'S3WHEEL'
PRIVATE_PYPI = 'PRIVATE_PYPI'