From 8694624c748bced9624eb67284cc1588f1bd9243 Mon Sep 17 00:00:00 2001 From: Jitka Halova Date: Mon, 30 Nov 2026 12:09:11 +0100 Subject: [PATCH] Preload pulp_domain for publication simple index Fixes the deprecation warning from pulpcore 3.125.1 caused by ArtifactResponse receiving an artifact without a preloaded pulp_domain. Assisted By: Claude Opus 5.5 --- pulp_python/app/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pulp_python/app/models.py b/pulp_python/app/models.py index 0cb4ba30..79077c98 100644 --- a/pulp_python/app/models.py +++ b/pulp_python/app/models.py @@ -114,6 +114,7 @@ def content_handler(self, path): publication.published_artifact.select_related( "content_artifact", "content_artifact__artifact", + "content_artifact__artifact__pulp_domain", ) .get(relative_path=rel_path) .content_artifact