Skip to content

Raise an exception if a callback is registered _after_ app start? #577

Closed

Description

@chriddyp

A tricky part about Dash is how callbacks need to be registered before the app starts (https://community.plot.ly/t/dynamic-controls-and-dynamic-output-components/5519).

Some users register them later:

Seems like we should "freeze" callback instantiation after app start and raise a helpful exception pointing them to some documentation about why they can't register callbacks after the server has started.

Activity

  1. stonedseeker commented on Sep 9, 2023

    @stonedseeker

    Hello 👋
    Hi there! I'm interested in working on this. I believe I can help implement the solution as described.
    Is this issue still relevant, i'd like to work on it.

  2. T4rk1n commented on Sep 11, 2023

    @T4rk1n
    Contributor

    Hi @stonedseeker This issue is not really relevant anymore as we would rather want to allow a way to dynamically add callbacks #787

  3. gvwilson commented on Jul 25, 2024

    @gvwilson
    Contributor

    Hi - we are tidying up stale issues and PRs in Plotly's public repositories so that we can focus on things that are most important to our community. If this issue is still a concern, please add a comment letting us know what recent version of our software you've checked it with so that I can reopen it and add it to our backlog. (Please note that we will give priority to reports that include a short reproducible example.) If you'd like to submit a PR, we'd be happy to prioritize a review, and if it's a request for tech support, please post in our community forum. Thank you - @gvwilson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions