Config (autotransform.schema.config)
A set of configuration options for a schema.
- class autotransform.schema.config.SchemaConfig(*, schema_name: str, allowed_validation_level: ValidationResultLevel = ValidationResultLevel.NONE, owners: List[str] = None)
Bases:
ComponentModel
An object containing all configuration information for a Schema.
- schema_name
The unique name of the schema.
- Type
str
- allowed_validation_level
The allowed level of validation issues. Any issues raised above this level will trigger exceptions. Defaults to ValidationResultLevel.NONE.
- Type
ValidationResultLevel, optional
- owners
The owners for the schema. Defaults to [].
- Type
List[str], optional
- allowed_validation_level: ValidationResultLevel
- static from_console(prev_config: Optional[SchemaConfig] = None) SchemaConfig
Gets a SchemaConfig using console inputs.
- Parameters
prev_config (Optional[SchemaConfig], optional) – A previously input SchemaConfig. Defaults to None.
- Returns
The input SchemaConfig.
- Return type
- owners: List[str]
- schema_name: str