GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |
GeezerVison is showing github.com — _LoggingAPI: impedance matching with JSON API. by tseaver · Pull Request #1892 · googleapis/google-cloud-python Conversation
|
|
@daspecster Rebased after merge of #1888. PTAL. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
JSON APIs return mappings using 'camelCase' keys, while the generated protobuf attributes 'use_underscores'.
Also update the `docs` session to 3.10 to match the Python GAPIC code generator used to generate Cloud Client libraries: https://github.com/googleapis/gapic-generator-python/blob/d20dd2876fbf8c35f6a994639864815b0d7608ab/gapic/templates/noxfile.py.j2#L360-L361 Also update black to 23.7.0 to resolve the following stack trace ``` nox > python -m pip install flake8 flake8-import-order docutils click==8.0.4 black==19.3b0 nox > python -m pip install -e . nox > black --check google tests tests_async noxfile.py setup.py docs/conf.py Traceback (most recent call last): File "/tmpfs/src/github/google-auth-library-python/.nox/lint/bin/black", line 8, in <module> sys.exit(patched_main()) ~~~~~~~~~~~~^^ File "/tmpfs/src/github/google-auth-library-python/.nox/lint/lib/python3.14/site-packages/black.py", line 3754, in patched_main main() ~~~~^^ File "/tmpfs/src/github/google-auth-library-python/.nox/lint/lib/python3.14/site-packages/click/core.py", line 1128, in __call__ return self.main(*args, **kwargs) ~~~~~~~~~^^^^^^^^^^^^^^^^^ File "/tmpfs/src/github/google-auth-library-python/.nox/lint/lib/python3.14/site-packages/click/core.py", line 1053, in main rv = self.invoke(ctx) File "/tmpfs/src/github/google-auth-library-python/.nox/lint/lib/python3.14/site-packages/click/core.py", line 1395, in invoke return ctx.invoke(self.callback, **ctx.params) ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmpfs/src/github/google-auth-library-python/.nox/lint/lib/python3.14/site-packages/click/core.py", line 754, in invoke return __callback(*args, **kwargs) File "/tmpfs/src/github/google-auth-library-python/.nox/lint/lib/python3.14/site-packages/click/decorators.py", line 26, in new_func return f(get_current_context(), *args, **kwargs) File "/tmpfs/src/github/google-auth-library-python/.nox/lint/lib/python3.14/site-packages/black.py", line 434, in main loop = asyncio.get_event_loop() File "/usr/local/lib/python3.14/asyncio/events.py", line 715, in get_event_loop raise RuntimeError('There is no current event loop in thread %r.' % threading.current_thread().name) RuntimeError: There is no current event loop in thread 'MainThread'. nox > Command black --check google tests tests_async noxfile.py setup.py docs/conf.py failed with exit code 1 ``` This PR also fixes the coverage presubmit to append the coverage check to run across python runtimes.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.