dataframely.testing.create_schema#
- dataframely.testing.create_schema( ) type[Schema][source]#
Dynamically create a new schema with the provided name.
- Parameters:
name – The name of the schema.
columns – The columns to set on the schema. When properly defining the schema, this would be the annotations that define the column types.
rules – The custom non-column-specific validation rules. When properly defining the schema, this would be the functions annotated with
@dy.rule.
- Returns:
The dynamically created schema.