Hi all,
I'm using the example from the ArcGIS Python API doco on how to search for portal items, filter by Web Map. From here I want to get the list of layers within this map but I'm getting an TraitError
wm_item = gis.content.get('6229f30bb378405397b24615e8dcaf60')
wm = WebMap(wm_item)
TraitError: The 'comm' trait of a Layout instance must be a Comm or None, but a value of class 'ipykernel.comm.comm.Comm' (i.e. <ipykernel.comm.comm.Comm object at 0x000002630B46DE48>) was specified.
Currently using the python within ArcGIS Pro 2.7 with Patch 4 applied.
Has anybody come across this/know what I'm doing wrong?
Thanks