Skip to content

Commit

Permalink
fix: add load default to US NativeTypeSchema (#359)
Browse files Browse the repository at this point in the history
  • Loading branch information
ovsds authored Mar 4, 2024
1 parent 7e8d5fd commit 17467e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
class NativeTypeSchema(Schema):
"""(currently used for uploads / ProviderConnection)"""

conn_type = DynamicEnumField(ConnectionType, by_value=True)
conn_type = DynamicEnumField(ConnectionType, by_value=True, load_default=ConnectionType.unknown)
name = fields.String()

@post_load(pass_many=False)
Expand Down

0 comments on commit 17467e0

Please sign in to comment.