Skip to content

SQLAlchemy autoflush warnings #3614

Open
@FrostyX

Description

From our testsuite:

tests/test_mail.py::TestMail::test_outdated_chroot_message
  /home/jkadlcik/git/copr/frontend/coprs_frontend/coprs/models.py:495: SAWarning: Object of type <MockChroot> not in session, add operation along 'DistGitBranch.chroots' will not proceed (This warning originated from the Session 'autoflus
h' process, which was invoked automatically in response to a user-initiated operation.)
    return self.group.at_name if self.is_a_group_project else self.user.name

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status

      In 3 months

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions