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
…1110)

(cherry picked from commit 42f3020)

Co-authored-by: omkarkhatavkar <[email protected]>
  • Loading branch information
Satellite-QE and omkarkhatavkar authored Apr 9, 2024
1 parent ad9d428 commit 263e48c
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 263e48c

Please sign in to comment.