I have a Web Map in ArcGIS online where I manually created a time slider.
This map contains feature layers with measurement data for the 7 last days, and I update them daily using arcgis.gis.GIS and related modules, so every day the period of the measurement data advances by one day (deleting the data older than 7 days).
My goal is to have Python update the time slider start and end date accordingly - which is what I now do manually every day in Map Viewer, Map Properties, Time Slider Options.
I can retrieve the Web Map from the GIS, it is of type arcgis.gis.Item, with type="Web Map".
I hope I can somehow use the set_time_extend function as documented in https://developers.arcgis.com/python/api-reference/arcgis.widgets.html#mapview
Can I somehow retrieve an arcgis.widgets.MapView object from this Item, or convert it, so that I can call the set_time_extent function, or is there some other way I can update the time slider?