Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
add yet another cast for dacite
Browse files Browse the repository at this point in the history
  • Loading branch information
ccwienk committed Jun 18, 2021
1 parent 7f81199 commit cd4f42d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions bindings-python/gci/componentmodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,7 @@ def from_dict(
data=component_descriptor_dict,
config=dacite.Config(
cast=[
OciComponentNameMapping,
AccessType,
Provider,
ResourceType,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ component:
repositoryContexts:
- type: 'ociRegistry'
baseUrl: 'eu.gcr.io/gardener-project/components/dev'
componentNameMapping: 'urlPath'

provider: 'internal'

Expand Down

0 comments on commit cd4f42d

Please sign in to comment.