Skip to content

Validate Globus Credentials#3

Open
TinasheMTapera wants to merge 7 commits into
mainfrom
1-Validate-Globus-Credentials
Open

Validate Globus Credentials#3
TinasheMTapera wants to merge 7 commits into
mainfrom
1-Validate-Globus-Credentials

Conversation

@TinasheMTapera
Copy link
Copy Markdown
Member

for GoldenPlanetaryHealthLab/stagecoach#1:

feat(validate_globus): add globus credentials validation

  • Implemented a validation function for Globus credentials in the Sheriff class.
  • Utilized the Globus SDK to check user permissions for data access.
  • Created a GlobusClearance dataclass to encapsulate validation results.
  • Ensured proper error handling for API errors and invalid credentials.

for #1:

feat(validate_globus): add globus credentials validation

- Implemented a validation function for Globus credentials in the Sheriff class.
- Utilized the Globus SDK to check user permissions for data access.
- Created a GlobusClearance dataclass to encapsulate validation results.
- Ensured proper error handling for API errors and invalid credentials.
* renamed validate_globus_credentials to issue_globus_transfer
* updated function parameters to include issue_transfer flag
* modified logic to handle transfer requests and validation more effectively
* improved console output for better user feedback
* Change transfer_id type annotation for clarity
* Remove unnecessary app attribute from GlobusClearance
* Streamline globus_info retrieval in issue_globus_transfer
* Update check_globus_access to run transfer if credentials are valid
* Enhance error handling by passing response to GlobusAPIError
* Clarify docstrings for better understanding of functionality
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.

Validate Globus Credentials

1 participant