]> git.ipfire.org Git - pbs.git/commit
builds: Break some dependency cycle somewhere
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 5 Feb 2025 17:27:59 +0000 (17:27 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 5 Feb 2025 17:37:50 +0000 (17:37 +0000)
commitd44c58f52d933530908b07647b32d9b340b7ecfe
tree00189530499c3606334f3ae005ae9ad4e27f04dd
parentc6d3b1b175e9ea2c624b631b6eeab23c8e0a74dd
builds: Break some dependency cycle somewhere

SQLAlchemy failed to load alljobs in Builds and I could not quite figure
out why. It seems that when both properties that form the relationship
should be fetched in a single join, nothing happens and SQLAlchemy does
not even seem to complain about it. Oh well.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/buildservice/builds.py