Pyzotero: a Python client for the Zotero API pyzotero.readthedocs.io
zotero

Merge pull request #224 from Cfeusier/patch-1

Update zotero.py to unpack dicts to avoid operand type error

authored by urschrei.eurosky.social and committed by

GitHub 8141d574 b59ae468

+1 -1
+1 -1
src/pyzotero/zotero.py
··· 465 465 params = {} 466 466 if not self.url_params: 467 467 self.url_params = {} 468 - merged_params = params | self.url_params 468 + merged_params = {**params, **self.url_params} 469 469 # our incoming url might be from the "links" dict, in which case it will contain url parameters. 470 470 # Unfortunately, httpx doesn't like to merge query paramaters in the url string and passed params 471 471 # so we strip the url params, combining them with our existing url_params