Skip to content

Handle dash.exceptions.PreventUpdate #206

@GibbsConsulting

Description

@GibbsConsulting

As reported in #205, when a callback raises PreventUpdate the wrapper code does not handle it.

A change in views.py should allow these exceptions to be handled. The update function needs to catch this exception and return an empty response with a status code of 204; this is how the underlying dash code handles this response.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions