Skip to content

Normalize gax support - #2124

Merged
tseaver merged 3 commits into
googleapis:masterfrom
tseaver:normalize-gax-support
Aug 18, 2016
Merged

Normalize gax support#2124
tseaver merged 3 commits into
googleapis:masterfrom
tseaver:normalize-gax-support

Conversation

@tseaver

Copy link
Copy Markdown
Contributor

No description provided.

@googlebotgooglebot 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
Copy Markdown
Contributor

@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
Copy Markdown
Contributor

LGTM.

@tseaver
tseaver merged commit 9a7da8f into googleapis:masterAug 18, 2016
@tseaver
tseaver deleted the normalize-gax-support branch August 18, 2016 19:19
dhermes added a commit to dhermes/google-cloud-python that referenced this pull request Aug 19, 2016
@dhermesdhermes mentioned this pull request Sep 19, 2016
parthea pushed a commit that referenced this pull request Apr 1, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yesThis human has signed the Contributor License Agreement.grpctesting

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@tseaver@dhermes@daspecster@googlebot