Skip to content

Commit

Permalink
refactoring/bug fixes and updated CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
arihant2math committed Jan 2, 2023
1 parent e7c2b70 commit bffda50
Show file tree
Hide file tree
Showing 62 changed files with 60 additions and 77 deletions.
3 changes: 1 addition & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@
## 0.1.0
* Merged `Client` with `AuthenticatedClient` using `AuthenticatedClient` is now deprecated
* Added support for creating a Client with a username and access key
* Removed `attrs` as a dependency
* Added support for [ftcstats](https://ftcstats.org)
* Various bug fixes and internal changes
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from ... import errors
from ...client import Client
from ...models.alliance_selection import AllianceSelection
from ...types import Response
from ..._types import Response


def _get_kwargs(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from ... import errors
from ...client import Client
from ...models.alliance_selection_details import AllianceSelectionDetails
from ...types import Response
from ..._types import Response


def _get_kwargs(
Expand Down
2 changes: 1 addition & 1 deletion ftc_api/api/awards/get_v2_0_season_awards_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from ... import errors
from ...client import Client
from ...models.award_list import AwardList
from ...types import Response
from ..._types import Response


def _get_kwargs(
Expand Down
2 changes: 1 addition & 1 deletion 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 @@ -6,7 +6,7 @@
from ... import errors
from ...client import Client
from ...models.award_assignment_list import AwardAssignmentList
from ...types import UNSET, Response, Unset
from ..._types import UNSET, Response, Unset


def _get_kwargs(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from ... import errors
from ...client import Client
from ...models.award_assignment_list import AwardAssignmentList
from ...types import Response
from ..._types import Response


def _get_kwargs(
Expand Down
2 changes: 1 addition & 1 deletion 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 @@ -6,7 +6,7 @@
from ... import errors
from ...client import Client
from ...models.award_assignment_list import AwardAssignmentList
from ...types import UNSET, Response, Unset
from ..._types import UNSET, Response, Unset


def _get_kwargs(
Expand Down
2 changes: 1 addition & 1 deletion ftc_api/api/general/get_v2_0.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from ... import errors
from ...client import Client
from ...models.api_information import APIInformation
from ...types import Response
from ..._types import Response


def _get_kwargs(
Expand Down
2 changes: 1 addition & 1 deletion ftc_api/api/leagues/get_v2_0_season_leagues.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from ... import errors
from ...client import Client
from ...models.league_list import LeagueList
from ...types import UNSET, Response, Unset
from ..._types import UNSET, Response, Unset


def _get_kwargs(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from ... import errors
from ...client import Client
from ...models.league_members import LeagueMembers
from ...types import Response
from ..._types import Response


def _get_kwargs(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from ... import errors
from ...client import Client
from ...models.event_ranking_list import EventRankingList
from ...types import Response
from ..._types import Response


def _get_kwargs(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
GetV20SeasonScoresEventCodeTournamentLevelTournamentLevel,
)
from ...models.match_score_list import MatchScoreList
from ...types import UNSET, Response, Unset
from ..._types import UNSET, Response, Unset


def _get_kwargs(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from ... import errors
from ...client import Client
from ...models.event_ranking_list import EventRankingList
from ...types import UNSET, Response, Unset
from ..._types import UNSET, Response, Unset


def _get_kwargs(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
GetV20SeasonScheduleEventCodeTournamentLevelHybridTournamentLevel,
)
from ...models.hybrid_schedule import HybridSchedule
from ...types import UNSET, Response, Unset
from ..._types import UNSET, Response, Unset


def _get_kwargs(
Expand Down
2 changes: 1 addition & 1 deletion ftc_api/api/season_data/get_v2_0_season.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from ... import errors
from ...client import Client
from ...models.season_summary import SeasonSummary
from ...types import Response
from ..._types import Response


def _get_kwargs(
Expand Down
2 changes: 1 addition & 1 deletion ftc_api/api/season_data/get_v2_0_season_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from ... import errors
from ...client import Client
from ...models.event_list import EventList
from ...types import UNSET, Response, Unset
from ..._types import UNSET, Response, Unset


def _get_kwargs(
Expand Down
2 changes: 1 addition & 1 deletion ftc_api/api/season_data/get_v2_0_season_teams.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from ... import errors
from ...client import Client
from ...models.team_list import TeamList
from ...types import UNSET, Response, Unset
from ..._types import UNSET, Response, Unset


def _get_kwargs(
Expand Down
16 changes: 0 additions & 16 deletions ftc_api/ftc_stats.py

This file was deleted.

2 changes: 1 addition & 1 deletion ftc_api/models/alliance.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import attr

from ..types import UNSET, Unset
from .._types import UNSET, Unset

T = TypeVar("T", bound="Alliance")

Expand Down
2 changes: 1 addition & 1 deletion ftc_api/models/alliance_selection.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import attr

from ..types import UNSET, Unset
from .._types import UNSET, Unset

if TYPE_CHECKING:
from ..models.alliance import Alliance
Expand Down
2 changes: 1 addition & 1 deletion ftc_api/models/alliance_selection_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import attr

from ..types import UNSET, Unset
from .._types import UNSET, Unset

if TYPE_CHECKING:
from ..models.selection import Selection
Expand Down
2 changes: 1 addition & 1 deletion ftc_api/models/api_information.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import attr

from ..types import UNSET, Unset
from .._types import UNSET, Unset

T = TypeVar("T", bound="APIInformation")

Expand Down
2 changes: 1 addition & 1 deletion ftc_api/models/award.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import attr

from ..types import UNSET, Unset
from .._types import UNSET, Unset

T = TypeVar("T", bound="Award")

Expand Down
2 changes: 1 addition & 1 deletion ftc_api/models/award_assignment.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import attr

from ..types import UNSET, Unset
from .._types import UNSET, Unset

T = TypeVar("T", bound="AwardAssignment")

Expand Down
2 changes: 1 addition & 1 deletion ftc_api/models/award_assignment_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import attr

from ..types import UNSET, Unset
from .._types import UNSET, Unset

if TYPE_CHECKING:
from ..models.award_assignment import AwardAssignment
Expand Down
2 changes: 1 addition & 1 deletion ftc_api/models/award_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import attr

from ..types import UNSET, Unset
from .._types import UNSET, Unset

if TYPE_CHECKING:
from ..models.award import Award
Expand Down
2 changes: 1 addition & 1 deletion ftc_api/models/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import attr
from dateutil.parser import isoparse

from ..types import UNSET, Unset
from .._types import UNSET, Unset

T = TypeVar("T", bound="Event")

Expand Down
2 changes: 1 addition & 1 deletion ftc_api/models/event_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import attr

from ..types import UNSET, Unset
from .._types import UNSET, Unset

if TYPE_CHECKING:
from ..models.event import Event
Expand Down
2 changes: 1 addition & 1 deletion ftc_api/models/event_ranking_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import attr

from ..types import UNSET, Unset
from .._types import UNSET, Unset

if TYPE_CHECKING:
from ..models.team_ranking import TeamRanking
Expand Down
2 changes: 1 addition & 1 deletion ftc_api/models/freight_frenzy_alliance_score_breakdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from ..models.auto_navigated_status import AutoNavigatedStatus
from ..models.barcode_element import BarcodeElement
from ..models.endgame_parked_status import EndgameParkedStatus
from ..types import UNSET, Unset
from .._types import UNSET, Unset

T = TypeVar("T", bound="FreightFrenzyAllianceScoreBreakdown")

Expand Down
2 changes: 1 addition & 1 deletion ftc_api/models/freight_frenzy_alliance_score_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import attr

from ..models.ftc_event_level import FTCEventLevel
from ..types import UNSET, Unset
from .._types import UNSET, Unset

if TYPE_CHECKING:
from ..models.freight_frenzy_alliance_score_breakdown import FreightFrenzyAllianceScoreBreakdown
Expand Down
2 changes: 1 addition & 1 deletion ftc_api/models/freight_frenzy_remote_score_breakdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from ..models.auto_navigated_status import AutoNavigatedStatus
from ..models.barcode_element import BarcodeElement
from ..models.endgame_parked_status import EndgameParkedStatus
from ..types import UNSET, Unset
from .._types import UNSET, Unset

T = TypeVar("T", bound="FreightFrenzyRemoteScoreBreakdown")

Expand Down
2 changes: 1 addition & 1 deletion ftc_api/models/freight_frenzy_single_team_score_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import attr

from ..models.ftc_event_level import FTCEventLevel
from ..types import UNSET, Unset
from .._types import UNSET, Unset

if TYPE_CHECKING:
from ..models.freight_frenzy_remote_score_breakdown import FreightFrenzyRemoteScoreBreakdown
Expand Down
2 changes: 1 addition & 1 deletion ftc_api/models/hybrid_schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import attr

from ..types import UNSET, Unset
from .._types import UNSET, Unset

if TYPE_CHECKING:
from ..models.hybrid_schedule_match import HybridScheduleMatch
Expand Down
2 changes: 1 addition & 1 deletion ftc_api/models/hybrid_schedule_match.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import attr
from dateutil.parser import isoparse

from ..types import UNSET, Unset
from .._types import UNSET, Unset

if TYPE_CHECKING:
from ..models.hybrid_schedule_team import HybridScheduleTeam
Expand Down
2 changes: 1 addition & 1 deletion ftc_api/models/hybrid_schedule_team.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import attr

from ..types import UNSET, Unset
from .._types import UNSET, Unset

T = TypeVar("T", bound="HybridScheduleTeam")

Expand Down
2 changes: 1 addition & 1 deletion ftc_api/models/league.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import attr

from ..types import UNSET, Unset
from .._types import UNSET, Unset

T = TypeVar("T", bound="League")

Expand Down
2 changes: 1 addition & 1 deletion ftc_api/models/league_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import attr

from ..types import UNSET, Unset
from .._types import UNSET, Unset

if TYPE_CHECKING:
from ..models.league import League
Expand Down
2 changes: 1 addition & 1 deletion ftc_api/models/league_members.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import attr

from ..types import UNSET, Unset
from .._types import UNSET, Unset

T = TypeVar("T", bound="LeagueMembers")

Expand Down
2 changes: 1 addition & 1 deletion ftc_api/models/match_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import attr
from dateutil.parser import isoparse

from ..types import UNSET, Unset
from .._types import UNSET, Unset

if TYPE_CHECKING:
from ..models.match_result_team import MatchResultTeam
Expand Down
2 changes: 1 addition & 1 deletion ftc_api/models/match_result_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import attr

from ..types import UNSET, Unset
from .._types import UNSET, Unset

if TYPE_CHECKING:
from ..models.match_result import MatchResult
Expand Down
2 changes: 1 addition & 1 deletion ftc_api/models/match_result_team.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import attr

from ..types import UNSET, Unset
from .._types import UNSET, Unset

T = TypeVar("T", bound="MatchResultTeam")

Expand Down
2 changes: 1 addition & 1 deletion ftc_api/models/match_score_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import attr

from ..types import UNSET, Unset
from .._types import UNSET, Unset

if TYPE_CHECKING:
from ..models.freight_frenzy_alliance_score_details import FreightFrenzyAllianceScoreDetails
Expand Down
Loading

0 comments on commit bffda50

Please sign in to comment.