Skip to content

Commit 13645f8

Browse files
authored
fix: Fix Optional issue (#127)
1 parent 4a719a8 commit 13645f8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: iec_api/iec_client.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,8 @@ async def send_consumption_report_to_mail(
275275
self,
276276
email: str,
277277
contract_id: Optional[str | int] = None,
278-
device_id: Optional(str | int) = None,
279-
device_code: Optional(str | int) = None
278+
device_id: Optional[str | int] = None,
279+
device_code: Optional[str | int] = None
280280
) -> bool:
281281
"""
282282
Send Consumption Report to Mail

Diff for: pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "iec-api"
3-
version = "0.4.0"
3+
version = "0.4.1"
44
description = "A Python wrapper for Israel Electric Company API"
55
authors = ["GuyKh"]
66
license = "MIT"

0 commit comments

Comments
 (0)