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

Allow specifying base_url as a BaseClient class attribute #1125

Merged

Conversation

derek-globus
Copy link
Contributor

@derek-globus derek-globus commented Jan 9, 2025

Allow definition of client classes in the form

class FacebookClient(BaseClient):
  base_url = "https://facebook.com"

(Before this value had to come through the constructor)


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

@derek-globus derek-globus merged commit dabbdf5 into globus:main Jan 9, 2025
7 checks passed
@derek-globus derek-globus deleted the client-class-base-url-sc-38541 branch January 9, 2025 20:47
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.

3 participants