Running Engine in Docker causes dysfunctional SQLAlchemy ('property' object has no attribute 'query')
engine | File "/srv/src/scheduling/models.py", line 431, in is_empty
engine | return not DB.session.query(Playlist).one_or_none()
engine | AttributeError: 'property' object has no attribute 'query'
Reported by @Roman.
Edited by David Trattnig