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

feat(api core): simplify from_rfc3339 methods #9641

Merged
merged 29 commits into from
Nov 13, 2019

Conversation

emar-kar
Copy link
Contributor

@emar-kar emar-kar commented Nov 8, 2019

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
@emar-kar emar-kar requested a review from busunkim96 as a code owner November 8, 2019 08:23
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 8, 2019
@emar-kar emar-kar added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 8, 2019
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 8, 2019
@emar-kar emar-kar requested review from tseaver and crwilcox November 8, 2019 08:32
api_core/google/api_core/bidi.py Show resolved Hide resolved
api_core/google/api_core/datetime_helpers.py Outdated Show resolved Hide resolved
api_core/google/api_core/protobuf_helpers.py Show resolved Hide resolved
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

API Core: Simplify from_rfc3339 methods
5 participants