mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
linting fix _get_group_ids_from_graph_api_response
This commit is contained in:
parent
edf403b537
commit
b64216ae3a
1 changed files with 3 additions and 2 deletions
|
@ -1065,8 +1065,9 @@ class MicrosoftSSOHandler:
|
||||||
) -> List[str]:
|
) -> List[str]:
|
||||||
group_ids = []
|
group_ids = []
|
||||||
for _object in response.get("value", []) or []:
|
for _object in response.get("value", []) or []:
|
||||||
if _object.get("id") is not None:
|
_group_id = _object.get("id")
|
||||||
group_ids.append(_object.get("id"))
|
if _group_id is not None:
|
||||||
|
group_ids.append(_group_id)
|
||||||
return group_ids
|
return group_ids
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue