Georgy Pliev
Georgy Pliev
**Is your feature request related to a problem? Please describe.** No **Describe the solution you'd like** I would like to have class **Formdata** with which it would be possible to...
```python import msgspec class User(msgspec.Struct, omit_defaults=True): id: int name: str city: str = msgspec.field(default="Aurora") user = User(id=1, name="John") print(user) # User(id=1, name='John', city='Aurora') print(msgspec.to_builtins(user)) # {'id': 1, 'name': 'John'} user2...
**Code or Screenshots** ```python type Foo[T: Foo] = T def func[T](x: Foo[T]) -> T: ... ```
**Describe the bug** Type inference does not change when narrowing to a union of concrete and protocol types that define identical method signatures. **Code or Screenshots** ```python import typing @typing.runtime_checkable...
```python import typing class Foo: @typing.overload def asdf( self, a: str, *, c: bool | None = None, ) -> None: ... @typing.overload def asdf( self, a: int, b: float,...
### Description this regression appeared in Pyright `1.1.395` and was fixed in version `1.1.396`. starting from version `1.28.0`, `basedpyright` is based on Pyright `1.1.396`, but the issue remains. unfortunately, i...
### Пример кода ```python logger.debug(middleware_error) ```