Skip doc attributes in annotations but not in fields (#6035)
When deploying an Executor inside a Flow with a BaseDoc model that has any attribute with a ClassVar value, the service would fail to initialize because the Gateway could not properly create the schemas. We have fixed this by securing access to __fields__ when dynamically creating these pydantic models.
🤟 Contributors
We would like to thank all contributors to this release:
Release Note
This release contains 1 bug fix.
🐞 Bug Fixes
Skip doc attributes in annotations but not in fields (#6035)
When deploying an Executor inside a Flow with a
BaseDoc
model that has any attribute with aClassVar
value, the service would fail to initialize because the Gateway could not properly create the schemas. We have fixed this by securing access to__fields__
when dynamically creating these pydantic models.🤟 Contributors
We would like to thank all contributors to this release: