load_project(schema, datasets, validation_mode)
Deploy the project schema and datasets to the API. Tears down existing datasets before applying the new schema and datasets.
Properties
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
schema | Schema | The schema to deploy. | ||
datasets | list[Dataset] | The datasets to deploy. | ||
validation_mode | VALIDATION_MODE | <optional> | VALIDATION_MODE.PROMPT | How to handle mismatches between deployment and existing datasets. See `VALIDATION_MODE`. |
Returns:
None
- Type
- None
Raises:
ValueError- If duplicate class names are found across datasets.