I can't seem to find the correct syntax for the layer_mappings parameter of append. I checked the API reference and I've got the argument name right, however, the line below throws TypeError: append() got an unexpected keyword argument 'layer_mappings'
fLyr.append(fgd_item, upload_format="featureService", layer_mappings=[{"id": 3, "sourceId": 0}])
I also checked the REST API syntax too but that didn't seem to help. Anyone used this parameter before?