authlib / authlib/authlib

PEP-484 Type Hints

Open
#460 14 comments 52 reactions 0 assignees View on GitHub
good first issue in future
Dominant language
Python
Stars
5.4k
Forks
563
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**

We use python with strict typing at our organization which means we have to add a bunch of "type: ignore" comments wherever this library is used. Adding types would make working with this library much easier and require much less context switching between the docs and the editor thanks to autocomplete.

**Describe the solution you'd like**

I understand a bunch of functionality in this library is very hard to type (dynamic clients, etc.), so maybe this effort could start with the JOSE module.

**Describe alternatives you've considered**

Alternatively, type stubs for this library could be added to the [typeshed](https://github.com/python/typeshed) project but that is not ideal as it would be very easy for those to get out of sync.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.