You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Going with a Pydantic Model would go a long way beyond a traditional dataclass towards helping with these, as well as auto-generation of the accompanying JSON schema (not to mention native type checking / input validation)
Yeah for the first round this will be mainly used internally, so I think that pydantic might bean overkill. Let's keep this in mind for future developments.
Simple
dataclass
for templates, including:Needs to be picklable and JSON-serializable
The text was updated successfully, but these errors were encountered: