How can I find all hybrid attributes of a SQLAlchemy model?
I need to find a way to get a list of all hybrid properties of SQLAlchemy models.
For relationships in a Person instance, I can do something like:
from sqlalchemy.inspection import inspect
inspect(person.__class__).relationships
Is there something like:
inspect(person.__class__).hybrid_properties
+3
source to share