Skip to content

feat(api core): simplify from_rfc3339 methods - #9641

Merged
emar-kar merged 29 commits into
googleapis:masterfrom
MaxxleLLC:iss-7676
Nov 13, 2019
Merged

feat(api core): simplify from_rfc3339 methods#9641
emar-kar merged 29 commits into
googleapis:masterfrom
MaxxleLLC:iss-7676

Conversation

@emar-kar

Copy link
Copy Markdown
Contributor

This PR was reopened for the clearness of the provided changes. (Old one 8742)

Closes: #7676

emar-kar added 21 commits July 22, 2019 16:55
Two similar methods combined into one.
Re-write tests for the 'from_rfc3339_nanos' method.
Fix for coverage and lint failures.
restore previous version with testing regex first + cosmetic chgs for the descriptions
added test to check the deprecation warning
adjusted the condition for the 'from_rfc3339' method + warning fix
* deleted extra spaces
* 'if-else' statement restored to throw an exception
* wrote additional tests to cover the exception
Two similar methods combined into one.
Re-write tests for the 'from_rfc3339_nanos' method.
Fix for coverage and lint failures.
restore previous version with testing regex first + cosmetic chgs for the descriptions
added test to check the deprecation warning
adjusted the condition for the 'from_rfc3339' method + warning fix
* deleted extra spaces
* 'if-else' statement restored to throw an exception
* wrote additional tests to cover the exception
@googlebotgooglebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 8, 2019
@emar-karemar-kar added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 8, 2019
@yoshi-kokoroyoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 8, 2019
Comment threadapi_core/google/api_core/bidi.py
Comment threadapi_core/google/api_core/datetime_helpers.py Outdated
Comment threadapi_core/google/api_core/protobuf_helpers.py
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

API Core: Simplify from_rfc3339 methods

5 participants

@emar-kar@tseaver@crwilcox@googlebot@yoshi-kokoro