Sending messages between Google Colab and Anvil

In Colab you update a row in the database with the current status, so the Anvil server knows it.

In the server you create a get_status callable that returns the status.

In the form you put a timer that does self.status.text = call_s('get_status', session_id).

Here I used session_id, but you could use the current user or whatever Colab session identifier you may have.

1 Like