laptop and a wrench

Bug

The gis.content.import_data() method in ArcGIS API for Python incorrectly parses data if a list is returned.

Zuletzt veröffentlicht: January 17, 2023 ArcGIS API for Python
Bug-ID-Nummer BUG-000121496
EingereichtApril 4, 2019
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS API for Python
Gefunden in Version1.5.2
BetriebssystemWindows OS
Betriebssystemversion10.0 64 Bit
StatusAs Designed

Zusätzliche Informationen

The user object response contains multiple properties that are lists of either strings or dictionaries. These properties, particularly privileges and groups, need to be flattened or replaced with strings in order to publish a table with user properties in this manner.

Workaround

Drop the original 'groups' column with its list of dictionaries and replace it with a groups column with a string, and drop the original 'privileges' column with its list of strings and replace it with a 'privileges' column with one string. This successfully parses results into a feature set.

Schritte zur Reproduzierung

Bug-ID: BUG-000121496

Software:

  • ArcGIS API for Python

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln