Skip to content

Commit

Permalink
Fix missing OperationalStatusChangedData arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
suda committed Jun 26, 2023
1 parent 6ee51d5 commit a25cdeb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![Downloads](https://static.pepy.tech/personalized-badge/longship?period=total&units=international_system&left_color=blue&right_color=green&left_text=Downloads)](https://pepy.tech/project/longship)


A client library for accessing Longship API
A client library for accessing [Longship](https://www.longship.io/) API

## Usage
First, create a client:
Expand Down
7 changes: 4 additions & 3 deletions longship/types.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from enum import Enum
from typing import Union
from typing import Optional, Union

import attr

Expand Down Expand Up @@ -39,9 +39,10 @@ class OperationalStatusChangedData:
status: ConnectorOperationalStatusDtoOperationalStatus
errorcode: str
connectornumber: int
locationid: str
evseid: str
statussource: str
locationid: Optional[str] = attr.ib(default=None)
evseid: Optional[str] = attr.ib(default=None)
vendorid: 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 = "2023.06.26"
version = "2023.06.27"
description = "A client library for accessing Longship API"

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

0 comments on commit a25cdeb

Please sign in to comment.