Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 2.19 KB

File metadata and controls

42 lines (33 loc) · 2.19 KB

MigrationConfig

Configuration for a namespace migration.

Properties

Name Type Description Notes
migration_type MigrationType Type of migration to perform
source_namespace_id str Source namespace ID
target_namespace_id str Target namespace ID (auto-generated if not provided) [optional]
target_namespace_name str Name for target namespace [optional]
feature_extractors List[SharedNamespacesMigrationsModelsFeatureExtractorConfig] New extractors to use (RE_EXTRACT only) [optional]
filters ResourceFilter Resource selection filters [optional]
batch_options BatchOptions Batch processing options [optional]
taxonomy_options TaxonomyOptions Taxonomy migration options [optional]
cluster_options ClusterOptions Cluster migration options [optional]
retriever_options RetrieverOptions Retriever migration options [optional]
preserve_resource_ids bool Preserve original resource IDs in target [optional] [default to False]
dry_run bool Validate only, don't execute [optional] [default to False]
webhook_url str Webhook URL for status notifications [optional]

Example

from mixpeek.models.migration_config import MigrationConfig

# TODO update the JSON string below
json = "{}"
# create an instance of MigrationConfig from a JSON string
migration_config_instance = MigrationConfig.from_json(json)
# print the JSON string representation of the object
print(MigrationConfig.to_json())

# convert the object into a dict
migration_config_dict = migration_config_instance.to_dict()
# create an instance of MigrationConfig from a dict
migration_config_from_dict = MigrationConfig.from_dict(migration_config_dict)

[Back to Model list] [Back to API list] [Back to README]