Skip to content

updating update_items.py #1803

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Apr 18, 2024
Merged

updating update_items.py #1803

merged 7 commits into from
Apr 18, 2024

Conversation

xlt208
Copy link
Collaborator

@xlt208 xlt208 commented Apr 18, 2024

This PR updates update_items.py, which is for syncing notebook samples from this repo to ArcGIS Online. The script needs to be updated so it can be run to address #1520.

Changes:

  1. Added a cmd argument to pass in a notebook runtime version if needed
  2. Added logic to get the latest notebook runtime version by default
  3. Updated syntax for sharing item
  4. Specified encoding for open()
  5. Fixed typo and adjusted formatting based on suggestions from linter

Copy link
Collaborator

@jyaistMap jyaistMap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

THANK YOU, @xlt208

@jyaistMap jyaistMap merged commit 3d79c0d into Esri:master Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants