resolves basic ds proxies (#5012)

This commit is contained in:
Arpit 2022-12-19 18:54:45 +05:30 committed by GitHub
parent 55c783064e
commit 85cea9e6f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -134,7 +134,7 @@ async function executeRunPycode(_ref, code, query, editorState, isPreview, mode)
};
}
return result;
return pyodide.isPyProxy(result) ? result.toJs() : result;
};
return { data: await evaluatePythonCode(pyodide, code) };