mirror of
https://github.com/clearml/clearml-server
synced 2025-03-03 10:43:10 +00:00
Fix projects.get_all_ex with active_users filtering did not work if the project id was passed as a string and not list
This commit is contained in:
parent
53c9b5525e
commit
3451ff441f
@ -102,6 +102,8 @@ def get_all_ex(call: APICall, company_id: str, request: ProjectsGetRequest):
|
||||
conform_tag_fields(call, data)
|
||||
allow_public = not request.non_public
|
||||
requested_ids = data.get("id")
|
||||
if isinstance(requested_ids, str):
|
||||
requested_ids = [requested_ids]
|
||||
_adjust_search_parameters(
|
||||
data, shallow_search=request.shallow_search,
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user