NowanIlfideme / pydantic-yaml

YAML support for Pydantic models
MIT License
138 stars 11 forks source link

Fix TypeError issue when parse List of objects #184

Open csrocha opened 3 months ago

csrocha commented 3 months ago

When try to parse List of objects fails with:

TypeError: issubclass() arg 1 must be a class

Check if model_type is a type before issubclass solve the issue.