User model with optional fields.
| 19 | |
| 20 | |
| 21 | class User(BaseModel): |
| 22 | """User model with optional fields.""" |
| 23 | id: int |
| 24 | name: str |
| 25 | email: str |
| 26 | age: int | None = None |
| 27 | active: bool = True |
| 28 | address: Address | None = None |
| 29 | |
| 30 | |
| 31 | class Product(BaseModel): |
no outgoing calls
no test coverage detected
searching dependent graphs…