vitessce / vitessce-python

Python API and Jupyter widget for Vitessce
https://python-docs.vitessce.io
MIT License
40 stars 7 forks source link

Command functions should be able to return an updated config #359

Open keller-mark opened 2 months ago

keller-mark commented 2 months ago

Chat plugin should be able to both return a string and also return an updated config dict (optionally).

Need to update the python APIs to enable this (would be similar to the on_config_change inputs/outputs and behavior).

https://github.com/vitessce/vitessce-python/blob/main/docs/notebooks/widget_plugin_custom.ipynb

keller-mark commented 2 months ago

Or maybe the command function should just receive a reference to the widget instance?