Skip to content

Commit

Permalink
Add ARCGIS_PORTAL env var
Browse files Browse the repository at this point in the history
  • Loading branch information
martimpassos committed Apr 15, 2024
1 parent 3db55e3 commit 828da58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions imaginerio-etl/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
DISTRIBUTION_ID = os.getenv("DISTRIBUTION_ID")
ARCGIS_USER = os.getenv("ARCGIS_USER")
ARCGIS_PASSWORD = os.getenv("ARCGIS_PASSWORD")
ARCGIS_PORTAL = os.getenv("ARCGIS_PORTAL")
VIEWCONES_LAYER_URL = os.getenv("VIEWCONES_LAYER_URL")
RETILE = os.getenv("RETILE", False)
RIGHTS = {
Expand Down
2 changes: 1 addition & 1 deletion imaginerio-etl/scripts/viewcones.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def update(metadata):
vocabulary = get_vocabulary(VOCABULARY)

gis = GIS(
url="https://www.arcgis.com",
url=ARCGIS_PORTAL,
username=ARCGIS_USER,
password=ARCGIS_PASSWORD,
)
Expand Down

0 comments on commit 828da58

Please sign in to comment.