Skip to content

Commit

Permalink
fix: Fix Optional issue (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuyKh authored Aug 15, 2024
1 parent 4a719a8 commit 13645f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions iec_api/iec_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,8 @@ async def send_consumption_report_to_mail(
self,
email: str,
contract_id: Optional[str | int] = None,
device_id: Optional(str | int) = None,
device_code: Optional(str | int) = None
device_id: Optional[str | int] = None,
device_code: Optional[str | int] = None
) -> bool:
"""
Send Consumption Report to Mail
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 = "iec-api"
version = "0.4.0"
version = "0.4.1"
description = "A Python wrapper for Israel Electric Company API"
authors = ["GuyKh"]
license = "MIT"
Expand Down

0 comments on commit 13645f8

Please sign in to comment.