Fixed
- Array-based API methods broken —
_do_callusedobj(**params)which crashes on list params;.deletemethods,history.clear,user.unblock,user.resettotp,token.generatenow correctly pass arrays to the Zabbix API history.clear— changed fromparams: dicttoitemids: list[str]; added TimescaleDB note in descriptionhistory.push— changed fromparams: dicttoitems: list(array of history objects)user.unblock/user.resettotp/token.generate— were sending{"userids": [...]}instead of the plain array the API expects
Added
array_paramfield onMethodDef— declarative way to mark methods that need a plain array passed to the Zabbix APIlisttype in_PYTHON_TYPESfor array-of-objects parameters