duo-labs / py_webauthn

Pythonic WebAuthn 🐍
https://duo-labs.github.io/py_webauthn
BSD 3-Clause "New" or "Revised" License
856 stars 171 forks source link

Type information not included in package #105

Closed Majsvaffla closed 2 years ago

Majsvaffla commented 2 years ago

Hello!

I'm using this package in a project where type annotations and type checking is used extensively. It's desirable that the sub-dependencies use type annotations as well.

py_webauthn does have type annotations but mypy doesn't seem to pick them up. It seems that the type annotations isn't packaged properly.

Would it be possible to package the type information as per PEP 561?

MasterKale commented 2 years ago

Hello @Majsvaffla, thank you for reporting this. I've just published py_webauthn@1.1.0 that should resolve this. Please give it a shot and let me know if it works for you 🙂

Majsvaffla commented 2 years ago

@MasterKale it works like a charm 👍 thanks for the speedy response 😃