laptop and a wrench

Bogue

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

Dernière publication: January 17, 2023 ArcGIS API for Python
Numéro d’ID de bogue BUG-000121496
EnvoiApril 4, 2019
Dernière modificationJune 5, 2024
S’applique àArcGIS API for Python
Version trouvée1.5.2
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutAs Designed

Informations supplémentaires

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.

Solution de contournement

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.

Étapes pour reproduire

ID de bogue: BUG-000121496

Logiciel:

  • ArcGIS API for Python

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement