Joan Puig
Results
2
issues of
Joan Puig
**Describe the bug** Generated classes create code that errors with TypeError: non-default argument 'XYZ' follows default argument. **To Reproduce** ``` Example schema: openapi: 3.0.0 components: schemas: Error: type: object description:...
### Summary The following code: ```py from dataclasses import dataclass from typing import Optional, Self @dataclass(frozen=True) class MyClass: field: Optional[Self] = None MyClass(MyClass()) ``` reports the following, which I believe...
typing semantics