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.
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.