SpiceQA
Questions
Tags
Users
Badges
mypy
578 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
Is it a best practice to always use a concrete type (List, Tuple, etc.) for a return value instead of an abstract type (Sequence, Iterable)?
user_518853
0
•
asked Aug 4, 2021
3
1
209
mypy
typing
python
Type annotations for base and inherited classes - is Generic and TypeVar the right approach?
user_3217306
0
•
asked Aug 4, 2021
2
1
1581
python-typing
mypy
type-hinting
python
generics
Mypy - why does TypeVar not work without bound specified
user_10274322
0
•
asked Jul 31, 2021
2
2
1269
mypy
python
Linting to enforce PEP-585
user_5795091
0
•
asked Jul 30, 2021
2
0
110
pep585
python-3.9
python-typing
mypy
python
What is the type hint for Pytest's "caplog" fixture?
user_4590710
0
•
asked Jul 29, 2021
8
2
1833
mypy
pytest
python
Mypy Assertions on the Types of Types
user_11612399
0
•
asked Jul 27, 2021
2
2
924
mypy
python
Narrowing argument types based on overload variants in MyPy
user_5816208
0
•
asked Jul 26, 2021
2
0
234
mypy
python
Return subclass when return type is TypeVar
user_4451315
0
•
asked Jul 24, 2021
2
0
80
python-typing
mypy
type-hinting
python
How to type hint a tuple of callables when the default is empty
user_4391249
0
•
asked Jul 23, 2021
3
2
384
mypy
python
How do I define a Python Protocol for a type that is Callable with any number of keyword arguments of Any type?
user_9301089
0
•
asked Jul 23, 2021
2
3
986
mypy
python-3.x
python
Prev
Prev
25
26
27
(current)
28
29
Next
Next
Hot Questions