Closed simongregorebner closed 2 years ago
Hi, thanks for your contribution! :)
Considering the asyncio.run()
method, I agree with your change.
For the imports, I actually would like to keep the original version: All elements of the "public API" of this library are re-exported by the knxdclient
module itself (via the __init__.py
file) and its more like an implementation detailt, that they are spread over different modules inside the package.
Sorry, for some reasons I missed the imports in the __init__.py
... and I thought you intentionally restructured the package and require the explicit imports from the different submodules. Sure this way the import changes doesn't make sense!
Probably best you drop this pull request and simply fix the asyncio.run()
I noticed that there were actually classes missing in the re-exports, which have been required for the type annotations in the example. I fixed this on the master branch now and included your fix for the run()
method.