Skip to content

Commit

Permalink
Remove command protocol checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Bre77 committed Jan 20, 2024
1 parent 9311f17 commit c26fcfa
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 92 deletions.
2 changes: 0 additions & 2 deletions tesla_fleet_api/teslafleetapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def __init__(
self,
session: aiohttp.ClientSession,
access_token: str,
use_command_protocol: bool = False,
region: str | None = None,
server: str | None = None,
raise_for_status: bool = True,
Expand All @@ -38,7 +37,6 @@ def __init__(

self.session = session
self.access_token = access_token
self.use_command_protocol = use_command_protocol

if region and not server and region not in SERVERS:
raise ValueError(f"Region must be one of {', '.join(SERVERS.keys())}")
Expand Down
Loading

0 comments on commit c26fcfa

Please sign in to comment.