Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

test(translate): add py2 deprecation warning; bump copyright year to 2020; add 3.8 unit tests (via synth)#9943

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
busunkim96 merged 6 commits intomasterfromautosynth-translate
Jan 30, 2020

Conversation

@yoshi-automation
Copy link
Contributor

This PR was generated using Autosynth. 🌈

Log from Synthtool
synthtool > Executing /tmpfs/src/git/autosynth/working_repo/translate/synth.py.synthtool > Ensuring dependencies.synthtool > Pulling artman image.latest: Pulling from googleapis/artmanDigest: sha256:c773192618c608a7a0415dd95282f841f8e6bcdef7dd760a988c93b77a64bd57Status: Image is up to date for googleapis/artman:latestsynthtool > Cloning googleapis.synthtool > Running generator for google/cloud/translate/artman_translate_v3beta1.yaml.synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/translate-v3beta1.synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/translate/v3beta1/translation_service.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/translate-v3beta1/google/cloud/translate_v3beta1/proto/translation_service.protosynthtool > Placed proto files into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/translate-v3beta1/google/cloud/translate_v3beta1/proto.synthtool > Replaced 'google.cloud.translation_v3beta1.proto' in google/cloud/translate_v3beta1/proto/translation_service_pb2_grpc.py.synthtool > Running generator for google/cloud/translate/artman_translate_v3.yaml.synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/translate-v3.synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/translate/v3/translation_service.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/translate-v3/google/cloud/translate_v3/proto/translation_service.protosynthtool > Placed proto files into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/translate-v3/google/cloud/translate_v3/proto.synthtool > Replaced 'google.cloud.translation_v3.proto' in google/cloud/translate_v3/proto/translation_service_pb2_grpc.py.synthtool > Replaced "record delimiters are ':raw-latex:`\\\\n`' instead of\n          ':raw-latex:`\\\\r`:raw-latex:`\\\\n`'." in google/cloud/translate_v3beta1/proto/translation_service_pb2.py.synthtool > Replaced "record delimiters are ':raw-latex:`\\\\n`' instead of\n          ':raw-latex:`\\\\r`:raw-latex:`\\\\n`'." in google/cloud/translate_v3/proto/translation_service_pb2.py.synthtool > Replaced '__doc__ = """Attributes:' in google/cloud/translate_v3beta1/proto/translation_service_pb2.py.synthtool > Replaced '__doc__ = """Attributes:' in google/cloud/translate_v3/proto/translation_service_pb2.py.synthtool > Replaced 'This field has the same length as \\[``contents`\n\\s+`\\]\\[google\\.cloud\\.translation\\.v3beta1\\.TranslateTextRequest\\.conte\n\\s+nts\\]\\.' in google/cloud/translate_v3beta1/proto/translation_service_pb2.py..coveragerc.flake8MANIFEST.indocs/_static/custom.cssdocs/_templates/layout.htmlnoxfile.py.j2setup.cfgRunning session blackenCreating virtual environment (virtualenv) using python3.6 in .nox/blackenpip install black==19.3b0black docs google tests noxfile.py setup.pyreformatted /tmpfs/src/git/autosynth/working_repo/translate/google/cloud/translate.pyreformatted /tmpfs/src/git/autosynth/working_repo/translate/google/cloud/translate_v3/__init__.pyreformatted /tmpfs/src/git/autosynth/working_repo/translate/google/cloud/translate_v3/gapic/translation_service_client_config.pyreformatted /tmpfs/src/git/autosynth/working_repo/translate/google/cloud/translate_v3/gapic/transports/translation_service_grpc_transport.pyreformatted /tmpfs/src/git/autosynth/working_repo/translate/google/cloud/translate_v3/types.pyreformatted /tmpfs/src/git/autosynth/working_repo/translate/google/cloud/translate_v3beta1/__init__.pyreformatted /tmpfs/src/git/autosynth/working_repo/translate/google/cloud/translate_v3/proto/translation_service_pb2_grpc.pyreformatted /tmpfs/src/git/autosynth/working_repo/translate/google/cloud/translate_v3beta1/gapic/translation_service_client_config.pyreformatted /tmpfs/src/git/autosynth/working_repo/translate/google/cloud/translate_v3beta1/gapic/transports/translation_service_grpc_transport.pyreformatted /tmpfs/src/git/autosynth/working_repo/translate/google/cloud/translate_v3/gapic/translation_service_client.pyreformatted /tmpfs/src/git/autosynth/working_repo/translate/google/cloud/translate_v3beta1/gapic/translation_service_client.pyreformatted /tmpfs/src/git/autosynth/working_repo/translate/google/cloud/translate_v3beta1/proto/translation_service_pb2_grpc.pyreformatted /tmpfs/src/git/autosynth/working_repo/translate/google/cloud/translate_v3beta1/types.pyreformatted /tmpfs/src/git/autosynth/working_repo/translate/noxfile.pyreformatted /tmpfs/src/git/autosynth/working_repo/translate/tests/unit/gapic/v3/test_translation_service_client_v3.pyreformatted /tmpfs/src/git/autosynth/working_repo/translate/tests/unit/gapic/v3beta1/test_translation_service_client_v3beta1.pyreformatted /tmpfs/src/git/autosynth/working_repo/translate/google/cloud/translate_v3/proto/translation_service_pb2.pyreformatted /tmpfs/src/git/autosynth/working_repo/translate/google/cloud/translate_v3beta1/proto/translation_service_pb2.pyAll done! ✨ 🍰 ✨18 files reformatted, 19 files left unchanged.Session blacken was successful.synthtool > Cleaned up 3 temporary directories.synthtool > Wrote metadata to synth.metadata.

@googlebotgooglebot added the cla: yesThis human has signed the Contributor License Agreement. labelDec 7, 2019
@busunkim96busunkim96 changed the title[CHANGE ME] Re-generated translate to pick up changes in the API or client library generator.test(translate): add 3.8 unit tests (via synth)Dec 9, 2019
@busunkim96busunkim96 added the kokoro:force-runAdd this label to force Kokoro to re-run the tests. labelDec 9, 2019
@yoshi-kokoroyoshi-kokoro removed the kokoro:force-runAdd this label to force Kokoro to re-run the tests. labelDec 9, 2019
@busunkim96
Copy link
Contributor

Headers appear to have changed. 🤔 Unit tests are failing across versions.

Expected:request(data='req-data-boring',headers={'Accept-Encoding':'gzip','X-Goog-API-Client':'gl-python/3.6.9 grpc/1.25.0 gax/1.14.3 gapic/2.0.0 gccl/2.0.0','User-Agent':'gl-python/3.6.9 grpc/1.25.0 gax/1.14.3 gapic/2.0.0 gccl/2.0.0'},method='GET',url='https://translation.googleapis.com/language/translate/v2/rainbow')EActual:request(data='req-data-boring',headers={'Accept-Encoding':'gzip','X-Goog-API-Client':'gl-python/3.6.9 grpc/1.25.0 gax/1.14.3 gapic/2.0.0 gccl/2.0.0','User-Agent':'gl-python/3.6.9 grpc/1.25.0 gax/1.14.3 gapic/2.0.0 gccl/2.0.0'},method='GET',timeout=None,url='https://translation.googleapis.com/language/translate/v2/rainbow')<string>:3:AssertionError

@busunkim96busunkim96 added the do not mergeIndicates a pull request not ready for merge, due to either quality or timing. labelDec 10, 2019
@busunkim96busunkim96 added the kokoro:force-runAdd this label to force Kokoro to re-run the tests. labelJan 29, 2020
@yoshi-kokoroyoshi-kokoro removed the kokoro:force-runAdd this label to force Kokoro to re-run the tests. labelJan 29, 2020
@busunkim96busunkim96 changed the titletest(translate): add 3.8 unit tests (via synth)test(translate): fix expected headers; add py2 deprecation warning; bump copyright year to 2020; add 3.8 unit tests (via synth)Jan 30, 2020
@busunkim96busunkim96 changed the titletest(translate): fix expected headers; add py2 deprecation warning; bump copyright year to 2020; add 3.8 unit tests (via synth)test(translate): add py2 deprecation warning; bump copyright year to 2020; add 3.8 unit tests (via synth)Jan 30, 2020
@busunkim96busunkim96 merged commit79d8e00 intomasterJan 30, 2020
This was referencedJan 30, 2020
This was referencedJan 30, 2020
parthea pushed a commit that referenced this pull requestOct 21, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

1 more reviewer

@busunkim96busunkim96busunkim96 approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

cla: yesThis human has signed the Contributor License Agreement.do not mergeIndicates a pull request not ready for merge, due to either quality or timing.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@yoshi-automation@busunkim96@googlebot@yoshi-kokoro

[8]ページ先頭

©2009-2025 Movatter.jp