Repository: googleapis/google-cloud-python

Issue:
Synthesis failed for automl
Hello! Autosynth couldn't regenerate automl. :broken_heart:

Here's the output from running `synth.py`:

```
Cloning into 'working_repo'...
Switched to branch 'autosynth-automl'
Running synthtool
['/tmpfs/src/git/autosynth/env/bin/python3', '-m', 'synthtool', 'synth.py', '--']
synthtool > Executing /tmpfs/src/git/autosynth/working_repo/automl/synth.py.
synthtool > Ensuring dependencies.
synthtool > Pulling artman image.
latest: Pulling from googleapis/artman
Digest: sha256:45263333b058a4b3c26a8b7680a2710f43eae3d250f791a6cb66423991dcb2df
Status: Image is up to date for googleapis/artman:latest
synthtool > Cloning googleapis.
synthtool > Running generator for google/cloud/automl/artman_automl_v1beta1.yaml.
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/automl-v1beta1.
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/automl/v1beta1/text_extraction.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/automl-v1beta1/google/cloud/automl_v1beta1/proto/text_extraction.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/automl/v1beta1/io.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/automl-v1beta1/google/cloud/automl_v1beta1/proto/io.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/automl/v1beta1/classification.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/automl-v1beta1/google/cloud/automl_v1beta1/proto/classification.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/automl/v1beta1/operations.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/automl-v1beta1/google/cloud/automl_v1beta1/proto/operations.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/automl/v1beta1/tables.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/automl-v1beta1/google/cloud/automl_v1beta1/proto/tables.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/automl/v1beta1/data_stats.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/automl-v1beta1/google/cloud/automl_v1beta1/proto/data_stats.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/automl/v1beta1/ranges.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/automl-v1beta1/google/cloud/automl_v1beta1/proto/ranges.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/automl/v1beta1/column_spec.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/automl-v1beta1/google/cloud/automl_v1beta1/proto/column_spec.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/automl/v1beta1/detection.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/automl-v1beta1/google/cloud/automl_v1beta1/proto/detection.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/automl/v1beta1/dataset.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/automl-v1beta1/google/cloud/automl_v1beta1/proto/dataset.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/automl/v1beta1/model.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/automl-v1beta1/google/cloud/automl_v1beta1/proto/model.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/automl/v1beta1/data_items.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/automl-v1beta1/google/cloud/automl_v1beta1/proto/data_items.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/automl/v1beta1/annotation_payload.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/automl-v1beta1/google/cloud/automl_v1beta1/proto/annotation_payload.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/automl/v1beta1/temporal.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/automl-v1beta1/google/cloud/automl_v1beta1/proto/temporal.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/automl/v1beta1/text_sentiment.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/automl-v1beta1/google/cloud/automl_v1beta1/proto/text_sentiment.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/automl/v1beta1/annotation_spec.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/automl-v1beta1/google/cloud/automl_v1beta1/proto/annotation_spec.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/automl/v1beta1/model_evaluation.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/automl-v1beta1/google/cloud/automl_v1beta1/proto/model_evaluation.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/automl/v1beta1/translation.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/automl-v1beta1/google/cloud/automl_v1beta1/proto/translation.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/automl/v1beta1/service.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/automl-v1beta1/google/cloud/automl_v1beta1/proto/service.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/automl/v1beta1/image.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/automl-v1beta1/google/cloud/automl_v1beta1/proto/image.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/automl/v1beta1/prediction_service.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/automl-v1beta1/google/cloud/automl_v1beta1/proto/prediction_service.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/automl/v1beta1/table_spec.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/automl-v1beta1/google/cloud/automl_v1beta1/proto/table_spec.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/automl/v1beta1/text.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/automl-v1beta1/google/cloud/automl_v1beta1/proto/text.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/automl/v1beta1/regression.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/automl-v1beta1/google/cloud/automl_v1beta1/proto/regression.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/automl/v1beta1/data_types.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/automl-v1beta1/google/cloud/automl_v1beta1/proto/data_types.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/automl/v1beta1/geometry.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/automl-v1beta1/google/cloud/automl_v1beta1/proto/geometry.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/automl/v1beta1/text_segment.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/automl-v1beta1/google/cloud/automl_v1beta1/proto/text_segment.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/automl/v1beta1/video.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/automl-v1beta1/google/cloud/automl_v1beta1/proto/video.proto
synthtool > Placed proto files into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/automl-v1beta1/google/cloud/automl_v1beta1/proto.
synthtool > Replaced 'metadata_type=operations_pb2.OperationMetadata' in google/cloud/automl_v1beta1/gapic/auto_ml_client.py.
synthtool > No replacements made in google/cloud/automl_v1beta1/gapic/prediction_service_client.py for pattern ^\s+::, maybe replacement is not longer needed?
synthtool > No replacements made in google/cloud/automl_v1beta1/gapic/auto_ml_client.py for pattern ^(\s+)(::)

\s+?([^\s]), maybe replacement is not longer needed?
synthtool > Replaced 'Sample in-line\n     JSON Lines file.*?\\}`\\n' in google/cloud/automl_v1beta1/proto/io_pb2.py.
synthtool > Replaced 'Sample\n     in-line JSON Lines file.*?\\}`\\n' in google/cloud/automl_v1beta1/proto/io_pb2.py.
synthtool > Replaced '__doc__ = \\"\\"\\"-  For Translation: CSV file ``translation\\.csv``, with each ' in google/cloud/automl_v1beta1/proto/io_pb2.py.
synthtool > Replaced ':raw-latex:`\\\\t `' in google/cloud/automl_v1beta1/proto/io_pb2.py.
.coveragerc
.flake8
MANIFEST.in
noxfile.py.j2
setup.cfg
Running session blacken
Creating virtualenv using python3.6 in .nox/blacken
pip install black
black docs google tests noxfile.py setup.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/__init__.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/gapic/enums.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/docs/conf.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/gapic/prediction_service_client_config.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/gapic/auto_ml_client_config.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/gapic/transports/prediction_service_grpc_transport.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/gapic/transports/auto_ml_grpc_transport.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/annotation_payload_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/gapic/prediction_service_client.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/annotation_spec_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/annotation_spec_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/classification_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/annotation_payload_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/column_spec_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/column_spec_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/data_items_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/data_items_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/data_stats_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/classification_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/data_types_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/data_types_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/dataset_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/gapic/auto_ml_client.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/detection_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/geometry_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/geometry_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/data_stats_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/image_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/dataset_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/io_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/detection_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/model_evaluation_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/image_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/model_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/model_evaluation_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/operations_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/model_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/prediction_service_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/ranges_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/ranges_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/prediction_service_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/regression_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/io_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/regression_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/table_spec_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/table_spec_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/operations_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/tables_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/service_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/temporal_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/temporal_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/text_extraction_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/text_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/text_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/text_extraction_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/text_segment_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/text_segment_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/text_sentiment_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/tables_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/translation_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/video_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/video_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/text_sentiment_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/types.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/translation_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/noxfile.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/tests/unit/gapic/v1beta1/test_prediction_service_client_v1beta1.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/tests/unit/gapic/v1beta1/test_auto_ml_client_v1beta1.py
reformatted /tmpfs/src/git/autosynth/working_repo/automl/google/cloud/automl_v1beta1/proto/service_pb2.py
All done! ✨ 🍰 ✨
70 files reformatted, 6 files left unchanged.
Session blacken was successful.
synthtool > Cleaned up 2 temporary directories.
synthtool > Wrote metadata to synth.metadata.

Changed files:
M automl/google/cloud/automl_v1beta1/gapic/auto_ml_client.py
 M automl/google/cloud/automl_v1beta1/gapic/prediction_service_client.py
 M automl/synth.metadata
[autosynth-automl 1aa594d] [CHANGE ME] Re-generated automl to pick up changes in the API or client library generator.
 3 files changed, 57 insertions(+), 27 deletions(-)
To https://github.com/googleapis/google-cloud-python.git
 + 9a77677...1aa594d autosynth-automl -> autosynth-automl (forced update)
Traceback (most recent call last):
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/urllib3/connectionpool.py", line 603, in urlopen
    chunked=chunked)
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/urllib3/connectionpool.py", line 387, in _make_request
    six.raise_from(e, None)
  File "<string>", line 2, in raise_from
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/urllib3/connectionpool.py", line 383, in _make_request
    httplib_response = conn.getresponse()
  File "/home/kbuilder/.pyenv/versions/3.6.1/lib/python3.6/http/client.py", line 1331, in getresponse
    response.begin()
  File "/home/kbuilder/.pyenv/versions/3.6.1/lib/python3.6/http/client.py", line 297, in begin
    version, status, reason = self._read_status()
  File "/home/kbuilder/.pyenv/versions/3.6.1/lib/python3.6/http/client.py", line 266, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/urllib3/connectionpool.py", line 641, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/urllib3/util/retry.py", line 368, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/urllib3/packages/six.py", line 685, in reraise
    raise value.with_traceback(tb)
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/urllib3/connectionpool.py", line 603, in urlopen
    chunked=chunked)
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/urllib3/connectionpool.py", line 387, in _make_request
    six.raise_from(e, None)
  File "<string>", line 2, in raise_from
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/urllib3/connectionpool.py", line 383, in _make_request
    httplib_response = conn.getresponse()
  File "/home/kbuilder/.pyenv/versions/3.6.1/lib/python3.6/http/client.py", line 1331, in getresponse
    response.begin()
  File "/home/kbuilder/.pyenv/versions/3.6.1/lib/python3.6/http/client.py", line 297, in begin
    version, status, reason = self._read_status()
  File "/home/kbuilder/.pyenv/versions/3.6.1/lib/python3.6/http/client.py", line 266, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.1/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.1/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/git/autosynth/autosynth/synth.py", line 223, in <module>
    main()
  File "/tmpfs/src/git/autosynth/autosynth/synth.py", line 211, in main
    args.repository, branch=branch, title=pr_title, body=pr_body
  File "/tmpfs/src/git/autosynth/autosynth/github.py", line 62, in create_pull_request
    "maintainer_can_modify": True,
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/requests/sessions.py", line 581, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/requests/adapters.py", line 498, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',))

```

Google internal developers can see the full log [here](https://sponge/a0f45fe9-789a-48ac-a9e2-b6d0338a6994).



Discussion:
Github is treating the bot hammering it as a DOS.  This is a bug in the bot configuration / automl:  it needs to retry such cases with backoff.

Resolving patch:
diff --git a/automl/synth.py b/automl/synth.py
--- a/automl/synth.py
+++ b/automl/synth.py
@@ -33,27 +33,33 @@
     s.move(library / f"tests/unit/gapic/{version}")
     s.move(library / f"docs/gapic/{version}")
 
-    s.replace(
-        f"google/cloud/automl_{version}/__init__.py",
-        f"from google.cloud.automl_v1beta1.gapic import prediction_service_client",
-        f"from google.cloud.automl_v1beta1.gapic import prediction_service_client"
-        f"from google.cloud.automl_v1beta1.tables import tables_client"
-        f"\n\n"
-        f"class TablesClient(tables_client.TablesClient):"
-        f"    __doc__ = tables_client.TablesClient.__doc__"
-    )
-
-    s.replace(
-        f"google/cloud/automl_{version}/__init__.py",
-        f"__all__ = (\"enums\", \"types\", \"AutoMlClient\", \"PredictionServiceClient\")",
-        f"__all__ = (\"enums\", \"types\", \"AutoMlClient\", \"PredictionServiceClient\", \"TablesClient\")"
-    )
-
 s.move(library / f"docs/conf.py")
 
 # Use the highest version library to generate import alias.
 s.move(library / "google/cloud/automl.py")
 
+# Add tables client to v1beta1
+s.replace(
+    f"google/cloud/automl_v1beta1/__init__.py",
+    f"from google.cloud.automl_v1beta1.gapic import prediction_service_client",
+    f"from google.cloud.automl_v1beta1.gapic import prediction_service_client\n"
+    f"from google.cloud.automl_v1beta1.tables import tables_client"
+    f"\n\n"
+    f"class TablesClient(tables_client.TablesClient):"
+    f"    __doc__ = tables_client.TablesClient.__doc__"
+)
+
+s.replace(
+    f"google/cloud/automl_v1beta1/__init__.py",
+    f"""__all__ = \(
+    'enums',
+    'types',
+    'AutoMlClient',
+    'PredictionServiceClient',
+\)""",
+    f"__all__ = (\"enums\", \"types\", \"AutoMlClient\", \"PredictionServiceClient\", \"TablesClient\")"
+)
+
 # Fixup issues in generated code
 s.replace(
     "**/gapic/*_client.py",


Test patch: