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

Add @wraps to cleanwrap decorator

+1
+1
src/pyzotero/_decorators.py
··· 27 27 def cleanwrap(func: Callable) -> Callable: 28 28 """Wrap for Zotero._cleanup to process multiple items.""" 29 29 30 + @wraps(func) 30 31 def enc(self, *args, **kwargs): 31 32 """Send each item to _cleanup().""" 32 33 return (func(self, item, **kwargs) for item in args)