You now have until September 15th to submit your use case or success story to the 2022 Dataiku Frontrunner Awards!ENTER YOUR SUBMISSION

Dataiku Webapp using Datasets not getting Refreshed

Binoy
Level 1
Level 1
Dataiku Webapp using Datasets not getting Refreshed

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. 

0 Kudos
2 Replies
fchataigner2
Dataiker
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
Level 1
Level 1
Author

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.

0 Kudos

Labels

?
Labels (2)
A banner prompting to get Dataiku