is it possible to use a long_callback or background callback in dash?

ckilduff16 Registered Posts: 7 ✭✭✭


I am trying to use a long_callback or background callback to enable the ability to cancel a callback in a dash webapp. To use one of these methods you need to set up a callback manager using diskcache. I set up the manager and updated the app constructor with the new callback manager and now get the following error. Has anyone used either of these dash methods with in dataiku before or have an idea of what could be happening to cause the error?

OSError: could not get source code


Operating system used: Windows



  • Alexandru
    Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,209 Dataiker

    Hi @ckilduff16
    The error suggests there was a failure while retrieving the callback function's source code.
    Could you share a code snippet of your code it would provide additional clues.

Setup Info
      Help me…