[CHANGE ME] Re-generated grafeas to pick up changes in the API or client library generator. by yoshi-automation · Pull Request #10330 · googleapis/google-cloud-python · GitHub
Commits in this repo since last synth: dfffcc7 chore(): remove now split repos (#10326) 1c9ba2c chore: remove more libs for repo split (#10313) e14458e chore(): delete now split repo'd products (#10312) b13c58f chore(bigquery): release 1.24.0 (#10322) a65065c chore(bigquery): bump copyright year to 2020, tweak docstring formatting (via synth) #10225 10dd74a refactor(bigquery): update code samples of load table file and uri (#10175) 1ebe370 chore(core:) release core 1.3.0 (#10308) d6bd819 fix(spanner): fix imports for doc samples (#10283) 970ed4c fix: update resume token for restarting BiDi streams (#10282) f0bcbd6 fix(bigquery): fix inserting missing repeated fields (#10196) 77dd923 test(bigquery): add tests for concatenating categorical columns (#10180) 193a1dd feat(spanner): add resource based routing implementation (#10183) e710547 feat(storage): add support for signing URLs using token (#9889) 7c87dab fix: consume part of StreamingResponseIterator to support failure while under a retry context (#10206) c3b9327 feat(pubsub): add delivery attempt property to message object received by user code (#10205) ad93c6c chore(translate): change line breaks in docstrings (via synth)(#10274) 75cfcc4 chore(monitoring): change docstring line breaks (via synth) (#10268) 81255ec chore(vision): change docstring line breaks (via synth) (#10275) b9dfc45 chore(webrisk): change docstring line breaks (#10276) 141159e chore(websecurityscanner): change line breaks in docstrings (via synth) (#10277) de7cd71 chore(trace): change docstring line breaks (via synth) (#10273) 97b1ee2 chore(texttospeech): change docstring line breaks (via synth) (#10272) 881e563 fix(tasks): change default timeout values; bump copyright year to 2020; change line breaks in docstrings (via synth) (#10271) 4ade830 chore(speech): change docstring line breaks (via synth) (#10270) 3ba970f chore(spanner): bump copyright year to 2020; change docstring formatting (via synth) (#10269) af12d08 chore(kms): bump copyright year to 2020; change docstring line breaks (via synth) (#10267) 59c8101 chore(irm): change docstring line breaks (via synth) (#10266)
Log from Synthtool
synthtool > Executing /tmpfs/src/git/autosynth/working_repo/grafeas/synth.py.
synthtool > Ensuring dependencies.
synthtool > Pulling artman image.
latest: Pulling from googleapis/artman
Digest: sha256:19e945954fc960a4bdfee6cb34695898ab21a8cf0bac063ee39b91f00a1faec8
Status: Image is up to date for googleapis/artman:latest
synthtool > Cloning googleapis.
synthtool > Running generator for grafeas/artman_grafeas_v1.yaml.
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/grafeas-v1.
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/grafeas/v1/attestation.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/grafeas-v1/google/cloud/grafeas_v1/proto/attestation.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/grafeas/v1/provenance.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/grafeas-v1/google/cloud/grafeas_v1/proto/provenance.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/grafeas/v1/deployment.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/grafeas-v1/google/cloud/grafeas_v1/proto/deployment.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/grafeas/v1/vulnerability.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/grafeas-v1/google/cloud/grafeas_v1/proto/vulnerability.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/grafeas/v1/discovery.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/grafeas-v1/google/cloud/grafeas_v1/proto/discovery.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/grafeas/v1/common.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/grafeas-v1/google/cloud/grafeas_v1/proto/common.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/grafeas/v1/image.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/grafeas-v1/google/cloud/grafeas_v1/proto/image.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/grafeas/v1/build.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/grafeas-v1/google/cloud/grafeas_v1/proto/build.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/grafeas/v1/cvss.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/grafeas-v1/google/cloud/grafeas_v1/proto/cvss.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/grafeas/v1/upgrade.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/grafeas-v1/google/cloud/grafeas_v1/proto/upgrade.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/grafeas/v1/package.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/grafeas-v1/google/cloud/grafeas_v1/proto/package.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/grafeas/v1/grafeas.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/grafeas-v1/google/cloud/grafeas_v1/proto/grafeas.proto
synthtool > Placed proto files into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/grafeas-v1/google/cloud/grafeas_v1/proto.
synthtool > Replaced 'from grafeas\\.v1( import \\w*_pb2)' in grafeas/grafeas_v1/types.py.
synthtool > Replaced 'from grafeas\\.v1( import \\w*_pb2)' in grafeas/grafeas_v1/gapic/grafeas_client.py.
synthtool > Replaced 'from grafeas\\.v1( import \\w*_pb2)' in grafeas/grafeas_v1/gapic/transports/grafeas_grpc_transport.py.
synthtool > Replaced 'from grafeas\\.v1( import \\w*_pb2)' in tests/unit/gapic/v1/test_grafeas_client_v1.py.
synthtool > Replaced 'from grafeas_v1\\.proto( import \\w*_pb2)' in grafeas/grafeas_v1/proto/vulnerability_pb2.py.
synthtool > Replaced 'from grafeas_v1\\.proto( import \\w*_pb2)' in grafeas/grafeas_v1/proto/discovery_pb2.py.
synthtool > Replaced 'from grafeas_v1\\.proto( import \\w*_pb2)' in grafeas/grafeas_v1/proto/attestation_pb2.py.
synthtool > Replaced 'from grafeas_v1\\.proto( import \\w*_pb2)' in grafeas/grafeas_v1/proto/build_pb2.py.
synthtool > Replaced 'from grafeas_v1\\.proto( import \\w*_pb2)' in grafeas/grafeas_v1/proto/upgrade_pb2.py.
synthtool > Replaced 'from grafeas_v1\\.proto( import \\w*_pb2)' in grafeas/grafeas_v1/proto/grafeas_pb2.py.
synthtool > Replaced 'from grafeas_v1\\.proto' in grafeas/grafeas_v1/proto/grafeas_pb2_grpc.py.
synthtool > Replaced 'google-cloud-grafeas' in grafeas/grafeas_v1/gapic/grafeas_client.py.
synthtool > Replaced '(\\s+)__doc__ = \\"\\"\\"Attributes:' in grafeas/grafeas_v1/proto/vulnerability_pb2.py.
synthtool > Replaced 'Container Analysis' in docs/gapic/v1/api.rst.
synthtool > Replaced 'Container Analysis' in docs/gapic/v1/types.rst.
synthtool > Replaced ' SERVICE_ADDRESS = \'containeranalysis\\.googleapis\\.com:443\'\n \\"\\"\\"The default address of the service\\.\\"\\"\\"' in grafeas/grafeas_v1/gapic/grafeas_client.py.
synthtool > Replaced ' def __init__\\(self, transport=None, channel=None, credentials=None,\n client_config=None, client_info=None, client_options=None\\):' in grafeas/grafeas_v1/gapic/grafeas_client.py.
synthtool > Replaced 'Union\\[~\\.GrafeasGrpcTransport,\n Callable\\[\\[~\\.Credentials, type], ~\\.GrafeasGrpcTransport\\]' in grafeas/grafeas_v1/gapic/grafeas_client.py.
synthtool > Replaced ' channel \\(grpc\\.Channel\\): DEPRECATED\\. A ``Channel`` instance\n through which to make calls\\. This argument is mutually exclusive\n with ``credentials``; providing both will raise an exception\\.\n credentials \\(google\\.auth\\.credentials\\.Credentials\\): The\n authorization credentials to attach to requests\\. These\n credentials identify this application to the service\\. If none\n are specified, the client will attempt to ascertain the\n credentials from the environment\\.\n This argument is mutually exclusive with providing a\n transport instance to ``transport``; doing so will raise\n an exception\\.' in grafeas/grafeas_v1/gapic/grafeas_client.py.
synthtool > Replaced 'import google.api_core.client_options\n' in grafeas/grafeas_v1/gapic/grafeas_client.py.
synthtool > Replaced ' client_options \\(Union\\[dict, google\\.api_core\\.client_options\\.ClientOptions\\]\\):\n Client options used to set user options on the client\\. API Endpoint\n should be set through client_options\\.\n \\"\\"\\"' in grafeas/grafeas_v1/gapic/grafeas_client.py.
synthtool > Replaced "if channel:\n warnings\\.warn\\('The `channel` argument is deprecated; use '\n '`transport` instead\\.',\n PendingDeprecationWarning, stacklevel=2\\)\n\n api_endpoint = self\\.SERVICE_ADDRESS\n if client_options:\n if type\\(client_options\\) == dict:\n client_options = google\\.api_core\\.client_options\\.from_dict\\(client_options\\)\n if client_options\\.api_endpoint:\n api_endpoint = client_options\\.api_endpoint\n\n \\# Instantiate the transport\\.\n \\# The transport is responsible for handling serialization and\n \\# deserialization and actually sending data to the service\\.\n if transport:\n if callable\\(transport\\):\n self\\.transport = transport\\(\n credentials=credentials,\n default_class=grafeas_grpc_transport\\.GrafeasGrpcTransport,\n address=api_endpoint,\n \\)\n else:\n if credentials:\n raise ValueError\\(\n 'Received both a transport instance and '\n 'credentials; these are mutually exclusive\\.'\n \\)\n self\\.transport = transport\n else:\n self\\.transport = grafeas_grpc_transport\\.GrafeasGrpcTransport\\(\n address=api_endpoint,\n channel=channel,\n credentials=credentials,\n \\)" in grafeas/grafeas_v1/gapic/grafeas_client.py.
synthtool > Replaced ' Example:\n >>> from grafeas import grafeas_v1\n >>>\n >>> client = grafeas_v1\\.GrafeasClient\\(\\)' in grafeas/grafeas_v1/gapic/grafeas_client.py.
synthtool > Replaced ' @classmethod\n def from_service_account_file\\(cls, filename, \\*args, \\*\\*kwargs\\):\n """Creates an instance of this client using the provided credentials\n file\\.\n\n Args:\n filename \\(str\\): The path to the service account private key json\n file\\.\n args: Additional arguments to pass to the constructor\\.\n kwargs: Additional arguments to pass to the constructor\\.\n\n Returns:\n GrafeasClient: The constructed client\\.\n """\n credentials = service_account\\.Credentials\\.from_service_account_file\\(\n filename\\)\n kwargs\\[\'credentials\'\\] = credentials\n return cls\\(\\*args, \\*\\*kwargs\\)\n\n from_service_account_json = from_service_account_file' in grafeas/grafeas_v1/gapic/grafeas_client.py.
synthtool > Replaced " \\# The scopes needed to make gRPC calls to all of the methods defined\n \\# in this service\\.\n _OAUTH_SCOPES = \\(\n 'https://www\\.googleapis\\.com/auth/cloud-platform',\n \\)" in grafeas/grafeas_v1/gapic/transports/grafeas_grpc_transport.py.
synthtool > Replaced " def __init__\\(self, channel=None, credentials=None,\n address='containeranalysis\\.googleapis\\.com:443'\\):" in grafeas/grafeas_v1/gapic/transports/grafeas_grpc_transport.py.
synthtool > Replaced ' \\# Create the channel\\.\n if channel is None:\n channel = self\\.create_channel\\(\n address=address,\n credentials=credentials,\n' in grafeas/grafeas_v1/gapic/transports/grafeas_grpc_transport.py.
synthtool > Replaced " def create_channel\\(\n cls,\n address='containeranalysis\\.googleapis\\.com:443',\n credentials=None,\n \\*\\*kwargs\\):" in grafeas/grafeas_v1/gapic/transports/grafeas_grpc_transport.py.
synthtool > Replaced ' Args:\n address \\(str\\): The host for the channel to use\\.\n credentials \\(~\\.Credentials\\): The\n authorization credentials to attach to requests\\. These\n credentials identify this application to the service\\. If\n none are specified, the client will attempt to ascertain\n the credentials from the environment\\.' in grafeas/grafeas_v1/gapic/transports/grafeas_grpc_transport.py.
synthtool > Replaced ' return google\\.api_core\\.grpc_helpers\\.create_channel\\(\n address,\n credentials=credentials,\n scopes=cls\\._OAUTH_SCOPES,\n \\*\\*kwargs\n \\)' in grafeas/grafeas_v1/gapic/transports/grafeas_grpc_transport.py.
synthtool > Replaced ' \\"\\"\\"Instantiate the transport class\\.\n\n Args:\n channel \\(grpc\\.Channel\\): A ``Channel`` instance through\n which to make calls\\. This argument is mutually exclusive\n with ``credentials``; providing both will raise an exception\\.\n credentials \\(google\\.auth\\.credentials\\.Credentials\\): The\n authorization credentials to attach to requests\\. These\n credentials identify this application to the service\\. If none\n are specified, the client will attempt to ascertain the\n credentials from the environment\\.\n address \\(str\\): The address where the service is hosted\\.' in grafeas/grafeas_v1/gapic/transports/grafeas_grpc_transport.py.
synthtool > Replaced 'from grafeas\\.grafeas_v1\\.proto import grafeas_pb2' in tests/unit/gapic/v1/test_grafeas_client_v1.py.
synthtool > Replaced '(\\s+)client = grafeas_v1\\.GrafeasClient\\(\\)' in tests/unit/gapic/v1/test_grafeas_client_v1.py.
.coveragerc
.flake8
MANIFEST.in
docs/_static/custom.css
docs/_templates/layout.html
noxfile.py.j2
setup.cfg
Running session blacken
Creating virtual environment (virtualenv) using python3.6 in .nox/blacken
pip install black
black grafeas tests docs
reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas.py
reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/__init__.py
reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/gapic/enums.py
reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/gapic/grafeas_client_config.py
reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/attestation_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/gapic/transports/grafeas_grpc_transport.py
reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/build_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/build_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/common_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/attestation_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/cvss_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/common_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/deployment_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/deployment_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/discovery_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/gapic/grafeas_client.py
reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/discovery_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/cvss_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/image_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/grafeas_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/package_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/image_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/provenance_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/package_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/upgrade_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/upgrade_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/vulnerability_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/types.py
reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/vulnerability_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/tests/unit/gapic/v1/test_grafeas_client_v1.py
reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/provenance_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/grafeas_pb2.py
All done! ✨ 🍰 ✨
32 files reformatted, 5 files left unchanged.
Session blacken was successful.
synthtool > Wrote metadata to synth.metadata.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was generated using Autosynth. 🌈
Commits in this repo since last synth:
Log from Synthtooldfffcc7 chore(): remove now split repos (#10326)
1c9ba2c chore: remove more libs for repo split (#10313)
e14458e chore(): delete now split repo'd products (#10312)
b13c58f chore(bigquery): release 1.24.0 (#10322)
a65065c chore(bigquery): bump copyright year to 2020, tweak docstring formatting (via synth) #10225
10dd74a refactor(bigquery): update code samples of load table file and uri (#10175)
1ebe370 chore(core:) release core 1.3.0 (#10308)
d6bd819 fix(spanner): fix imports for doc samples (#10283)
970ed4c fix: update resume token for restarting BiDi streams (#10282)
f0bcbd6 fix(bigquery): fix inserting missing repeated fields (#10196)
77dd923 test(bigquery): add tests for concatenating categorical columns (#10180)
193a1dd feat(spanner): add resource based routing implementation (#10183)
e710547 feat(storage): add support for signing URLs using token (#9889)
7c87dab fix: consume part of StreamingResponseIterator to support failure while under a retry context (#10206)
c3b9327 feat(pubsub): add delivery attempt property to message object received by user code (#10205)
ad93c6c chore(translate): change line breaks in docstrings (via synth)(#10274)
75cfcc4 chore(monitoring): change docstring line breaks (via synth) (#10268)
81255ec chore(vision): change docstring line breaks (via synth) (#10275)
b9dfc45 chore(webrisk): change docstring line breaks (#10276)
141159e chore(websecurityscanner): change line breaks in docstrings (via synth) (#10277)
de7cd71 chore(trace): change docstring line breaks (via synth) (#10273)
97b1ee2 chore(texttospeech): change docstring line breaks (via synth) (#10272)
881e563 fix(tasks): change default timeout values; bump copyright year to 2020; change line breaks in docstrings (via synth) (#10271)
4ade830 chore(speech): change docstring line breaks (via synth) (#10270)
3ba970f chore(spanner): bump copyright year to 2020; change docstring formatting (via synth) (#10269)
af12d08 chore(kms): bump copyright year to 2020; change docstring line breaks (via synth) (#10267)
59c8101 chore(irm): change docstring line breaks (via synth) (#10266)
synthtool > Executing /tmpfs/src/git/autosynth/working_repo/grafeas/synth.py. synthtool > Ensuring dependencies. synthtool > Pulling artman image. latest: Pulling from googleapis/artman Digest: sha256:19e945954fc960a4bdfee6cb34695898ab21a8cf0bac063ee39b91f00a1faec8 Status: Image is up to date for googleapis/artman:latest synthtool > Cloning googleapis. synthtool > Running generator for grafeas/artman_grafeas_v1.yaml. synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/grafeas-v1. synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/grafeas/v1/attestation.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/grafeas-v1/google/cloud/grafeas_v1/proto/attestation.proto synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/grafeas/v1/provenance.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/grafeas-v1/google/cloud/grafeas_v1/proto/provenance.proto synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/grafeas/v1/deployment.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/grafeas-v1/google/cloud/grafeas_v1/proto/deployment.proto synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/grafeas/v1/vulnerability.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/grafeas-v1/google/cloud/grafeas_v1/proto/vulnerability.proto synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/grafeas/v1/discovery.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/grafeas-v1/google/cloud/grafeas_v1/proto/discovery.proto synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/grafeas/v1/common.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/grafeas-v1/google/cloud/grafeas_v1/proto/common.proto synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/grafeas/v1/image.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/grafeas-v1/google/cloud/grafeas_v1/proto/image.proto synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/grafeas/v1/build.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/grafeas-v1/google/cloud/grafeas_v1/proto/build.proto synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/grafeas/v1/cvss.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/grafeas-v1/google/cloud/grafeas_v1/proto/cvss.proto synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/grafeas/v1/upgrade.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/grafeas-v1/google/cloud/grafeas_v1/proto/upgrade.proto synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/grafeas/v1/package.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/grafeas-v1/google/cloud/grafeas_v1/proto/package.proto synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/grafeas/v1/grafeas.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/grafeas-v1/google/cloud/grafeas_v1/proto/grafeas.proto synthtool > Placed proto files into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/grafeas-v1/google/cloud/grafeas_v1/proto. synthtool > Replaced 'from grafeas\\.v1( import \\w*_pb2)' in grafeas/grafeas_v1/types.py. synthtool > Replaced 'from grafeas\\.v1( import \\w*_pb2)' in grafeas/grafeas_v1/gapic/grafeas_client.py. synthtool > Replaced 'from grafeas\\.v1( import \\w*_pb2)' in grafeas/grafeas_v1/gapic/transports/grafeas_grpc_transport.py. synthtool > Replaced 'from grafeas\\.v1( import \\w*_pb2)' in tests/unit/gapic/v1/test_grafeas_client_v1.py. synthtool > Replaced 'from grafeas_v1\\.proto( import \\w*_pb2)' in grafeas/grafeas_v1/proto/vulnerability_pb2.py. synthtool > Replaced 'from grafeas_v1\\.proto( import \\w*_pb2)' in grafeas/grafeas_v1/proto/discovery_pb2.py. synthtool > Replaced 'from grafeas_v1\\.proto( import \\w*_pb2)' in grafeas/grafeas_v1/proto/attestation_pb2.py. synthtool > Replaced 'from grafeas_v1\\.proto( import \\w*_pb2)' in grafeas/grafeas_v1/proto/build_pb2.py. synthtool > Replaced 'from grafeas_v1\\.proto( import \\w*_pb2)' in grafeas/grafeas_v1/proto/upgrade_pb2.py. synthtool > Replaced 'from grafeas_v1\\.proto( import \\w*_pb2)' in grafeas/grafeas_v1/proto/grafeas_pb2.py. synthtool > Replaced 'from grafeas_v1\\.proto' in grafeas/grafeas_v1/proto/grafeas_pb2_grpc.py. synthtool > Replaced 'google-cloud-grafeas' in grafeas/grafeas_v1/gapic/grafeas_client.py. synthtool > Replaced '(\\s+)__doc__ = \\"\\"\\"Attributes:' in grafeas/grafeas_v1/proto/vulnerability_pb2.py. synthtool > Replaced 'Container Analysis' in docs/gapic/v1/api.rst. synthtool > Replaced 'Container Analysis' in docs/gapic/v1/types.rst. synthtool > Replaced ' SERVICE_ADDRESS = \'containeranalysis\\.googleapis\\.com:443\'\n \\"\\"\\"The default address of the service\\.\\"\\"\\"' in grafeas/grafeas_v1/gapic/grafeas_client.py. synthtool > Replaced ' def __init__\\(self, transport=None, channel=None, credentials=None,\n client_config=None, client_info=None, client_options=None\\):' in grafeas/grafeas_v1/gapic/grafeas_client.py. synthtool > Replaced 'Union\\[~\\.GrafeasGrpcTransport,\n Callable\\[\\[~\\.Credentials, type], ~\\.GrafeasGrpcTransport\\]' in grafeas/grafeas_v1/gapic/grafeas_client.py. synthtool > Replaced ' channel \\(grpc\\.Channel\\): DEPRECATED\\. A ``Channel`` instance\n through which to make calls\\. This argument is mutually exclusive\n with ``credentials``; providing both will raise an exception\\.\n credentials \\(google\\.auth\\.credentials\\.Credentials\\): The\n authorization credentials to attach to requests\\. These\n credentials identify this application to the service\\. If none\n are specified, the client will attempt to ascertain the\n credentials from the environment\\.\n This argument is mutually exclusive with providing a\n transport instance to ``transport``; doing so will raise\n an exception\\.' in grafeas/grafeas_v1/gapic/grafeas_client.py. synthtool > Replaced 'import google.api_core.client_options\n' in grafeas/grafeas_v1/gapic/grafeas_client.py. synthtool > Replaced ' client_options \\(Union\\[dict, google\\.api_core\\.client_options\\.ClientOptions\\]\\):\n Client options used to set user options on the client\\. API Endpoint\n should be set through client_options\\.\n \\"\\"\\"' in grafeas/grafeas_v1/gapic/grafeas_client.py. synthtool > Replaced "if channel:\n warnings\\.warn\\('The `channel` argument is deprecated; use '\n '`transport` instead\\.',\n PendingDeprecationWarning, stacklevel=2\\)\n\n api_endpoint = self\\.SERVICE_ADDRESS\n if client_options:\n if type\\(client_options\\) == dict:\n client_options = google\\.api_core\\.client_options\\.from_dict\\(client_options\\)\n if client_options\\.api_endpoint:\n api_endpoint = client_options\\.api_endpoint\n\n \\# Instantiate the transport\\.\n \\# The transport is responsible for handling serialization and\n \\# deserialization and actually sending data to the service\\.\n if transport:\n if callable\\(transport\\):\n self\\.transport = transport\\(\n credentials=credentials,\n default_class=grafeas_grpc_transport\\.GrafeasGrpcTransport,\n address=api_endpoint,\n \\)\n else:\n if credentials:\n raise ValueError\\(\n 'Received both a transport instance and '\n 'credentials; these are mutually exclusive\\.'\n \\)\n self\\.transport = transport\n else:\n self\\.transport = grafeas_grpc_transport\\.GrafeasGrpcTransport\\(\n address=api_endpoint,\n channel=channel,\n credentials=credentials,\n \\)" in grafeas/grafeas_v1/gapic/grafeas_client.py. synthtool > Replaced ' Example:\n >>> from grafeas import grafeas_v1\n >>>\n >>> client = grafeas_v1\\.GrafeasClient\\(\\)' in grafeas/grafeas_v1/gapic/grafeas_client.py. synthtool > Replaced ' @classmethod\n def from_service_account_file\\(cls, filename, \\*args, \\*\\*kwargs\\):\n """Creates an instance of this client using the provided credentials\n file\\.\n\n Args:\n filename \\(str\\): The path to the service account private key json\n file\\.\n args: Additional arguments to pass to the constructor\\.\n kwargs: Additional arguments to pass to the constructor\\.\n\n Returns:\n GrafeasClient: The constructed client\\.\n """\n credentials = service_account\\.Credentials\\.from_service_account_file\\(\n filename\\)\n kwargs\\[\'credentials\'\\] = credentials\n return cls\\(\\*args, \\*\\*kwargs\\)\n\n from_service_account_json = from_service_account_file' in grafeas/grafeas_v1/gapic/grafeas_client.py. synthtool > Replaced " \\# The scopes needed to make gRPC calls to all of the methods defined\n \\# in this service\\.\n _OAUTH_SCOPES = \\(\n 'https://www\\.googleapis\\.com/auth/cloud-platform',\n \\)" in grafeas/grafeas_v1/gapic/transports/grafeas_grpc_transport.py. synthtool > Replaced " def __init__\\(self, channel=None, credentials=None,\n address='containeranalysis\\.googleapis\\.com:443'\\):" in grafeas/grafeas_v1/gapic/transports/grafeas_grpc_transport.py. synthtool > Replaced ' \\# Create the channel\\.\n if channel is None:\n channel = self\\.create_channel\\(\n address=address,\n credentials=credentials,\n' in grafeas/grafeas_v1/gapic/transports/grafeas_grpc_transport.py. synthtool > Replaced " def create_channel\\(\n cls,\n address='containeranalysis\\.googleapis\\.com:443',\n credentials=None,\n \\*\\*kwargs\\):" in grafeas/grafeas_v1/gapic/transports/grafeas_grpc_transport.py. synthtool > Replaced ' Args:\n address \\(str\\): The host for the channel to use\\.\n credentials \\(~\\.Credentials\\): The\n authorization credentials to attach to requests\\. These\n credentials identify this application to the service\\. If\n none are specified, the client will attempt to ascertain\n the credentials from the environment\\.' in grafeas/grafeas_v1/gapic/transports/grafeas_grpc_transport.py. synthtool > Replaced ' return google\\.api_core\\.grpc_helpers\\.create_channel\\(\n address,\n credentials=credentials,\n scopes=cls\\._OAUTH_SCOPES,\n \\*\\*kwargs\n \\)' in grafeas/grafeas_v1/gapic/transports/grafeas_grpc_transport.py. synthtool > Replaced ' \\"\\"\\"Instantiate the transport class\\.\n\n Args:\n channel \\(grpc\\.Channel\\): A ``Channel`` instance through\n which to make calls\\. This argument is mutually exclusive\n with ``credentials``; providing both will raise an exception\\.\n credentials \\(google\\.auth\\.credentials\\.Credentials\\): The\n authorization credentials to attach to requests\\. These\n credentials identify this application to the service\\. If none\n are specified, the client will attempt to ascertain the\n credentials from the environment\\.\n address \\(str\\): The address where the service is hosted\\.' in grafeas/grafeas_v1/gapic/transports/grafeas_grpc_transport.py. synthtool > Replaced 'from grafeas\\.grafeas_v1\\.proto import grafeas_pb2' in tests/unit/gapic/v1/test_grafeas_client_v1.py. synthtool > Replaced '(\\s+)client = grafeas_v1\\.GrafeasClient\\(\\)' in tests/unit/gapic/v1/test_grafeas_client_v1.py. .coveragerc .flake8 MANIFEST.in docs/_static/custom.css docs/_templates/layout.html noxfile.py.j2 setup.cfg Running session blacken Creating virtual environment (virtualenv) using python3.6 in .nox/blacken pip install black black grafeas tests docs reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas.py reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/__init__.py reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/gapic/enums.py reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/gapic/grafeas_client_config.py reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/attestation_pb2_grpc.py reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/gapic/transports/grafeas_grpc_transport.py reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/build_pb2_grpc.py reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/build_pb2.py reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/common_pb2_grpc.py reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/attestation_pb2.py reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/cvss_pb2_grpc.py reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/common_pb2.py reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/deployment_pb2_grpc.py reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/deployment_pb2.py reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/discovery_pb2_grpc.py reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/gapic/grafeas_client.py reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/discovery_pb2.py reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/cvss_pb2.py reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/image_pb2_grpc.py reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/grafeas_pb2_grpc.py reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/package_pb2_grpc.py reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/image_pb2.py reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/provenance_pb2_grpc.py reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/package_pb2.py reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/upgrade_pb2_grpc.py reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/upgrade_pb2.py reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/vulnerability_pb2_grpc.py reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/types.py reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/vulnerability_pb2.py reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/tests/unit/gapic/v1/test_grafeas_client_v1.py reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/provenance_pb2.py reformatted /tmpfs/src/git/autosynth/working_repo/grafeas/grafeas/grafeas_v1/proto/grafeas_pb2.py All done! ✨ 🍰 ✨ 32 files reformatted, 5 files left unchanged. Session blacken was successful. synthtool > Wrote metadata to synth.metadata.