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

Normalize gax support #2124

Merged
merged 3 commits into from
Aug 18, 2016
Merged

Normalize gax support #2124

merged 3 commits into from
Aug 18, 2016

Conversation

tseaver
Copy link
Contributor

@tseaver tseaver commented Aug 18, 2016

No description provided.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Aug 18, 2016
def _mon_resource_pb_to_mapping(resource_pb):
"""Helper for :func:_log_entry_pb_to_mapping"""
"""Helper for :func:_log_entry_pb_to_mapping
"""

This comment was marked as spam.

This comment was marked as spam.

@dhermes
Copy link
Contributor

dhermes commented Aug 18, 2016

@tseaver What inspired this hygienic PR?

They used to add value, but as the GAX API surface evolved, they are
just cruft.
- Move '_pb_timestamp_to_rfc3339' to '_helpers' (where other datetime utils
  live).

- Update comments for helpers which map protobuf attrs to / from JSON
  mappings:  because the names change (camelCase vs. with_underlines),
  the wished-for protobuf helper function would be inadequate.
@dhermes
Copy link
Contributor

dhermes commented Aug 18, 2016

LGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement. grpc testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants