Skip to content

Commit

Permalink
Fix parsing of geography and non breaking changes fields
Browse files Browse the repository at this point in the history
  • Loading branch information
malikdiarra committed Jun 23, 2023
1 parent 1c81c0d commit dd49302
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions octavia-cli/octavia_cli/apply/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@
from airbyte_api_client.model.destination_read import DestinationRead
from airbyte_api_client.model.destination_sync_mode import DestinationSyncMode
from airbyte_api_client.model.destination_update import DestinationUpdate
from airbyte_api_client.model.geography import Geography
from airbyte_api_client.model.namespace_definition_type import NamespaceDefinitionType
from airbyte_api_client.model.non_breaking_changes_preference import NonBreakingChangesPreference
from airbyte_api_client.model.operation_create import OperationCreate
from airbyte_api_client.model.operator_configuration import OperatorConfiguration
from airbyte_api_client.model.operator_dbt import OperatorDbt
Expand Down Expand Up @@ -631,6 +633,8 @@ def _deserialize_raw_configuration(self):
self._check_for_legacy_connection_configuration_keys(configuration)
configuration["sync_catalog"] = self._create_configured_catalog(configuration["sync_catalog"])
configuration["namespace_definition"] = NamespaceDefinitionType(configuration["namespace_definition"])
configuration["non_breaking_changes_preference"] = NonBreakingChangesPreference(configuration["non_breaking_changes_preference"])
configuration["geography"] = Geography(configuration["geography"])

if "schedule_type" in configuration:
# If schedule type is manual we do not expect a schedule_data field to be set
Expand Down

0 comments on commit dd49302

Please sign in to comment.