Skip to content

Commit

Permalink
removed excessive error
Browse files Browse the repository at this point in the history
  • Loading branch information
arihant2math committed Oct 17, 2023
1 parent aad8b40 commit deb892e
Show file tree
Hide file tree
Showing 15 changed files with 60 additions and 60 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def sync_detailed(
season: int,
event_code: Optional[str],
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
) -> Response[Union[AllianceSelection, Any]]:
"""Event Alliances
Expand Down Expand Up @@ -90,7 +90,7 @@ def sync(
season: int,
event_code: Optional[str],
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
) -> Optional[Union[AllianceSelection, Any]]:
"""Event Alliances
Expand Down Expand Up @@ -120,7 +120,7 @@ async def asyncio_detailed(
season: int,
event_code: Optional[str],
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
) -> Response[Union[AllianceSelection, Any]]:
"""Event Alliances
Expand Down Expand Up @@ -153,7 +153,7 @@ async def asyncio(
season: int,
event_code: Optional[str],
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
) -> Optional[Union[AllianceSelection, Any]]:
"""Event Alliances
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def sync_detailed(
season: int,
event_code: Optional[str],
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
) -> Response[Union[AllianceSelectionDetails, Any]]:
"""Alliance Selection Details
Expand Down Expand Up @@ -90,7 +90,7 @@ def sync(
season: int,
event_code: Optional[str],
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
) -> Optional[Union[AllianceSelectionDetails, Any]]:
"""Alliance Selection Details
Expand Down Expand Up @@ -120,7 +120,7 @@ async def asyncio_detailed(
season: int,
event_code: Optional[str],
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
) -> Response[Union[AllianceSelectionDetails, Any]]:
"""Alliance Selection Details
Expand Down Expand Up @@ -153,7 +153,7 @@ async def asyncio(
season: int,
event_code: Optional[str],
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
) -> Optional[Union[AllianceSelectionDetails, Any]]:
"""Alliance Selection Details
Expand Down
8 changes: 4 additions & 4 deletions ftc_api/api/awards/get_v2_0_season_awards_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def _build_response(
def sync_detailed(
season: int,
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
) -> Response[Union[Any, AwardList]]:
"""Award Listings
Expand Down Expand Up @@ -86,7 +86,7 @@ def sync_detailed(
def sync(
season: int,
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
) -> Optional[Union[Any, AwardList]]:
"""Award Listings
Expand Down Expand Up @@ -115,7 +115,7 @@ def sync(
async def asyncio_detailed(
season: int,
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
) -> Response[Union[Any, AwardList]]:
"""Award Listings
Expand Down Expand Up @@ -147,7 +147,7 @@ async def asyncio_detailed(
async def asyncio(
season: int,
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
) -> Optional[Union[Any, AwardList]]:
"""Award Listings
Expand Down
8 changes: 4 additions & 4 deletions ftc_api/api/awards/get_v_2_0_season_awards_event_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def sync_detailed(
season: int,
event_code: Optional[str] = "",
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
team_number: Union[Unset, None, int] = 0,
) -> Response[Union[Any, AwardAssignmentList]]:
"""Event Awards
Expand Down Expand Up @@ -107,7 +107,7 @@ def sync(
season: int,
event_code: Optional[str] = "",
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
team_number: Union[Unset, None, int] = 0,
) -> Optional[Union[Any, AwardAssignmentList]]:
"""Event Awards
Expand Down Expand Up @@ -146,7 +146,7 @@ async def asyncio_detailed(
season: int,
event_code: Optional[str] = "",
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
team_number: Union[Unset, None, int] = 0,
) -> Response[Union[Any, AwardAssignmentList]]:
"""Event Awards
Expand Down Expand Up @@ -188,7 +188,7 @@ async def asyncio(
season: int,
event_code: Optional[str] = "",
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
team_number: Union[Unset, None, int] = 0,
) -> Optional[Union[Any, AwardAssignmentList]]:
"""Event Awards
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def sync_detailed(
event_code: Optional[str] = "",
team_number: int = 0,
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
) -> Response[Union[Any, AwardAssignmentList]]:
"""Event Awards
Expand Down Expand Up @@ -102,7 +102,7 @@ def sync(
event_code: Optional[str] = "",
team_number: int = 0,
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
) -> Optional[Union[Any, AwardAssignmentList]]:
"""Event Awards
Expand Down Expand Up @@ -141,7 +141,7 @@ async def asyncio_detailed(
event_code: Optional[str] = "",
team_number: int = 0,
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
) -> Response[Union[Any, AwardAssignmentList]]:
"""Event Awards
Expand Down Expand Up @@ -183,7 +183,7 @@ async def asyncio(
event_code: Optional[str] = "",
team_number: int = 0,
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
) -> Optional[Union[Any, AwardAssignmentList]]:
"""Event Awards
Expand Down
8 changes: 4 additions & 4 deletions ftc_api/api/awards/get_v_2_0_season_awards_team_number.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def sync_detailed(
season: int,
team_number: int = 0,
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
event_code: Union[Unset, None, str] = "",
) -> Response[Union[Any, AwardAssignmentList]]:
"""Event Awards
Expand Down Expand Up @@ -107,7 +107,7 @@ def sync(
season: int,
team_number: int = 0,
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
event_code: Union[Unset, None, str] = "",
) -> Optional[Union[Any, AwardAssignmentList]]:
"""Event Awards
Expand Down Expand Up @@ -146,7 +146,7 @@ async def asyncio_detailed(
season: int,
team_number: int = 0,
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
event_code: Union[Unset, None, str] = "",
) -> Response[Union[Any, AwardAssignmentList]]:
"""Event Awards
Expand Down Expand Up @@ -188,7 +188,7 @@ async def asyncio(
season: int,
team_number: int = 0,
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
event_code: Union[Unset, None, str] = "",
) -> Optional[Union[Any, AwardAssignmentList]]:
"""Event Awards
Expand Down
8 changes: 4 additions & 4 deletions ftc_api/api/leagues/get_v2_0_season_leagues.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def _build_response(
def sync_detailed(
season: int,
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
region_code: Union[Unset, None, str] = UNSET,
league_code: Union[Unset, None, str] = UNSET,
) -> Response[Union[Any, LeagueList]]:
Expand Down Expand Up @@ -104,7 +104,7 @@ def sync_detailed(
def sync(
season: int,
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
region_code: Union[Unset, None, str] = UNSET,
league_code: Union[Unset, None, str] = UNSET,
) -> Optional[Union[Any, LeagueList]]:
Expand Down Expand Up @@ -140,7 +140,7 @@ def sync(
async def asyncio_detailed(
season: int,
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
region_code: Union[Unset, None, str] = UNSET,
league_code: Union[Unset, None, str] = UNSET,
) -> Response[Union[Any, LeagueList]]:
Expand Down Expand Up @@ -179,7 +179,7 @@ async def asyncio_detailed(
async def asyncio(
season: int,
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
region_code: Union[Unset, None, str] = UNSET,
league_code: Union[Unset, None, str] = UNSET,
) -> Optional[Union[Any, LeagueList]]:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def sync_detailed(
region_code: Optional[str],
league_code: Optional[str],
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
) -> Response[Union[Any, LeagueMembers]]:
"""League Membership
Expand Down Expand Up @@ -96,7 +96,7 @@ def sync(
region_code: Optional[str],
league_code: Optional[str],
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
) -> Optional[Union[Any, LeagueMembers]]:
"""League Membership
Expand Down Expand Up @@ -129,7 +129,7 @@ async def asyncio_detailed(
region_code: Optional[str],
league_code: Optional[str],
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
) -> Response[Union[Any, LeagueMembers]]:
"""League Membership
Expand Down Expand Up @@ -165,7 +165,7 @@ async def asyncio(
region_code: Optional[str],
league_code: Optional[str],
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
) -> Optional[Union[Any, LeagueMembers]]:
"""League Membership
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def sync_detailed(
region_code: Optional[str],
league_code: Optional[str],
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
) -> Response[Union[Any, EventRankingList]]:
"""League Rankings
Expand Down Expand Up @@ -97,7 +97,7 @@ def sync(
region_code: Optional[str],
league_code: Optional[str],
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
) -> Optional[Union[Any, EventRankingList]]:
"""League Rankings
Expand Down Expand Up @@ -131,7 +131,7 @@ async def asyncio_detailed(
region_code: Optional[str],
league_code: Optional[str],
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
) -> Response[Union[Any, EventRankingList]]:
"""League Rankings
Expand Down Expand Up @@ -168,7 +168,7 @@ async def asyncio(
region_code: Optional[str],
league_code: Optional[str],
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
) -> Optional[Union[Any, EventRankingList]]:
"""League Rankings
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def sync_detailed(
event_code: Optional[str],
tournament_level: Optional[GetV20SeasonScoresEventCodeTournamentLevelTournamentLevel],
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
team_number: Union[Unset, None, int] = UNSET,
match_number: Union[Unset, None, int] = UNSET,
start: Union[Unset, None, int] = 0,
Expand Down Expand Up @@ -130,7 +130,7 @@ def sync(
event_code: Optional[str],
tournament_level: Optional[GetV20SeasonScoresEventCodeTournamentLevelTournamentLevel],
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
team_number: Union[Unset, None, int] = UNSET,
match_number: Union[Unset, None, int] = UNSET,
start: Union[Unset, None, int] = 0,
Expand Down Expand Up @@ -177,7 +177,7 @@ async def asyncio_detailed(
event_code: Optional[str],
tournament_level: Optional[GetV20SeasonScoresEventCodeTournamentLevelTournamentLevel],
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
team_number: Union[Unset, None, int] = UNSET,
match_number: Union[Unset, None, int] = UNSET,
start: Union[Unset, None, int] = 0,
Expand Down Expand Up @@ -227,7 +227,7 @@ async def asyncio(
event_code: Optional[str],
tournament_level: Optional[GetV20SeasonScoresEventCodeTournamentLevelTournamentLevel],
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
team_number: Union[Unset, None, int] = UNSET,
match_number: Union[Unset, None, int] = UNSET,
start: Union[Unset, None, int] = 0,
Expand Down
8 changes: 4 additions & 4 deletions ftc_api/api/rankings/get_v_2_0_season_rankings_event_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def sync_detailed(
season: int,
event_code: Optional[str],
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
team_number: Union[Unset, None, int] = 0,
top: Union[Unset, None, int] = 0,
) -> Response[Union[Any, EventRankingList]]:
Expand Down Expand Up @@ -110,7 +110,7 @@ def sync(
season: int,
event_code: Optional[str],
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
team_number: Union[Unset, None, int] = 0,
top: Union[Unset, None, int] = 0,
) -> Optional[Union[Any, EventRankingList]]:
Expand Down Expand Up @@ -149,7 +149,7 @@ async def asyncio_detailed(
season: int,
event_code: Optional[str],
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
team_number: Union[Unset, None, int] = 0,
top: Union[Unset, None, int] = 0,
) -> Response[Union[Any, EventRankingList]]:
Expand Down Expand Up @@ -191,7 +191,7 @@ async def asyncio(
season: int,
event_code: Optional[str],
*,
client: AuthenticatedClient,
client: Union[AuthenticatedClient, Client],
team_number: Union[Unset, None, int] = 0,
top: Union[Unset, None, int] = 0,
) -> Optional[Union[Any, EventRankingList]]:
Expand Down
Loading

0 comments on commit deb892e

Please sign in to comment.