Hi Owen,
Ah, yes. This is a slightly tricky corner. The short version is that you can call dict(row)
on a data table row, and it will work…on the server. On the client, due to a corner case in the implementation of the Python-to-Javascript library we use, you have to use dict(list(row))
(else you’ll get a “cannot block or suspend here” error). This is…not ideal, and we do plan to fix this.
tl;dr dict(list(row))
(or just dict(row)
on the server)