https://prefect.io logo
Title
s

Simon

05/26/2023, 2:31 PM
One of my flow module imports itself imports our SQLAlchemy ORM models. When deployment.build_from_flow is run it throws this error (posted as a reply here). SQLAlchemy version is 1.4.46 Prefect version is 2.10.11 Python version is 3.11.2 I have tried decorating the
class AnnotationAirtable(Base)
declaration with typing.@runtime_checkable, but received the same error. I have tried separating the flow import with another module as a buffer (in desperation, to try to stop the ORM model import from happening!), also to no avail.
Untitled
It turns out that the error does not occur with Python 3.10.