From b913ea02e41e88a498a4c6d016036db8230ebed6 Mon Sep 17 00:00:00 2001 From: omkarkhatavkar Date: Wed, 6 Mar 2024 17:08:30 +0530 Subject: [PATCH] update entity object with parametrized server_config rather default (cherry picked from commit 42f30208f429258134bc204090b230e722cdca0b) --- 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: