transformationconfig¶
Pydantic Transformation Configuration Data Model.
A transformation status data model is provided as well.
This data model represents what should be returned from the strategy's status()
method.
PriorityEnum
¶
Bases: str
, Enum
Defining process priority enumerators.
Process priorities:
- Low
- Medium
- High
Source code in oteapi/models/transformationconfig.py
16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
|
TransformationConfig
¶
Bases: GenericConfig
Transformation Strategy Data Configuration.
Source code in oteapi/models/transformationconfig.py
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
|
due: Optional[datetime] = Field(None, description='Optional field to indicate a due data/time for when a transformation should finish.')
class-attribute
¶
name: Optional[str] = Field(None, description='Human-readable name of the transformation strategy.')
class-attribute
¶
priority: Optional[PriorityEnum] = Field(PriorityEnum.MEDIUM, description='Define the process priority of the transformation execution.')
class-attribute
¶
secret: Optional[str] = Field(None, description='Authorization secret given when running a transformation.')
class-attribute
¶
transformationType: str = Field(Ellipsis, description='Type of registered transformation strategy. E.g., `celery/remote`.')
class-attribute
¶
TransformationStatus
¶
Bases: BaseModel
Return from transformation status.
Source code in oteapi/models/transformationconfig.py
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 |
|