Is there a way to retrieve or generate the polygon geometries for a feature layer? I can't seem to get the SHAPE attribute that would normally store the geometry type and the polygon geometries, like the example shown here: Geoenrichment: Accepted Forms of Study Areas.
Here's the example from the link above:
arcgis.geometry.Geometry({"rings":[[[-117.185412,34.063170],[-122.81,37.81],[-117.200570,34.057196],[-117.185412,34.063170]]],"spatialReference":{"wkid":4326}})
How can I get that for each of my polygon features to be stored in the SHAPE attribute column? In particular, I am using the ArcGIS online platform and the ArcGIS Python API. Can it be done with either?