Skip to content

Commit

Permalink
populate default but empty TableMigrationConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
rbiseck3 committed Jan 7, 2025
1 parent 9541db9 commit d0731f9
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)


Expand Down

0 comments on commit d0731f9

Please sign in to comment.