Skip to content

Commit 2ccde22

Browse files
committed
clusers
1 parent c211ea8 commit 2ccde22

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

api/specs/web-server/_common.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"""
33

44
import inspect
5-
import pprint
65
import sys
76
from collections.abc import Callable
87
from pathlib import Path
@@ -95,7 +94,6 @@ def as_query(model_class: type[BaseModel]) -> type[BaseModel]:
9594
fields[field_name] = (annotation, Query(default=field_default, **query_kwargs))
9695

9796
new_model_name = f"{model_class.__name__}Query"
98-
pprint.pprint(fields)
9997
return create_model(new_model_name, **fields)
10098

10199

api/specs/web-server/openapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"_announcements",
3232
"_catalog", # < ---- FIXME: Invalid args for response field! Hint: check that <class 'models_library.api_schemas_webserver.catalog.ServiceResourcesGet'> is a valid Pydantic field type
3333
"_catalog_tags", # after _catalog
34-
# "_cluster", # <--- FIXME: :TypeError: unhashable type: 'ClusterAccessRights'
34+
"_cluster", # <--- FIXME: :TypeError: unhashable type: 'ClusterAccessRights'
3535
"_computations",
3636
"_exporter",
3737
"_folders",

0 commit comments

Comments
 (0)