Dataiku Webapp using Datasets not getting Refreshed

Binoy
Binoy Partner, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Registered Posts: 3 Partner

I have created a webapp using Dash in Dataiku which connects to few datasets within the project and also helps the user to run scenarios via the app. The issue i am currently facing is that whenever any changes are done to the datasets in dataiku the same is not reflected in the webapp, I have tried using page refresh and also interval, but the data does not change unless i make some changes to the code and save the webapp again.

Answers

  • fchataigner2
    fchataigner2 Dataiker Posts: 355 Dataiker

    The behaviour you describe indicates that the webapp's python backend loads the dataset upon starting and then serves this data. So unless you stop and restart the webapp backend, the data served remains the state of the data at the time of the backend startup.

    If you want the webapp to react to changes in the data you need:

  • Binoy
    Binoy Partner, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Registered Posts: 3 Partner

    I did try reloading the page manually as well as placing a reload button and using that to refresh the page, but the updated data is still not read into the webapp, But yes let me try to use the get_files_info as suggested by you to check for any changes in the dataset, i will update here if it works.

Setup Info
    Tags
      Help me…