Set integrate to false on the representation to avoid warnings logged by the Integrator

This commit is contained in:
Roy Nieterau 2025-03-05 17:40:07 +01:00
parent d887a21bf9
commit cb2c1b0329

View file

@ -87,6 +87,10 @@ class AttachReviewables(
)
repre.setdefault("tags", []).append("delete")
# Stop integrator from trying to integrate this instance
if attach_to:
instance.data["integrate"] = False
@classmethod
def get_attr_defs_for_instance(cls, create_context, instance):
# TODO: Check if instance is actually a 'reviewable'