codaio get_table: TypeError: __init__() got an unexpected keyword argument 'view_id'

Calling doc.gettable(tableid) with the codaio Python wrapper raised "TypeError: Table.init() got an unexpected keyword argument 'viewid'". Coda added a new viewid field to the gettable API response, and the installed codaio Table model did not accept it, so fromjson crashed on every table fetch. The installed PyPI version lagged behind the fixed source on GitHub.

Upgrade codaio to pick up the fix: pip install --upgrade codaio. The maintainer merged the missing-field fix and republished the package to PyPI, so the current release accepts the view_id field. If you cannot upgrade immediately, a temporary workaround is to copy the latest coda.py from the codaio GitHub repo over your installed site-packages/codaio/coda.py (do not pip install again or it will overwrite it). Source: https://github.com/licht1stein/codaio/issues/76

Source: https://github.com/licht1stein/codaio/issues/76