Hello Aruna Ganguri,
Welcome to the Microsoft Q&A forum.
It looks like you are experiencing a delay in refreshing the mounted Azure Data Lake Storage Gen1 files on your Python Azure webapp.
In general, When you mount Azure Data Lake Storage containers as path mapping in a Python Azure Web App, the files may not be updated immediately due to caching.
By default, the Azure Web App uses a caching mechanism to improve performance and reduce the number of requests to the mounted path.
To get the files updated on the mounted path immediately, you can disable caching by setting the WEBSITE_LOCAL_CACHE_OPTION
Please see the below document for more details.
https://learn.microsoft.com/en-us/azure/app-service/reference-app-settings?tabs=kudu%2Cdotnet
also, please check if you can use dbutils.fs.refreshMounts()
command to refresh all the mount points on your webapp.
This command will force the webapp to sync with the latest state of the storage account and update the files
https://learn.microsoft.com/en-us/azure/databricks/dbfs/mounts
I hope this helps. Please let me know if you have any further questions.