I read on the API reference that an Item has the property "dependencies," which "returns a class to manage the Item’s dependencies." Does anyone know how to access/read the contents within the returned "arcgis.gis.ItemDependency" class?
I am assuming that the "dependencies" property of an item can inform me of what services are used in a web map. I am working in the ArcGIS Online environment, so that "dependent_to()" and "dependent_upon()" methods are not relevant.
C:\your_install_folder\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\gis\__init__.py contains the definition and methods if you want to examine the code itself