IndexError when creating a pure API endpoint #10217
Labels
bug
Something isn't working
needs designing
The proposed feature needs to be discussed and designed before being implemented
Describe the bug
For unit testing purposes, I wanted to create a pure API endpoint, i.e. a function that could be called from
gradio_client
but wouldn't show in the UI. So I tried:but this throws an
IndexError
inset_event_trigger
.Note: this is similar to #6730 but slightly different: in #6730, passing
None
is expected to trigger on all changes. Here I'm attempting to never trigger from the UI and only be able to call the function with an explicit REST request.Have you searched existing issues? 🔎
Reproduction
Screenshot
No response
Logs
System Info
Severity
I can work around it
The text was updated successfully, but these errors were encountered: