Skip to content
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

Add minimal ComputeClient #1071

Merged
merged 3 commits into from
Oct 3, 2024
Merged

Add minimal ComputeClient #1071

merged 3 commits into from
Oct 3, 2024

Conversation

rjmello
Copy link
Member

@rjmello rjmello commented Oct 3, 2024

In the interest of limiting the scope of this PR, I've created a minimal ComputeClient class with a single .get_function(...) method to get information about registered functions from the Compute API. Additional methods will be added in subsequent PRs.

Similar to Flows, Compute requires a custom ComputeScopesBuilder class because its resource server is a service name and its scopes are built around the client ID.


📚 Documentation preview 📚: https://globus-sdk-python--1071.org.readthedocs.build/en/1071/

Similar to Flows, Compute requires a custom `ComputeScopesBuilder` class
because its resource server is a service name and its scopes are built
around the client ID.
The initial `ComputeClient` only supports a `.get_function()` method
to get information about registered functions from the Compute API.
Additional methods will be added in subsequent commits.
Copy link
Contributor

@derek-globus derek-globus left a comment

Choose a reason for hiding this comment

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

Mostly 👍

Copy link
Member

@sirosen sirosen left a comment

Choose a reason for hiding this comment

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

I'm glad that you were able to figure everything out, including our somewhat arcane sphinx customizations!

@derek-globus derek-globus merged commit eb00f00 into globus:main Oct 3, 2024
16 checks passed
@rjmello rjmello deleted the compute-client branch October 3, 2024 19:05
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.

4 participants