Closed ketiltrout closed 2 years ago
When using a layout.Component instance to look up a layout.Connexion we appear to have been affected by https://github.com/coleifer/peewee/issues/2304 which was fixed in Peewee 3.14.1.
layout.Component
layout.Connexion
This was most noticeable when using from_pair(comp1, comp2).
from_pair(comp1, comp2)
This bug is also the reason we had to make this fix: https://github.com/chime-experiment/ch_util_private/pull/34 (which didn't make any sense to me at the time)
Peewee-2 was not affected by this bug, which is why this code worked when we originally created the layout API.
Nice detective work!
When using a
layout.Component
instance to look up alayout.Connexion
we appear to have been affected by https://github.com/coleifer/peewee/issues/2304 which was fixed in Peewee 3.14.1.This was most noticeable when using
from_pair(comp1, comp2)
.This bug is also the reason we had to make this fix: https://github.com/chime-experiment/ch_util_private/pull/34 (which didn't make any sense to me at the time)
Peewee-2 was not affected by this bug, which is why this code worked when we originally created the layout API.