diff --git a/unstructured_ingest/v2/processes/connectors/databricks/volumes_native.py b/unstructured_ingest/v2/processes/connectors/databricks/volumes_native.py index 390695be..f7c1a3d9 100644 --- a/unstructured_ingest/v2/processes/connectors/databricks/volumes_native.py +++ b/unstructured_ingest/v2/processes/connectors/databricks/volumes_native.py @@ -118,8 +118,9 @@ def get_cursor( class DatabricksNativeVolumesUploaderConfig(DatabricksVolumesUploaderConfig): - table_migration_config: Optional[TableMigrationConfig] = Field( - description="Configuration for migrating data to a table in Databricks", default=None + table_migration_config: TableMigrationConfig = Field( + description="Configuration for migrating data to a table in Databricks", + default_factory=TableMigrationConfig, )