Search code examples
Why is Sequence an unsupported operand type for + in mypy?...

pythonpython-typingmypy

Read More
enumerate causes incompatible type mypy error...

pythonpython-typingmypyenumerate

Read More
Why is a property on a subclass, that returns a type consistent with the same attribute on the super...

pythoninheritancepython-typingmypy

Read More
Should Typing.Optional be used if the default value of the parameter is not None?...

pythonpython-typingmypy

Read More
Mypy + FastAPI response_model...

pythonfastapipython-typingmypy

Read More
How do you add type hints for a function with specific keyword arguments?...

pythonpython-typingmypy

Read More
Why does typing variable length Tuple require ellipses but List does not?...

pythonpython-typing

Read More
How to use np.empty inside numba compiled function; Error message "All templates rejected"...

pythonnumpypython-typingnumba

Read More
Python typing - is there a way to avoid importing of optional type if it's None?...

pythonpython-typingmypypypi

Read More
How can you test that a python typing Protocol is a subclass of another Protocol?...

pythoninheritanceprotocolspython-typing

Read More
Why does AbstractSet not include union and intersection?...

pythonsetpython-typingabc

Read More
Python typings and futures...

pythonpython-asynciofuturepython-typingconcurrent.futures

Read More
Can you specify variance in a Python type annotation?...

pythonpython-typingmypycovariance

Read More
__slots__ conflicts with a class variable in a generic class...

pythonpython-typingslots

Read More
Best base type which support `in` operator?...

pythonpython-typing

Read More
Reference class type in dataclass definition...

pythonpython-typingpython-dataclasses

Read More
Typing, custom collection type...

pythoncounterpython-typing

Read More
Python enum meta making typing module crash...

pythonenumspython-typing

Read More
what does argument "bound" mean in typing.TypeVar?...

pythonpython-typing

Read More
Why doesn't parameter type "Dict[str, Union[str, int]]" accept value of type "Dic...

pythonpython-typingmypy

Read More
Example code from typing library causes TypeError: 'type' object is not subscriptable, why?...

pythonpython-typing

Read More
Cast and type env variables using file...

pythonpython-typing

Read More
Python typing for a tuple...

pythonpython-typing

Read More
TypeError: '_SpecialGenericAlias' object does not support item assignment...

pythonpython-typing

Read More
When does Callable lack __module__?...

pythonpycharmpython-typingstructural-typing

Read More
How do I use generic typing with PyQt subclass without metaclass conflicts?...

pythonpyqt5python-typingpyside2metaclass

Read More
How to annotate attribute that can be implemented as property?...

pythonpython-typingmypy

Read More
How to type the __new__ method in a Python metaclass so that mypy is happy...

pythonpython-typingmetaclass

Read More
Is there a preferable way to create type aliases for compound types with Python's typing module?...

pythonpython-typing

Read More
Recursive type annotations...

pythonpython-typing

Read More
BackNext