Skip to content

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