Questions
Linux
Laravel
Mysql
Ubuntu
Git
Menu
HTML
CSS
JAVASCRIPT
SQL
PYTHON
PHP
BOOTSTRAP
JAVA
JQUERY
R
React
Kotlin
×
Linux
Laravel
Mysql
Ubuntu
Git
New posts in python-typing
Type hinting the return value of a class method that returns self?
Jan 27, 2026
python
python-typing
Pylance: unexpected type inference for a union of two list types
Jan 25, 2026
python
python-typing
pyright
Create dataclass instance from union type based on string literal
Jan 24, 2026
python
mypy
python-typing
python-dataclasses
Python: type-hinting a classmethod that returns an instance of the class, for a class that is inherited
Jan 24, 2026
python
python-typing
mypy
Python Decorator for Async and Sync Function without code duplication
Jan 21, 2026
python
python-asyncio
python-typing
python-decorators
Correct type annotation for a celery task
Jan 21, 2026
python
celery
python-typing
How to annotate a dataclass' attribute as another dataclass' object?
Jan 21, 2026
python
python-typing
python-dataclasses
How to type hint variable that is initially None but is guaranteed to get a value
Jan 20, 2026
python
python-typing
How to get an abstract dataclass to pass mypy?
Jan 19, 2026
python
mypy
python-typing
python-dataclasses
abstract-base-class
Python3 pickle: Expected type 'SupportsWrite[bytes]', got 'BinaryIO' instead
Jan 18, 2026
python
pycharm
pickle
python-typing
What is the proper way to type hint the return value of an @asynccontextmanager?
Jan 01, 2026
python
python-asyncio
python-typing
contextmanager
pyright
How to implement type hinting for DataFrame
Jan 03, 2026
python
dataframe
python-typing
python-polars
If there are multiple possible return values, should pyright automatically infer the right one, based on the passed arguments?
Jan 02, 2026
python
python-typing
pyright
Dealing with lack of non-null assertion operator in Python
Jan 02, 2026
python
mypy
python-typing
Correct way to hint that a class is implementing a Protocol?
Jan 02, 2026
python
python-typing
Annotate decorator with ParamSpec correctly using new typing syntax (3.12)
Dec 31, 2025
python
pycharm
python-typing
python-3.12
How to override a class __init__ method while keeping the types
Dec 31, 2025
python
mypy
python-typing
Pydantic model fields with typing.Optional[] vs. typing.Optional[] = None
Dec 31, 2025
python
python-typing
pydantic
Older Entries »