Closed Jollyfant closed 5 years ago
Something like this.. but it's not working..
join(orm.Routing, orm.Routing.channel_epoch_ref == orm.ChannelEpoch.oid).\
join(orm.Endpoint, orm.Routing.endpoint_ref == orm.Endpoint.oid).\
join(orm.Service, orm.Endpoint.service_ref == orm.Service.oid).\
join(orm.Network, orm.ChannelEpoch.network_ref == orm.Network.oid).\
join(orm.Station, orm.ChannelEpoch.station_ref == orm.Station.oid).\
join(orm.StationEpoch, orm.StationEpoch.station_ref == orm.Station.oid).\
Hi @Jollyfant,
thx. The bug is reproducible for me. However, SQLAlchemy==1.3.0b1
is still indicated as a beta release.
I've got already a fix. Some checks, and we should be fine.
Hi, I was reinstalling the Federator with Docker and it is now raising errors with the newest update of SQLAlchemy (1.3.0b1 @ 2018-11-17). It seems to be because of this change:
https://docs.sqlalchemy.org/en/latest/changelog/changelog_13.html#change-1.3.0b1 (look for #4365)
Here is the full error:
I guess we need to explicitly tell the ORM what field to join on? https://github.com/EIDA/mediatorws/blob/ebf528666e7a8be5664fff2bdb66a0c2e554c72d/eidangservices/stationlite/engine/dbquery.py#L154-L159