Uh oh!
There was an error while loading. Please reload this page.
Generate gapic for logging, remove all references to gax - #4759
Conversation
| @@ -0,0 +1,310 @@ | |||
| # -*- coding: utf-8 -*- | |||
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
| 'LoggingServiceV2Client', | ||
| 'ConfigServiceV2Client', | ||
| 'MetricsServiceV2Client', | ||
| ) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
| } | ||
| } | ||
| } | ||
| } |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
| for name, message in get_messages(module).items(): | ||
| message.__module__ = 'google.cloud.logging_v2.types' | ||
| setattr(sys.modules[__name__], name, message) | ||
| names.append(name) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
| @@ -16,14 +16,11 @@ | |||
| import logging | |||
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
| self.assertEqual(client.project, self.PROJECT) | ||
| def test_logging_api_wo_gax(self): | ||
| def test_logging_api_wo_gapi(self): |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
| 'google-api-core >= 0.1.1, < 0.2.0dev', | ||
| 'gapic-google-cloud-logging-v2 >= 0.91.0, < 0.92dev', | ||
| 'google-cloud-core >= 0.28.0, < 0.29dev', | ||
| 'google-api-core[grpc] >= 0.1.1, < 0.2.0dev', |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
theacodes
commented
Jan 18, 2018
CI is failing due to bigquery non-determinism (addressing in #4760), will rebase and merge when CI is greeeen. |
3130c26 to
13f45fdCompare13f45fd to
d14b71fCompareCommand log: ``` set DEST ~/workspace/google-cloud-python/logging set GOOGLEAPIS_REV fca7f0706769f8ece08121a87394b7c6e6d87687 cd /tmp git clone https://github.com/googleapis/googleapis.git cd googleapis git reset --hard $GOOGLEAPIS_REV artman --config google/logging/artman_logging.yaml generate python_gapic set SRC ./artman-genfiles/python/logging-v2/ set IMPORT_PKG logging_v2 cp -r $SRC/docs $DEST cp -r $SRC/google/cloud/$IMPORT_PKG $DEST/google/cloud/ mkdir -p $DEST/tests/unit/gapic cp -r $SRC/tests/unit/gapic $DEST/tests/unit mkdir -p $DEST/tests/system/gapic cp -r $SRC/tests/system/gapic $DEST/tests/system ```
342bf15 to
24fd8e5Compare* Import logging_v2 generated by artman Command log: ``` set DEST ~/workspace/google-cloud-python/logging set GOOGLEAPIS_REV fca7f0706769f8ece08121a87394b7c6e6d87687 cd /tmp git clone https://github.com/googleapis/googleapis.git cd googleapis git reset --hard $GOOGLEAPIS_REV artman --config google/logging/artman_logging.yaml generate python_gapic set SRC ./artman-genfiles/python/logging-v2/ set IMPORT_PKG logging_v2 cp -r $SRC/docs $DEST cp -r $SRC/google/cloud/$IMPORT_PKG $DEST/google/cloud/ mkdir -p $DEST/tests/unit/gapic cp -r $SRC/tests/unit/gapic $DEST/tests/unit mkdir -p $DEST/tests/system/gapic cp -r $SRC/tests/system/gapic $DEST/tests/system ``` * Removing all references to gax * Fix typo * Add missing encoding * Remove unused test helper
Towards #4692.
This was not fun. Once again, I recommend reviewing commit-by-commit (there's only 2)