Skip to content

Commit

Permalink
fix enum
Browse files Browse the repository at this point in the history
  • Loading branch information
giancarloromeo committed Nov 5, 2024
1 parent c74b2b2 commit 7b7d020
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def set_default_thumbnail_if_empty(cls, v, values):
"examples": [
{
"name": "My awesome cluster",
"type": ClusterType.ON_PREMISE.value, # can use also values from equivalent enum
"type": f"{ClusterType.ON_PREMISE}", # can use also values from equivalent enum
"endpoint": "https://registry.osparc-development.fake.dev",
"authentication": {
"type": "simple",
Expand All @@ -56,7 +56,7 @@ def set_default_thumbnail_if_empty(cls, v, values):
{
"name": "My AWS cluster",
"description": "a AWS cluster administered by me",
"type": ClusterType.AWS.value,
"type": f"{ClusterType.AWS}",
"owner": 154,
"endpoint": "https://registry.osparc-development.fake.dev",
"authentication": {
Expand Down

0 comments on commit 7b7d020

Please sign in to comment.