A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
fix: wait for connection on more requests (#5314)
Myles Scolnick8f2dbf98c469
diff --git a/frontend/src/core/network/requests-network.ts b/frontend/src/core/network/requests-network.tsindex 48dcaa7378..c3d5572b3d 100644--- a/frontend/src/core/network/requests-network.ts+++ b/frontend/src/core/network/requests-network.ts@@ -34,7 +34,8 @@ export function createNetworkRequests(): EditRequests & RunRequests {.POST("/api/kernel/restart_session").then(handleResponseReturnNull);},- syncCellIds: (request) => {+ syncCellIds: async (request) => {+ await waitForConnectionOpen();return getClient().POST("/api/kernel/sync/cell_ids", {body: request,@@ -95,7 +96,8 @@ export function createNetworkRequests(): EditRequests & RunRequests {}).then(handleResponseReturnNull);},- sendInstantiate: (request) => {+ sendInstantiate: async (request) => {+ await waitForConnectionOpen();return getClient().POST("/api/kernel/instantiate", {body: request,@@ -109,7 +111,8 @@ export function createNetworkRequests(): EditRequests & RunRequests {}).then(handleResponseReturnNull);},- sendCodeCompletionRequest: (request) => {+ sendCodeCompletionRequest: async (request) => {+ await waitForConnectionOpen();return getClient().POST("/api/kernel/code_autocomplete", {body: request,