Skip to content

Commit 84e9ad6

Browse files
committed
fix: Model swagger
1 parent bf7d5c2 commit 84e9ad6

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

apps/common/utils/common.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,3 +334,6 @@ def parse_image(content: str):
334334

335335
def generate_uuid(tag: str):
336336
return str(uuid.uuid5(uuid.NAMESPACE_DNS, tag))
337+
338+
def filter_workspace(query_list):
339+
return [q for q in query_list if q.name!="workspace_id"]

apps/models_provider/api/model.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ def get_query_params_api():
108108
required=True,
109109
)
110110
]
111+
@staticmethod
112+
def get_request():
113+
return []
111114

112115
@staticmethod
113116
def get_response():

0 commit comments

Comments
 (0)