Discovered during review of PR #163 (#163).
The CEX Token Updates example in the README and its docs mirror passes sort="desc", but cex.token.updates accepts no sort parameter (sync datamaxi/resources/cex_token.py and async datamaxi/aio/cex.py both only take page, limit, type). Running the snippet raises TypeError: updates() got an unexpected keyword argument 'sort'.
Locations (out of scope for #163's diff, so left untouched there):
README.md around line 312-317 (CEX Token Updates block)
docs/index.md around line 312-317 (same block, README mirror)
Note: the dedicated docs/cex-token.md page was already corrected in PR #163 (the invalid sort kwarg removed from both Sync and Async tabs).
Done when: the sort="desc" line is removed from the cex.token.updates(...) example in both README.md and docs/index.md so the snippet is valid.
Discovered during review of PR #163 (#163).
The CEX Token Updates example in the README and its docs mirror passes
sort="desc", butcex.token.updatesaccepts nosortparameter (syncdatamaxi/resources/cex_token.pyand asyncdatamaxi/aio/cex.pyboth only takepage,limit,type). Running the snippet raisesTypeError: updates() got an unexpected keyword argument 'sort'.Locations (out of scope for #163's diff, so left untouched there):
README.mdaround line 312-317 (CEX Token Updates block)docs/index.mdaround line 312-317 (same block, README mirror)Note: the dedicated
docs/cex-token.mdpage was already corrected in PR #163 (the invalidsortkwarg removed from both Sync and Async tabs).Done when: the
sort="desc"line is removed from thecex.token.updates(...)example in both README.md and docs/index.md so the snippet is valid.