Add missing MY_PROXY_SECRET_KEY variable in tutorials#1375
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the Python tutorial scripts used by the docs so the proxy storage location examples define MY_PROXY_SECRET_KEY before it’s referenced when constructing a StorageLocation.
Changes:
- Add a
MY_PROXY_SECRET_KEYconstant to the proxy storage location tutorial script. - Fix the storage location tutorial script to define and pass
MY_PROXY_SECRET_KEYtoStorageLocation(secret_key=...).
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| docs/tutorials/python/tutorial_scripts/storage_location.py | Defines MY_PROXY_SECRET_KEY and uses it when creating a PROXY StorageLocation. |
| docs/tutorials/python/tutorial_scripts/proxy_storage_location.py | Adds the missing MY_PROXY_SECRET_KEY constant used by the proxy storage location example. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
…e-Bionetworks/synapsePythonClient into update_proxy_server_tutorial
andrewelamb
reviewed
May 7, 2026
andrewelamb
reviewed
May 7, 2026
andrewelamb
reviewed
May 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem:
The proxy storage location tutorial and storage location tutorials (proxy storage section) were missing the definition for the
MY_PROXY_SECRET_KEYvariable prior to calling it later inStorageLocationSolution:
This PR adds the missing variable to the tutorials
Testing:
mkdocs serveresultProxy storage location tutorial

Storage locations tutorial
