Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
111 commits
Select commit Hold shift + click to select a range
e96d103
draft 1
mbana641 Jan 6, 2025
d5e6308
KnowledgeGraph with as_dict update
mbana641 Feb 6, 2025
c9e236f
Merge branch 'Esri:master' into meg10359/graphclient-guide
mbana641 Feb 6, 2025
a42c2a2
Merge branch 'Esri:master' into meg10359/graphclient-guide
mbana641 Apr 3, 2025
8bc46d7
Merge pull request #2254 from Esri/jy-sync-master-next
jyaistMap Apr 7, 2025
6f50a86
add action to create samples.zip and attach to Release
jtroe Apr 7, 2025
f6329e6
Merge pull request #2255 from Esri/action-release-samples-zip
jtroe Apr 7, 2025
f49e429
Update guide/14-deep-learning/add_model_using_model_extension.ipynb
Apr 10, 2025
d5fcc80
fix typo and add ItemProperties link
nanaeaubry Apr 16, 2025
76d71f0
add link
nanaeaubry Apr 16, 2025
2060068
Merge branch 'Esri:master' into meg10359/graphclient-guide
mbana641 Apr 16, 2025
24c4502
fixed link for web scene specification
Apr 18, 2025
dfe4ed3
Fix Sample Formatting issue (#2263)
SurajBaloni Apr 18, 2025
05d2860
Notebook Docker: avoid using anaconda defaults
jtroe Apr 21, 2025
05696cb
bump default to v2.4.1, ensure patches installed
jtroe Apr 21, 2025
39aef93
Merge pull request #2266 from Esri/docker-2.4.1
jtroe Apr 21, 2025
a036248
changesinnb
Apr 28, 2025
cd0ccfd
Merge pull request #2257 from Esri/ext
priyankatuteja May 1, 2025
e3aa41c
Merge branch 'Esri:master' into meg10359/graphclient-guide
mbana641 May 6, 2025
09bcef2
link updates
mbana641 May 6, 2025
6db7455
addresses issue #2283
tarunkukreja003 May 14, 2025
6530975
Merge pull request #2284 from Esri/tarun/issue#2283
nanaeaubry May 15, 2025
49770a4
Resolve Python Logger warnings
emmanuel-ferdman May 15, 2025
d44aeb6
update release notes for 241 patch
jyaistMap May 21, 2025
9e5d121
update bullet point indentation
jyaistMap May 21, 2025
2c5d4f1
add parantheses to calls
jyaistMap May 21, 2025
3554fcc
Edits based on user doc feedback
nanaeaubry May 22, 2025
778272a
Update publishing wm and ws notebook
nanaeaubry May 22, 2025
193f961
Merge pull request #2260 from Esri/na-typo-fix
nanaeaubry May 22, 2025
41052e4
Merge pull request #2290 from Esri/jy-241-patch-relnotes
jyaistMap May 27, 2025
ae12068
Merge pull request #2285 from emmanuel-ferdman/master
nanaeaubry Jun 10, 2025
f689410
update url
nanaeaubry Jun 11, 2025
6909758
Create offline-cloning-backups.ipynb
nparavicini7 Jul 8, 2025
2fc434a
added item graph guide and sample
nparavicini7 Jul 8, 2025
e266ed0
added some hyperlinks and markdown format updates
jyaistMap Jul 8, 2025
fdb8b54
fix misspelling
jyaistMap Jul 8, 2025
dcb3b38
some phrasing and formatting suggestions
jyaistMap Jul 8, 2025
a75d557
clone a group guide updated
tarunkukreja003 Jul 8, 2025
7b3a471
remove incorrect error message
jyaistMap Jul 9, 2025
e6ff21d
Merge pull request #2315 from Esri/jy-ufeedback
jyaistMap Jul 9, 2025
c46d624
Merge branch 'master' into NA/doc_user_feedback
nanaeaubry Jul 9, 2025
d3e1fd5
Merge pull request #2292 from Esri/NA/doc_user_feedback
jyaistMap Jul 9, 2025
9753572
requested changes complete
tarunkukreja003 Jul 9, 2025
bbfb8de
reverted unnecessary cells
tarunkukreja003 Jul 9, 2025
66113f2
Merge pull request #2313 from Esri/jy-rvw-ocm-guide
nparavicini7 Jul 9, 2025
49fa14e
Merge pull request #2312 from Esri/jy-rvw-graph-guides
nparavicini7 Jul 9, 2025
9ba2f2a
fixed little typo
nparavicini7 Jul 9, 2025
26d684a
fixed typo
nparavicini7 Jul 9, 2025
f261458
addressed the comments
nparavicini7 Jul 9, 2025
bbc541a
addressed comments
nparavicini7 Jul 10, 2025
52117fc
correct misspelling and incorrect hyperlink format
jyaistMap Jul 10, 2025
abc47fb
Merge pull request #2317 from Esri/jy-rvw-ocm-guide
nparavicini7 Jul 10, 2025
bd2d4e1
Merge pull request #2310 from Esri/ocm_guide
jyaistMap Jul 10, 2025
63f291f
correct misspellings
jyaistMap Jul 10, 2025
3320566
Merge upstream/jy-rvw-graph-guides' into jy-rvw-graph-guides
jyaistMap Jul 10, 2025
7c8e383
Changed closing sentence
nparavicini7 Jul 10, 2025
f2aa5a5
update hyperlink format
jyaistMap Jul 10, 2025
4ffb3f4
Merge pull request #2320 from Esri/jy-rvw-ocm-guide
jyaistMap Jul 10, 2025
46f5466
Merge pull request #2319 from Esri/jy-rvw-graph-guides
jyaistMap Jul 10, 2025
68d831c
Merge pull request #2318 from Esri/ocm_guide
jyaistMap Jul 10, 2025
179a099
Merge pull request #2311 from Esri/graph_guides
nparavicini7 Jul 10, 2025
0b9f97d
fix incorrect hyperlink
jyaistMap Jul 11, 2025
04f4b76
Merge pull request #2321 from Esri/jy-upd-link-ocm
jyaistMap Jul 11, 2025
2230556
Add branch versioning draft (#2309)
kgalliher Jul 12, 2025
98781db
update params for validate user profile nb
cariashuang0417 Jul 15, 2025
a762d0a
Merge pull request #2293 from Esri/NA/Publish_wm_and_ws
nanaeaubry Jul 16, 2025
6616a7c
thumbnail added, notes regarding groups.clone and GroupMigrationManag…
tarunkukreja003 Jul 31, 2025
fb5e2aa
changed owner of items
tarunkukreja003 Jul 31, 2025
7094d8d
update environment
jtroe Aug 6, 2025
9b85acb
add pixi environment
jtroe Aug 6, 2025
dd81df2
add note for Anaconda Inc TOS
jtroe Aug 6, 2025
63a6300
changes to render popups on map
Aug 13, 2025
017b566
fixed feature layer query() parameters
Aug 13, 2025
e564513
rewording to reflect order of release
Aug 14, 2025
9855995
Merge pull request #2346 from Esri/fixes_to_visualize_sedf_guide
nanaeaubry Aug 14, 2025
39e6e16
Merge pull request #2324 from Esri/ssong/update_validate_profile_nb
nanaeaubry Aug 14, 2025
d7bff23
Update Coastline Notebook
Aug 20, 2025
e3396a4
Updated coastline_classification_using_feature_classifier.ipynb
Sep 1, 2025
cc0600e
Merge pull request #2314 from Esri/tarun/clone_group
achapkowski Sep 5, 2025
10689c6
Update references of WebMap to Map and WebScene to Scene
nanaeaubry Sep 8, 2025
16eaa00
change indentation for query methods for better visualization
jyaistMap Sep 11, 2025
b00684d
Merge pull request #2364 from Esri/jy-rvw-bikes
jyaistMap Sep 11, 2025
267c729
Merge pull request #2347 from Esri/fixes_to_desgnate_bike_routes_sample
jyaistMap Sep 11, 2025
9a0d611
Merge pull request #2341 from Esri/JR/pixi
jyaistMap Sep 16, 2025
a468665
add various updates and images for samples to align with MapContent
jyaistMap Sep 16, 2025
cd4bf04
Corrections to layer access from MapContent and adding map image
jyaistMap Sep 16, 2025
e0482e6
Update layer access for MapContent
jyaistMap Sep 16, 2025
8da5626
update urls in hyperlinks and change references to api doc to relativ…
jyaistMap Sep 16, 2025
d083a76
Merge pull request #2367 from Esri/jy-rvw-coast
jyaistMap Sep 16, 2025
65c1274
Fix incorrect hyperlink to web scene spec in 2.4.0 overview doc
jyaistMap Sep 16, 2025
301057e
Update notebook narrative throughout and ensure it's runnable
jyaistMap Sep 16, 2025
9d26065
Update ordering of hyperlinks to reflect the sentence order
jyaistMap Sep 16, 2025
c0366a4
Updates to all 3 guides
jyaistMap Sep 16, 2025
f47834a
added username accepted syntax
tarunkukreja003 Sep 16, 2025
c3330a2
Merge pull request #2368 from Esri/tarun/authentication-scheme-guide
achapkowski Sep 18, 2025
323d0d2
updating data and mapping functions
ManushiM Sep 20, 2025
3e4cda9
updated data and mapping
ManushiM Sep 20, 2025
1e23b7b
remove legacy AzureFunctions sample
jtroe Sep 22, 2025
52e9c7c
update AzureFunctions sample to use non-containerized approach
jtroe Sep 22, 2025
769c3ca
Merge pull request #2375 from Esri/jtroe/azure-functions
jtroe Sep 22, 2025
0e6a65d
removed zoomlevel from maps
ManushiM Sep 22, 2025
ddfa6b2
updates to network analysis guide 3 service areas
ManushiM Sep 25, 2025
85c9ff7
add deprecation notice for 2.4.1
jyaistMap Sep 29, 2025
8dfcbbd
Update deprecation notices for tensorflow library
jyaistMap Sep 29, 2025
3afe447
Merge pull request #2371 from Esri/updating-network-analysis-guide5
jyaistMap Oct 10, 2025
fbfb510
Merge pull request #2372 from Esri/network-guide4-update
jyaistMap Oct 10, 2025
307677e
Merge pull request #2378 from Esri/network-guide3-updates
jyaistMap Oct 10, 2025
80cc3f0
update phrasing in llm 3rd party guide
jyaistMap Oct 11, 2025
f390307
Merge pull request #2388 from Esri/jy-update-llm-ngrequest
jyaistMap Oct 11, 2025
c7a1913
Merge pull request #2272 from Esri/update_gradcam
jyaistMap Oct 11, 2025
295d00a
sync next with master
jyaistMap Oct 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 0 additions & 73 deletions .github/workflows/DockerBuild.AzureFunctionsBaseImage.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/DockerBuild.LambdaBaseImage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
version:
description: "Version of ArcGIS API for Python to install in the image"
type: string
default: "2.3.1"
default: "2.4.1"
python_version:
description: "Python version to base image on"
type: string
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/DockerBuild.NotebookImage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
version:
description: "Version of ArcGIS API for Python to install in the image"
type: string
default: "2.3.1"
default: "2.4.1"
python_version:
description: "Python version to base image on"
type: string
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/release-create-samples-zip.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# This workflow creates samples.zip from samples directory
# and uploads it automatically to the release when it is published
name: Release - Upload samples.zip

on:
release:
types:
# published is triggered when a release is created without a draft
# or a draft is published
- published

jobs:
upload-samples:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
- name: Create samples.zip
run: |
zip -r samples.zip samples
- name: Upload samples.zip to release
uses: softprops/action-gh-release@v2
with:
files: |
samples.zip
Comment on lines +14 to +26

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}

Copilot Autofix

AI 2 months ago

To address the problem, you should add a permissions block to the workflow to explicitly specify the minimum necessary permissions. Since the workflow uploads a file to a release, it requires contents: write for that operation. The most logical placement for the block is at the job level (under upload-samples:), because that's where runs-on and steps are defined, and it allows future jobs to specify different permissions as needed. Add the following to the job's block:

permissions:
  contents: write

No additional methods, packages, or imports are needed. Only a YAML edit is required.


Suggested changeset 1
.github/workflows/release-create-samples-zip.yaml

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/.github/workflows/release-create-samples-zip.yaml b/.github/workflows/release-create-samples-zip.yaml
--- a/.github/workflows/release-create-samples-zip.yaml
+++ b/.github/workflows/release-create-samples-zip.yaml
@@ -11,6 +11,8 @@
 
 jobs:
   upload-samples:
+    permissions:
+      contents: write
     runs-on: ubuntu-latest
 
     steps:
EOF
@@ -11,6 +11,8 @@

jobs:
upload-samples:
permissions:
contents: write
runs-on: ubuntu-latest

steps:
Copilot is powered by AI and may make mistakes. Always verify output.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ guide/gis module/.ipynb_checkpoints/class gis.ContentManager-checkpoint.ipynb
.ipynb_checkpoints
.idea/
.DS_Store
pixi.lock
6 changes: 6 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"recommendations": [
"ms-azuretools.vscode-azurefunctions",
"ms-python.python"
]
}
15 changes: 15 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Attach to Python Functions",
"type": "debugpy",
"request": "attach",
"connect": {
"host": "localhost",
"port": 9091
},
"preLaunchTask": "func: host start"
}
]
}
10 changes: 10 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"azureFunctions.deploySubpath": "samples/devops_azure_functions",
"azureFunctions.scmDoBuildDuringDeployment": true,
"azureFunctions.pythonVenv": ".venv",
"azureFunctions.projectLanguage": "Python",
"azureFunctions.projectRuntime": "~4",
"debug.internalConsoleOptions": "neverOpen",
"azureFunctions.projectLanguageModel": 2,
"azureFunctions.projectSubpath": "samples/devops_azure_functions"
}
33 changes: 33 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "func",
"label": "func: host start",
"command": "host start",
"problemMatcher": "$func-python-watch",
"isBackground": true,
"dependsOn": "pip install (functions)",
"options": {
"cwd": "${workspaceFolder}/samples/devops_azure_functions"
}
},
{
"label": "pip install (functions)",
"type": "shell",
"osx": {
"command": "${config:azureFunctions.pythonVenv}/bin/python -m pip install -r requirements.txt"
},
"windows": {
"command": "${config:azureFunctions.pythonVenv}\\Scripts\\python -m pip install -r requirements.txt"
},
"linux": {
"command": "${config:azureFunctions.pythonVenv}/bin/python -m pip install -r requirements.txt"
},
"problemMatcher": [],
"options": {
"cwd": "${workspaceFolder}/samples/devops_azure_functions"
}
}
]
}
17 changes: 0 additions & 17 deletions docker/AzureFunctionsBaseImage.Dockerfile

This file was deleted.

2 changes: 1 addition & 1 deletion docker/LambdaBaseImage.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ LABEL org.opencontainers.image.source=https://github.com/esri/arcgis-python-api
# install dependencies, then clean yum cache
RUN yum -y install gcc gcc-c++ krb5-devel krb5-server krb5-libs && yum clean all && rm -rf /var/cache/yum
# install arcgis
ARG arcgis_version="2.3.1"
ARG arcgis_version="2.4.1"
# adding .* ensures the latest patch version is installed
RUN pip3 install "arcgis==${arcgis_version}.*" --target "${LAMBDA_TASK_ROOT}" && rm -rf /root/.cache/pip
# set entrypoint to app.py handler method
Expand Down
22 changes: 18 additions & 4 deletions docker/NotebookImage.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ ARG python_version="3.11"
FROM quay.io/jupyter/minimal-notebook:python-${python_version}

ARG python_version
ARG arcgis_version="2.4.0"
ARG arcgis_version="2.4.1"
ARG gdal_version="3.10.2"
ARG sampleslink="https://github.com/Esri/arcgis-python-api/releases/download/v${arcgis_version}/samples.zip"
ARG githubfolder="arcgis-python-api"
ARG env_name=arcgis
Expand All @@ -14,14 +15,27 @@ LABEL org.opencontainers.image.source=https://github.com/Esri/arcgis-python-api

USER ${NB_UID}

# Install Python API from Conda
RUN conda create -n ${env_name} -c esri -c defaults arcgis=${arcgis_version} python=${python_version} -y --quiet --override-channels \
# Create conda environment with specified python version
RUN conda create -n ${env_name} -c conda-forge python=${python_version} -y --quiet --override-channels \
&& conda clean --all -f -y \
&& find /opt/conda -name __pycache__ -type d -exec rm -rf {} +

# Install gdal
RUN conda install -n ${env_name} -c conda-forge gdal=${gdal_version} -y --quiet --override-channels \
&& conda clean --all -f -y \
&& find /opt/conda -name __pycache__ -type d -exec rm -rf {} +

# Install ArcGIS API for Python from pypi
RUN . activate ${env_name} \
# adding .* ensures the latest patch version is installed
&& python -m pip install "arcgis==${arcgis_version}.*" \
&& conda clean --all -f -y \
&& find /opt/conda -name __pycache__ -type d -exec rm -rf {} +

# Install arcgis-mapping if arcgis_version >= 2.4.0
RUN (dpkg --compare-versions $arcgis_version ge 2.4.0 \
&& conda install -n ${env_name} -c esri -c defaults arcgis-mapping -y --quiet --override-channels \
&& . activate ${env_name} \
&& python -m pip install arcgis-mapping \
&& conda clean --all -f -y \
&& find /opt/conda -name __pycache__ -type d -exec rm -rf {} +;) \
|| echo "[INFO] Skipped installing arcgis-mapping for version $arcgis_version (>= 2.4.0 required for arcgis-mapping)"
Expand Down
34 changes: 2 additions & 32 deletions docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,36 +27,6 @@ Push to your _private_ AWS ECR instance, and configure lambda to run from this c

## AzureFunctionsBaseImage

#### ghcr.io/esri/arcgis-python-api-azure-functions:latest
The AzureFunctionsBase image has been deprecated in favor of using the standard runtime for Azure Functions development.

[Sample](samples/AzureFunctions)

To use this image, setup your dockerfile like
```
FROM ghcr.io/esri/arcgis-python-api-azure-functions:latest
COPY . /home/site/wwwroot
```

Your copied resources will need to include:
- `host.json`, with your appsettings
- `function_app.py`, such as:

```
import arcgis
import azure.functions as func

app = func.FunctionApp()

@app.http_trigger(route='GET /', methods=['get'])
def main(req: func.HttpRequest) -> func.HttpResponse:
return func.HttpResponse(f"Hello from Azure Functions using ArcGIS API for Python {arcgis.__version__}!")
```

Push to the container registry of your choice.

For futher information, see:

- https://learn.microsoft.com/en-us/azure/azure-functions/functions-reference-python?tabs=asgi%2Capplication-level&pivots=python-mode-decorators#programming-model
- https://learn.microsoft.com/en-us/azure/azure-functions/functions-deploy-container-apps?tabs=acr%2Cbash&pivots=programming-language-python#create-and-test-the-local-functions-project
- https://github.com/Azure/azure-functions-python-worker
- https://learn.microsoft.com/en-us/azure/azure-functions/functions-how-to-custom-container
See `samples/devops_azure_functions` for a sample using the standard runtime deployment.
1 change: 0 additions & 1 deletion docker/samples/AzureFunctions/.dockerignore

This file was deleted.

48 changes: 0 additions & 48 deletions docker/samples/AzureFunctions/.gitignore

This file was deleted.

5 changes: 0 additions & 5 deletions docker/samples/AzureFunctions/.vscode/extensions.json

This file was deleted.

6 changes: 0 additions & 6 deletions docker/samples/AzureFunctions/Dockerfile

This file was deleted.

14 changes: 0 additions & 14 deletions docker/samples/AzureFunctions/function_app.py

This file was deleted.

4 changes: 1 addition & 3 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@ channels:
- esri
dependencies:
- arcgis
- notebook
- ipywidgets >=5.2.2,<7
- widgetsnbextension >=1.2.6,<3
- arcgis-mapping
Loading