questdb / py-questdb-client

Python client for QuestDB InfluxDB Line Protocol
https://py-questdb-client.readthedocs.io
Apache License 2.0
55 stars 10 forks source link

module resolve issue - everything imports as type Any #58

Closed Misery42 closed 8 months ago

Misery42 commented 11 months ago

image

How to import this module correct? Is there somthing that need to be fixed?

Using python 3.12 on Windows for development.

Later it runs on a Debian under Docker where typings are not needed.

amunra commented 8 months ago

Your import is just fine.

The module is implemented as a native extension in cython. It's quite possible that this is a tooling limitation where it can't introspect into the module.

Hopefully the documentation is clear enough even if code completion might not fully work in this instance.