laptop and a wrench

Error

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

Última publicación: January 17, 2023 ArcGIS API for Python
Número de ID del error BUG-000121496
EnviadoApril 4, 2019
Última modificaciónJune 5, 2024
Relacionado conArcGIS API for Python
Versión encontrada1.5.2
Sistema operativoWindows OS
Versión de sistema operativo10.0 64 Bit
EstadoAs Designed

Información adicional

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.

Solución alternativa

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.

Pasos para reproducir

ID del error: BUG-000121496

Software:

  • ArcGIS API for Python

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga