We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f62b365 commit 294caa9Copy full SHA for 294caa9
functions/main.py
@@ -146,7 +146,7 @@ def restore(request: https_fn.CallableRequest) -> str:
146
raise https_fn.HttpsError("invalid-argument", "Missing required arguments")
147
148
print("logging into AGOL")
149
- gis = arcgis.GIS(
+ gis = arcgis.gis.GIS(
150
url=secrets["AGOL_ORG"],
151
username=secrets["AGOL_USER"],
152
password=secrets["AGOL_PASSWORD"],
jobs/src/backup/main.py
@@ -33,7 +33,7 @@ def cleanup_exports(gis):
33
def backup():
34
secrets = get_secrets()
35
36
37
url=getenv("AGOL_ORG"),
38
39
0 commit comments