fix: Model swagger
This commit is contained in:
parent
bf7d5c2e61
commit
ca070d7466
@ -334,3 +334,6 @@ def parse_image(content: str):
|
|||||||
|
|
||||||
def generate_uuid(tag: str):
|
def generate_uuid(tag: str):
|
||||||
return str(uuid.uuid5(uuid.NAMESPACE_DNS, tag))
|
return str(uuid.uuid5(uuid.NAMESPACE_DNS, tag))
|
||||||
|
|
||||||
|
def filter_workspace(query_list):
|
||||||
|
return [q for q in query_list if q.name!="workspace_id"]
|
||||||
@ -108,6 +108,9 @@ class GetModelApi(APIMixin):
|
|||||||
required=True,
|
required=True,
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
|
@staticmethod
|
||||||
|
def get_request():
|
||||||
|
return []
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_response():
|
def get_response():
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user