Instantiate pydantic model without optional fields
The following code shows a pylance (pyright) error for AModel()
of Argument missing for parameter "field_b"
:
The following code shows a pylance (pyright) error for AModel()
of Argument missing for parameter "field_b"
: