Skip to content

Commit 6bc91b8

Browse files
committed
Update InelsMqtt publish callback type signature
1 parent 2665b4e commit 6bc91b8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

inelsmqtt/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class InelsMqtt:
3434
def __init__(
3535
self,
3636
publish: Callable[
37-
[str, str | bytes | int | float | None, int | None, bool | None],
37+
[str, str, int, bool],
3838
Coroutine[Any, Any, None],
3939
],
4040
subscribe: Callable[

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "elkoep-aio-mqtt"
7-
version = "0.1.0.beta.3"
7+
version = "0.1.0.beta.4"
88
description = "Python library for iNELS mqtt protocol"
99
readme = "README.md"
1010
requires-python = ">=3.10"

0 commit comments

Comments
 (0)