We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d70d56 commit 8778307Copy full SHA for 8778307
contentstack/query.py
@@ -330,10 +330,10 @@ def __execute_network_call(self):
330
def _merge_preview(self, qresp, _preview):
331
if isinstance(qresp, dict):
332
if 'uid' in qresp and qresp['uid'] == _preview['uid']:
333
- merged = {**qresp, **_preview} # TODO: Check merging
+ merged = {**qresp, **_preview} # TODO: Check merging is properly written or not
334
else:
335
for key in dict.keys():
336
- qresp[key] = self._merge(qresp[key])
+ qresp[key] = self._merge_preview(qresp[key])
337
elif isinstance(qresp, list):
338
for index, it in enumerate(qresp):
339
qresp[index] = self._merge_preview(it, _preview)
0 commit comments