Skip to content

Commit

Permalink
Fix the ValueError
Browse files Browse the repository at this point in the history
  • Loading branch information
suda committed Mar 14, 2024
1 parent a33ae32 commit 21ba39d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions longship/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,13 @@ class SessionStopData(SessionUpdateData):
@attr.s(auto_attribs=True)
class CDRCreatedData:
chargepointid: str
locationid: Optional[str] = attr.ib(default=None)
evseid: Optional[str] = attr.ib(default=None)
connectornumber: int
totalenergyinkwh: float
totalduration: str
totalcosts: float
transactionid: str
locationid: Optional[str] = attr.ib(default=None)
evseid: Optional[str] = attr.ib(default=None)


@attr.s(auto_attribs=True)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "longship"
version = "2024.03.14"
version = "2024.03.15"
description = "A client library for accessing Longship API"

authors = ["Wojtek Siudzinski <admin@suda.pl>"]
Expand Down

0 comments on commit 21ba39d

Please sign in to comment.