We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The command returns an empty list [].
[]
The text was updated successfully, but these errors were encountered:
Right, this is because the frontend might not be ready since everything is being executed in a single execute request.
Maybe using on_ready can help: https://github.com/jtpio/ipylab/blob/main/examples/commands.ipynb
on_ready
Sorry, something went wrong.
@jtpio Thanks! Will try that.
@jtpio I've recently found a way of doing this without needing the callback and waits for the frontend to be ready in a single request.
from ipylab import JupyterFrontEnd from jupyter_ui_poll import run_ui_poll_loop app = JupyterFrontEnd() func = lambda: None if app.commands.list_commands() == [] else app.commands.list_commands() print (run_ui_poll_loop(func))
No branches or pull requests
The command returns an empty list
[]
.The text was updated successfully, but these errors were encountered: