-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Factor API-related calls into service-specific helpers. #1820
Conversation
def logging_api(self): | ||
"""Helper for logging-related API calls.""" | ||
if self._logging_api is None: | ||
self._logging_api = _LoggingAPI(self.connection) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
It's a lot to digest, but nothing glaring. Anything in particular I should focus on? |
This one is a pretty mechanical transform, following the earlier |
Addresses: #1820 (comment)
|
||
@property | ||
def metrics_api(self): | ||
"""Helper for logging-related API calls.""" |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Did a docs pass and made a few comments. Everything (save for those few comments) LGTM. |
Add links to relevant REST API docs. Addresses: #1820 (comment)
Modeled on the
pubsub
changes in #1700 and #1736.