laptop and a wrench

Bug

The Usage method returns 'None' values when as_df=True after the ArcGIS API for Python 2.3.1 update on July 9, 2024.

ArcGIS API for Python
Bug ID Number BUG-000169337
SubmittedJuly 23, 2024
Last ModifiedDecember 13, 2024
Applies toArcGIS API for Python
Version found2.3.0
Operating SystemN/A
Operating System VersionN/A
StatusNon-Reproducible

Additional Information

This issue is non-reproducible in the ArcGIS API for Python 2.3.1 environment.

Workaround

Add as_df=False to see the information returned as a dictionary:

from arcgis.gis import GIS

gis = GIS("home")

test_item = gis.content.get("<itemID>")

result = test_item.usage(date_range = "30D", as_df=False)

print(result)

Steps to Reproduce

Bug ID: BUG-000169337

Software:

  • ArcGIS API for Python

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options