Skip to content

Commit deb892e

Browse files
committed
removed excessive error
1 parent aad8b40 commit deb892e

15 files changed

+60
-60
lines changed

ftc_api/api/alliance_selection/get_v_2_0_season_alliances_event_code.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def sync_detailed(
5555
season: int,
5656
event_code: Optional[str],
5757
*,
58-
client: AuthenticatedClient,
58+
client: Union[AuthenticatedClient, Client],
5959
) -> Response[Union[AllianceSelection, Any]]:
6060
"""Event Alliances
6161
@@ -90,7 +90,7 @@ def sync(
9090
season: int,
9191
event_code: Optional[str],
9292
*,
93-
client: AuthenticatedClient,
93+
client: Union[AuthenticatedClient, Client],
9494
) -> Optional[Union[AllianceSelection, Any]]:
9595
"""Event Alliances
9696
@@ -120,7 +120,7 @@ async def asyncio_detailed(
120120
season: int,
121121
event_code: Optional[str],
122122
*,
123-
client: AuthenticatedClient,
123+
client: Union[AuthenticatedClient, Client],
124124
) -> Response[Union[AllianceSelection, Any]]:
125125
"""Event Alliances
126126
@@ -153,7 +153,7 @@ async def asyncio(
153153
season: int,
154154
event_code: Optional[str],
155155
*,
156-
client: AuthenticatedClient,
156+
client: Union[AuthenticatedClient, Client],
157157
) -> Optional[Union[AllianceSelection, Any]]:
158158
"""Event Alliances
159159

ftc_api/api/alliance_selection/get_v_2_0_season_alliances_event_code_selection.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def sync_detailed(
5555
season: int,
5656
event_code: Optional[str],
5757
*,
58-
client: AuthenticatedClient,
58+
client: Union[AuthenticatedClient, Client],
5959
) -> Response[Union[AllianceSelectionDetails, Any]]:
6060
"""Alliance Selection Details
6161
@@ -90,7 +90,7 @@ def sync(
9090
season: int,
9191
event_code: Optional[str],
9292
*,
93-
client: AuthenticatedClient,
93+
client: Union[AuthenticatedClient, Client],
9494
) -> Optional[Union[AllianceSelectionDetails, Any]]:
9595
"""Alliance Selection Details
9696
@@ -120,7 +120,7 @@ async def asyncio_detailed(
120120
season: int,
121121
event_code: Optional[str],
122122
*,
123-
client: AuthenticatedClient,
123+
client: Union[AuthenticatedClient, Client],
124124
) -> Response[Union[AllianceSelectionDetails, Any]]:
125125
"""Alliance Selection Details
126126
@@ -153,7 +153,7 @@ async def asyncio(
153153
season: int,
154154
event_code: Optional[str],
155155
*,
156-
client: AuthenticatedClient,
156+
client: Union[AuthenticatedClient, Client],
157157
) -> Optional[Union[AllianceSelectionDetails, Any]]:
158158
"""Alliance Selection Details
159159

ftc_api/api/awards/get_v2_0_season_awards_list.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def _build_response(
5252
def sync_detailed(
5353
season: int,
5454
*,
55-
client: AuthenticatedClient,
55+
client: Union[AuthenticatedClient, Client],
5656
) -> Response[Union[Any, AwardList]]:
5757
"""Award Listings
5858
@@ -86,7 +86,7 @@ def sync_detailed(
8686
def sync(
8787
season: int,
8888
*,
89-
client: AuthenticatedClient,
89+
client: Union[AuthenticatedClient, Client],
9090
) -> Optional[Union[Any, AwardList]]:
9191
"""Award Listings
9292
@@ -115,7 +115,7 @@ def sync(
115115
async def asyncio_detailed(
116116
season: int,
117117
*,
118-
client: AuthenticatedClient,
118+
client: Union[AuthenticatedClient, Client],
119119
) -> Response[Union[Any, AwardList]]:
120120
"""Award Listings
121121
@@ -147,7 +147,7 @@ async def asyncio_detailed(
147147
async def asyncio(
148148
season: int,
149149
*,
150-
client: AuthenticatedClient,
150+
client: Union[AuthenticatedClient, Client],
151151
) -> Optional[Union[Any, AwardList]]:
152152
"""Award Listings
153153

ftc_api/api/awards/get_v_2_0_season_awards_event_code.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def sync_detailed(
6363
season: int,
6464
event_code: Optional[str] = "",
6565
*,
66-
client: AuthenticatedClient,
66+
client: Union[AuthenticatedClient, Client],
6767
team_number: Union[Unset, None, int] = 0,
6868
) -> Response[Union[Any, AwardAssignmentList]]:
6969
"""Event Awards
@@ -107,7 +107,7 @@ def sync(
107107
season: int,
108108
event_code: Optional[str] = "",
109109
*,
110-
client: AuthenticatedClient,
110+
client: Union[AuthenticatedClient, Client],
111111
team_number: Union[Unset, None, int] = 0,
112112
) -> Optional[Union[Any, AwardAssignmentList]]:
113113
"""Event Awards
@@ -146,7 +146,7 @@ async def asyncio_detailed(
146146
season: int,
147147
event_code: Optional[str] = "",
148148
*,
149-
client: AuthenticatedClient,
149+
client: Union[AuthenticatedClient, Client],
150150
team_number: Union[Unset, None, int] = 0,
151151
) -> Response[Union[Any, AwardAssignmentList]]:
152152
"""Event Awards
@@ -188,7 +188,7 @@ async def asyncio(
188188
season: int,
189189
event_code: Optional[str] = "",
190190
*,
191-
client: AuthenticatedClient,
191+
client: Union[AuthenticatedClient, Client],
192192
team_number: Union[Unset, None, int] = 0,
193193
) -> Optional[Union[Any, AwardAssignmentList]]:
194194
"""Event Awards

ftc_api/api/awards/get_v_2_0_season_awards_event_code_team_number.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def sync_detailed(
5858
event_code: Optional[str] = "",
5959
team_number: int = 0,
6060
*,
61-
client: AuthenticatedClient,
61+
client: Union[AuthenticatedClient, Client],
6262
) -> Response[Union[Any, AwardAssignmentList]]:
6363
"""Event Awards
6464
@@ -102,7 +102,7 @@ def sync(
102102
event_code: Optional[str] = "",
103103
team_number: int = 0,
104104
*,
105-
client: AuthenticatedClient,
105+
client: Union[AuthenticatedClient, Client],
106106
) -> Optional[Union[Any, AwardAssignmentList]]:
107107
"""Event Awards
108108
@@ -141,7 +141,7 @@ async def asyncio_detailed(
141141
event_code: Optional[str] = "",
142142
team_number: int = 0,
143143
*,
144-
client: AuthenticatedClient,
144+
client: Union[AuthenticatedClient, Client],
145145
) -> Response[Union[Any, AwardAssignmentList]]:
146146
"""Event Awards
147147
@@ -183,7 +183,7 @@ async def asyncio(
183183
event_code: Optional[str] = "",
184184
team_number: int = 0,
185185
*,
186-
client: AuthenticatedClient,
186+
client: Union[AuthenticatedClient, Client],
187187
) -> Optional[Union[Any, AwardAssignmentList]]:
188188
"""Event Awards
189189

ftc_api/api/awards/get_v_2_0_season_awards_team_number.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def sync_detailed(
6363
season: int,
6464
team_number: int = 0,
6565
*,
66-
client: AuthenticatedClient,
66+
client: Union[AuthenticatedClient, Client],
6767
event_code: Union[Unset, None, str] = "",
6868
) -> Response[Union[Any, AwardAssignmentList]]:
6969
"""Event Awards
@@ -107,7 +107,7 @@ def sync(
107107
season: int,
108108
team_number: int = 0,
109109
*,
110-
client: AuthenticatedClient,
110+
client: Union[AuthenticatedClient, Client],
111111
event_code: Union[Unset, None, str] = "",
112112
) -> Optional[Union[Any, AwardAssignmentList]]:
113113
"""Event Awards
@@ -146,7 +146,7 @@ async def asyncio_detailed(
146146
season: int,
147147
team_number: int = 0,
148148
*,
149-
client: AuthenticatedClient,
149+
client: Union[AuthenticatedClient, Client],
150150
event_code: Union[Unset, None, str] = "",
151151
) -> Response[Union[Any, AwardAssignmentList]]:
152152
"""Event Awards
@@ -188,7 +188,7 @@ async def asyncio(
188188
season: int,
189189
team_number: int = 0,
190190
*,
191-
client: AuthenticatedClient,
191+
client: Union[AuthenticatedClient, Client],
192192
event_code: Union[Unset, None, str] = "",
193193
) -> Optional[Union[Any, AwardAssignmentList]]:
194194
"""Event Awards

ftc_api/api/leagues/get_v2_0_season_leagues.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def _build_response(
6363
def sync_detailed(
6464
season: int,
6565
*,
66-
client: AuthenticatedClient,
66+
client: Union[AuthenticatedClient, Client],
6767
region_code: Union[Unset, None, str] = UNSET,
6868
league_code: Union[Unset, None, str] = UNSET,
6969
) -> Response[Union[Any, LeagueList]]:
@@ -104,7 +104,7 @@ def sync_detailed(
104104
def sync(
105105
season: int,
106106
*,
107-
client: AuthenticatedClient,
107+
client: Union[AuthenticatedClient, Client],
108108
region_code: Union[Unset, None, str] = UNSET,
109109
league_code: Union[Unset, None, str] = UNSET,
110110
) -> Optional[Union[Any, LeagueList]]:
@@ -140,7 +140,7 @@ def sync(
140140
async def asyncio_detailed(
141141
season: int,
142142
*,
143-
client: AuthenticatedClient,
143+
client: Union[AuthenticatedClient, Client],
144144
region_code: Union[Unset, None, str] = UNSET,
145145
league_code: Union[Unset, None, str] = UNSET,
146146
) -> Response[Union[Any, LeagueList]]:
@@ -179,7 +179,7 @@ async def asyncio_detailed(
179179
async def asyncio(
180180
season: int,
181181
*,
182-
client: AuthenticatedClient,
182+
client: Union[AuthenticatedClient, Client],
183183
region_code: Union[Unset, None, str] = UNSET,
184184
league_code: Union[Unset, None, str] = UNSET,
185185
) -> Optional[Union[Any, LeagueList]]:

ftc_api/api/leagues/get_v_2_0_season_leagues_members_region_code_league_code.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def sync_detailed(
5858
region_code: Optional[str],
5959
league_code: Optional[str],
6060
*,
61-
client: AuthenticatedClient,
61+
client: Union[AuthenticatedClient, Client],
6262
) -> Response[Union[Any, LeagueMembers]]:
6363
"""League Membership
6464
@@ -96,7 +96,7 @@ def sync(
9696
region_code: Optional[str],
9797
league_code: Optional[str],
9898
*,
99-
client: AuthenticatedClient,
99+
client: Union[AuthenticatedClient, Client],
100100
) -> Optional[Union[Any, LeagueMembers]]:
101101
"""League Membership
102102
@@ -129,7 +129,7 @@ async def asyncio_detailed(
129129
region_code: Optional[str],
130130
league_code: Optional[str],
131131
*,
132-
client: AuthenticatedClient,
132+
client: Union[AuthenticatedClient, Client],
133133
) -> Response[Union[Any, LeagueMembers]]:
134134
"""League Membership
135135
@@ -165,7 +165,7 @@ async def asyncio(
165165
region_code: Optional[str],
166166
league_code: Optional[str],
167167
*,
168-
client: AuthenticatedClient,
168+
client: Union[AuthenticatedClient, Client],
169169
) -> Optional[Union[Any, LeagueMembers]]:
170170
"""League Membership
171171

ftc_api/api/leagues/get_v_2_0_season_leagues_rankings_region_code_league_code.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def sync_detailed(
5858
region_code: Optional[str],
5959
league_code: Optional[str],
6060
*,
61-
client: AuthenticatedClient,
61+
client: Union[AuthenticatedClient, Client],
6262
) -> Response[Union[Any, EventRankingList]]:
6363
"""League Rankings
6464
@@ -97,7 +97,7 @@ def sync(
9797
region_code: Optional[str],
9898
league_code: Optional[str],
9999
*,
100-
client: AuthenticatedClient,
100+
client: Union[AuthenticatedClient, Client],
101101
) -> Optional[Union[Any, EventRankingList]]:
102102
"""League Rankings
103103
@@ -131,7 +131,7 @@ async def asyncio_detailed(
131131
region_code: Optional[str],
132132
league_code: Optional[str],
133133
*,
134-
client: AuthenticatedClient,
134+
client: Union[AuthenticatedClient, Client],
135135
) -> Response[Union[Any, EventRankingList]]:
136136
"""League Rankings
137137
@@ -168,7 +168,7 @@ async def asyncio(
168168
region_code: Optional[str],
169169
league_code: Optional[str],
170170
*,
171-
client: AuthenticatedClient,
171+
client: Union[AuthenticatedClient, Client],
172172
) -> Optional[Union[Any, EventRankingList]]:
173173
"""League Rankings
174174

ftc_api/api/match_results/get_v_2_0_season_scores_event_code_tournament_level.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def sync_detailed(
7878
event_code: Optional[str],
7979
tournament_level: Optional[GetV20SeasonScoresEventCodeTournamentLevelTournamentLevel],
8080
*,
81-
client: AuthenticatedClient,
81+
client: Union[AuthenticatedClient, Client],
8282
team_number: Union[Unset, None, int] = UNSET,
8383
match_number: Union[Unset, None, int] = UNSET,
8484
start: Union[Unset, None, int] = 0,
@@ -130,7 +130,7 @@ def sync(
130130
event_code: Optional[str],
131131
tournament_level: Optional[GetV20SeasonScoresEventCodeTournamentLevelTournamentLevel],
132132
*,
133-
client: AuthenticatedClient,
133+
client: Union[AuthenticatedClient, Client],
134134
team_number: Union[Unset, None, int] = UNSET,
135135
match_number: Union[Unset, None, int] = UNSET,
136136
start: Union[Unset, None, int] = 0,
@@ -177,7 +177,7 @@ async def asyncio_detailed(
177177
event_code: Optional[str],
178178
tournament_level: Optional[GetV20SeasonScoresEventCodeTournamentLevelTournamentLevel],
179179
*,
180-
client: AuthenticatedClient,
180+
client: Union[AuthenticatedClient, Client],
181181
team_number: Union[Unset, None, int] = UNSET,
182182
match_number: Union[Unset, None, int] = UNSET,
183183
start: Union[Unset, None, int] = 0,
@@ -227,7 +227,7 @@ async def asyncio(
227227
event_code: Optional[str],
228228
tournament_level: Optional[GetV20SeasonScoresEventCodeTournamentLevelTournamentLevel],
229229
*,
230-
client: AuthenticatedClient,
230+
client: Union[AuthenticatedClient, Client],
231231
team_number: Union[Unset, None, int] = UNSET,
232232
match_number: Union[Unset, None, int] = UNSET,
233233
start: Union[Unset, None, int] = 0,

0 commit comments

Comments
 (0)