Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typeshed/stubs/paho-mqtt/paho/mqtt/client.pyi does not include properties added in v2.1.0 #1812

Open
martinherrerias opened this issue Oct 16, 2024 · 1 comment

Comments

@martinherrerias
Copy link

Causes errors of the type: "No attribute 'host' on paho.mqtt.client.Client [attribute-error]"

See: eclipse/paho.mqtt.python@cc63088

@frigus02
Copy link
Contributor

Looks like typeshed shipped in pytype is about 7 months old: https://github.com/python/typeshed/tree/a4cc79fbecac8d981152950dfad5cf625e0ac5ec. We should update that again. Can't make any promises about the timeline unfortunately.

I haven't tried it myself yet, but https://google.github.io/pytype/ says you can use the TYPESHED_HOME environment variable to point pytype to a custom checkout of typeshed. That should work as a workaround in the meantime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants