From 42f30208f429258134bc204090b230e722cdca0b 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 --- nailgun/entity_mixins.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nailgun/entity_mixins.py b/nailgun/entity_mixins.py index 84893413..7c290b2c 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: