Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions backend/python/app/sources/external/microsoft/teams/teams.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


import json
import logging
from dataclasses import asdict
Expand Down Expand Up @@ -176,7 +174,9 @@ async def teams_team_get_team(self, team_id: str, select: Optional[List[str]] =
if skip:
query_params.skip = skip
config = TeamsRequestBuilder.TeamsRequestBuilderGetRequestConfiguration(query_parameters=query_params)
response = await self.client.teams.by_team_id(team_id).get(request_configuration=config)
# Localize attribute lookups
teams_proxy = self.client.teams
response = await teams_proxy.by_team_id(team_id).get(request_configuration=config)
return self._handle_teams_response(response)
except Exception as e:
logger.error(f"Error in teams_team_get_team: {e}")
Expand Down