Skip to content

Commit

Permalink
v0.4.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Bre77 committed Feb 25, 2024
1 parent 8d692ae commit 167b472
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="tesla_fleet_api",
version="0.4.5",
version="0.4.6",
author="Brett Adams",
author_email="hello@teslemetry.com",
description="Tesla Fleet API library for Python",
Expand Down
6 changes: 3 additions & 3 deletions tesla_fleet_api/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
class TeslaFleetError(BaseException):
"""Base class for all Tesla exceptions."""

message: str = "An unknown error has occured."
status: int | None
data: dict | None
message: str = "An unknown error has occurred."
status: int | None = None
data: dict | None = None

def __init__(self, data: dict | None = None, status: int | None = None):
self.data = data
Expand Down

0 comments on commit 167b472

Please sign in to comment.