From 263e48c75efc3f30bf65d27a0223828fa2c958c0 Mon Sep 17 00:00:00 2001 From: Satellite QE <115476073+Satellite-QE@users.noreply.github.com> Date: Tue, 9 Apr 2024 03:56:41 -0400 Subject: [PATCH] update entity object with parametrized server_config rather default (#1110) (cherry picked from commit 42f30208f429258134bc204090b230e722cdca0b) Co-authored-by: omkarkhatavkar --- nailgun/entity_mixins.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nailgun/entity_mixins.py b/nailgun/entity_mixins.py index 12dff93f..af05f1dc 100644 --- a/nailgun/entity_mixins.py +++ b/nailgun/entity_mixins.py @@ -814,6 +814,7 @@ def read(self, entity=None, attrs=None, ignore=None, params=None): # in the event that an entity's init is overwritten # with a positional server_config entity = type(self)() + entity._server_config = self._server_config if attrs is None: attrs = self.read_json(params=params) if ignore is None: