Skip to content

Commit

Permalink
Simplify MySkodaAuthorization
Browse files Browse the repository at this point in the history
Co-authored-by: Fabrice Devaux <fabrice.devaux@gmail.com>
  • Loading branch information
WebSpider and dvx76 authored Feb 27, 2025
1 parent c9ee60e commit fc469e6
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions myskoda/myskoda.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,17 +78,9 @@ async def trace_response(


class MySkodaAuthorization(Authorization):
@property
def client_id(self) -> str: # noqa:D102
return CLIENT_ID

@property
def redirect_uri(self) -> str: # noqa:D102
return REDIRECT_URI

@property
def base_url(self) -> str: # noqa:D102
return BASE_URL_SKODA
client_id: str = CLIENT_ID
redirect_uri: str = REDIRECT_URI
base_url: str = BASE_URL_SKODA


class MySkoda:
Expand Down

0 comments on commit fc469e6

Please sign in to comment.