SpiceQA
Questions
Tags
Users
Badges
python-typing
465 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
How do I annotate a function that takes AnyStr with a str default value?
user_744178
0
•
asked Feb 19, 2021
2
3
841
python-typing
mypy
python-3.x
python
How do I tell pytype that an instance is a subclass of an abstract base, but not the abstract base itself?
user_2085627
0
•
asked Feb 19, 2021
2
0
244
pytype
python-typing
abc
python
How do I suppress "has no attribute" errors from mypy when assigning a new attribute to a function?
user_1048456
0
•
asked Feb 18, 2021
5
1
3465
static-initialization
python-typing
mypy
typechecking
python
Getting a variable of Python type T from an Optional[T]
user_131433
0
•
asked Feb 14, 2021
2
1
702
python-typing
python-3.x
Use MyPy with typing.DefaultDict with fixed factory function
user_10135377
0
•
asked Feb 12, 2021
2
1
1606
defaultdict
python-typing
mypy
python-3.x
python
Pydantic model with data type field. Can't use Union, Optional, List
user_13466510
0
•
asked Feb 11, 2021
2
0
1141
python-typing
pydantic
python
Unexpected Optional behavior with Python3 typing and mypy
user_2649084
0
•
asked Feb 2, 2021
2
1
312
python-typing
mypy
type-hinting
python-3.x
python
Python typing signature for instance of subclass?
user_3422060
0
•
asked Jan 29, 2021
4
1
356
python-typing
mypy
python
Type hinting for a Callable that supports subclasses?
user_6812182
0
•
asked Jan 27, 2021
3
1
266
python-typing
python
Is collections.abc.Callable bugged in Python 3.9.1?
user_9835872
0
•
asked Jan 23, 2021
7
1
1362
python-3.9
python-collections
python-typing
python-3.x
python
Prev
Prev
32
33
34
(current)
35
36
Next
Next
Hot Questions