I used Model Builder to create a model that edits a hosted feature service that runs as expected when run manually. But when I try to use python to run the model I get a Error 000732 Dataset Not Found Or Supported error. The code is as follows:
from arcpy import env
Any ideas as to what I need to do differently? For data in SDE this script usually works fine but am not experienced with running models against hosted feature services using python.