Skip to content
Sign up
Why GitHub?
Features
Mobile
Actions
Codespaces
Packages
Security
Code review
Issues
Integrations
GitHub Sponsors
Customer stories
Team
Enterprise
Explore
Explore GitHub
Learn and contribute
Topics
Collections
Trending
Learning Lab
Open source guides
Connect with others
The ReadME Project
Events
Community forum
GitHub Education
GitHub Stars program
Marketplace
Pricing
Plans
Compare plans
Contact Sales
Education
In this repository
All GitHub
↵
Jump to
↵
No suggested jump to results
In this repository
All GitHub
↵
Jump to
↵
In this organization
All GitHub
↵
Jump to
↵
In this repository
All GitHub
↵
Jump to
↵
Sign in
Sign up
{{ message }}
python
/
typing
Public
Notifications
Fork
191
Star
1.1k
Code
Issues
88
Pull requests
3
Discussions
Actions
Security
Insights
More
Code
Issues
Pull requests
Discussions
Actions
Security
Insights
Pinned Discussions
📣
Announcements
Welcome to Python Type School!
srittau
New
Top:
All
Today
Past week
Past month
Past year
All
Label
Filter by label
Filter
Answered
Unanswered
All
Categories
View all
📣
Announcements
💬
General
🙏
Q&A
👩🏫
Reviews
Code of conduct
typing.readthedocs.io
Discussions
6
💬
Redundant type specification for attributes
dvarrazzo
started
Feb 8, 2022
in
General
8
1
🙏
Strategies for Optional attributes that become non-Optional during runtime?
jeremyn
asked
Aug 19, 2021
in
Q&A
· Answered
13
4
🙏
PEP 612 clarification: ParamSpec that captures a method signature
erictraut
asked
Nov 17, 2021
in
Q&A
· Unanswered
2
1
🙏
ClassVar in protocols: mypy and pyright have different opinions
tvannahl
asked
Feb 4, 2022
in
Q&A
· Answered
17
1
🙏
function parameter typing
dineshbvadhia
asked
Jan 30, 2022
in
Q&A
· Unanswered
3
2
🙏
runtime inspection of GenericAlias / typing._GenericAlias as an acceptable practice
zzzeek
asked
Jan 27, 2022
in
Q&A
· Answered
16
1
🙏
Typing list comprehensions (Py 3.9 and Py 3.10)
dineshbvadhia
asked
Jan 25, 2022
in
Q&A
· Answered
4
1
🙏
What is signal type?
dineshbvadhia
asked
Jan 21, 2022
in
Q&A
· Answered
7
1
🙏
Is it possible to define a protocol for a method?
tobinus
asked
Jan 19, 2022
in
Q&A
· Answered
9
1
🙏
how to correctly create a dict subclass with typing
zzzeek
asked
Jan 17, 2022
in
Q&A
· Answered
11
1
🙏
How to properly type methods that return Generators with subclasses?
DanielNoord
asked
Jan 18, 2022
in
Q&A
· Answered
4
1
🙏
Static type assertions for testing
whitphx
asked
Jan 17, 2022
in
Q&A
· Unanswered
20
1
🙏
How to annotate a variable referring to an already defined function?
geeshta
asked
Jan 18, 2022
in
Q&A
· Answered
1
4
💬
Type narrowing for TypeGuard in the negative case
erictraut
started
Jan 6, 2022
in
General
4
1
🙏
what is typeshed's approach for libraries that radically change their API across major versions?
zzzeek
asked
Jan 14, 2022
in
Q&A
· Answered
9
2
🙏
how to type a function that returns new classes without writing a mypy plugin?
zzzeek
asked
Jan 12, 2022
in
Q&A
· Answered
14
1
🙏
my subclass returns a different type for a method that's only on the superclass. how to type?
zzzeek
asked
Jan 8, 2022
in
Q&A
· Answered
1
1
💬
Type aliases with missing type arguments
erictraut
started
Jan 6, 2022
in
General
4
2
🙏
Looking to implmement a 'Group' of types
Sriram137
asked
Jan 4, 2022
in
Q&A
· Answered
2
1
🙏
How to type a function that always return a list?
cdce8p
asked
Dec 26, 2021
in
Q&A
· Answered
4
1
🙏
does pep-646 let me make a MyTuple[_T, ...] of Element[_T] or am i misunderstanding
zzzeek
asked
Jan 2, 2022
in
Q&A
· Answered
2
2
🙏
my official "why can't there be nested generics" question
zzzeek
asked
Jan 1, 2022
in
Q&A
· Answered
2
2
💬
Some thoughts on `Union[X, NoReturn]`
tusharsadhwani
started
Dec 26, 2021
in
General
10
1
💬
Tuple with ellipsis
AlfreG
started
Dec 24, 2021
in
General
2
1
🙏
[question] How can I compare function signatures in the `typing.Callable` syntax to `inspect.signature` syntax>
sg-s
asked
Dec 22, 2021
in
Q&A
· Unanswered
4
Previous
1
2
3
Next
You can’t perform that action at this time.
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.