diff --git a/.changeset/lucky-news-float.md b/.changeset/lucky-news-float.md new file mode 100644 index 000000000000..cefc2c543576 --- /dev/null +++ b/.changeset/lucky-news-float.md @@ -0,0 +1,5 @@ +--- +"gradio": patch +--- + +fix:Don't raise warnings when returning an updated component in a dictionary diff --git a/gradio/helpers.py b/gradio/helpers.py index acb25735fab3..889efaf30cf9 100644 --- a/gradio/helpers.py +++ b/gradio/helpers.py @@ -823,7 +823,7 @@ def change_textbox(choice): def skip() -> dict: - return update() + return {"__type__": "generic_update"} @document()