Skip to content

Commit

Permalink
update entity object with parametrized server_config rather default
Browse files Browse the repository at this point in the history
(cherry picked from commit 42f3020)
  • Loading branch information
omkarkhatavkar authored and pondrejk committed Mar 13, 2024
1 parent 9f57024 commit 8ca2de2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nailgun/entity_mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8ca2de2

Please sign in to comment.