-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
GlobusGlobusGlobussemver: small improvementSmall improvement (will increment patch version)Small improvement (will increment patch version)
Description
How will this affect the next version number?
Small improvement (increment PATCH version)
Is your feature request related to a problem?
There have been several Globus authentication/integration issues to resolve. Some of these have fixes already, but in any case, zstash could benefit from improved Globus integration.
| Issue | Fix |
|---|---|
| Token timeout (step 6 from the list in #339) | #407 (potentially already fixed on main via #380 & #397) |
Tar files not deleting when --non-blocking is set: #374 |
#405 (+ the test in #404) |
update too slow for HR: #409 |
#411 (closed), #412 |
check too slow for HR: #410 |
#411 (closed), #412 |
| Better handle token file (i.e., store multiple tokens, allow user to specify a token file): #398 | #408 |
| Support Globus 4.0: #395 | #406 |
Note: #409/#410 aren't actually Globus-specific.
Describe the solution you'd like
@NickolausDS suggested using globus_sdk.UserApp. For example:
with globus_sdk.UserApp(
"detect-data-access-example", client_id=NATIVE_CLIENT_ID
) as app:
# Handles saving/loading tokens
transfer_client = globus_sdk.TransferClient(app=app)
It would also be useful to review https://globus-sdk-python.readthedocs.io/en/stable/user_guide/usage_patterns/data_transfer/detecting_data_access/index.html.
Describe alternatives you've considered
No response
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
GlobusGlobusGlobussemver: small improvementSmall improvement (will increment patch version)Small improvement (will increment patch version)