Skip to content
This repository has been archived by the owner on Apr 20, 2024. It is now read-only.

Commit

Permalink
changes triggered by multiple versions* Add speech adaptation, phrase…
Browse files Browse the repository at this point in the history
… sets and custom classes.

PiperOrigin-RevId: 306280989

Source-Author: Google APIs <noreply@google.com>
Source-Date: Mon Apr 13 12:05:23 2020 -0700
Source-Repo: googleapis/googleapis
Source-Sha: 4d61e1cb40184a7ad63ef37b1813f6608718674a
Source-Link: googleapis/googleapis@4d61e1c

* Removing erroneous comment, a la googleapis/java-speech#103
PiperOrigin-RevId: 296332968

Source-Author: Google APIs <noreply@google.com>
Source-Date: Thu Feb 20 17:19:15 2020 -0800
Source-Repo: googleapis/googleapis
Source-Sha: 17567c4a1ef0a9b50faa87024d66f8acbb561089
Source-Link: googleapis/googleapis@17567c4

* fix: Dataproc v1 - AutoscalingPolicy annotation
This adds the second resource name pattern to the
AutoscalingPolicy resource.

Committer: @lukesneeringer
PiperOrigin-RevId: 295738415

Source-Author: Google APIs <noreply@google.com>
Source-Date: Tue Feb 18 08:21:06 2020 -0800
Source-Repo: googleapis/googleapis
Source-Sha: ab2685d8d3a0e191dc8aef83df36773c07cb3d06
Source-Link: googleapis/googleapis@ab2685d

* Update cloud asset api v1p4beta1.
PiperOrigin-RevId: 295286165

Source-Author: Google APIs <noreply@google.com>
Source-Date: Fri Feb 14 21:28:55 2020 -0800
Source-Repo: googleapis/googleapis
Source-Sha: 8a1020bf6828f6e3c84c3014f2c51cb62b739140
Source-Link: googleapis/googleapis@8a1020b

* Adds artman config files for bigquerystorage endpoints v1beta2, v1alpha2, v1
PiperOrigin-RevId: 294763931

Source-Author: Google APIs <noreply@google.com>
Source-Date: Wed Feb 12 14:54:26 2020 -0800
Source-Repo: googleapis/googleapis
Source-Sha: 80b8f8b3de2359831295e24e5238641a38d8488f
Source-Link: googleapis/googleapis@80b8f8b

* Add parameter to sample generated for UpdateInstance. Related to googleapis/python-redis#4
PiperOrigin-RevId: 294734008

Source-Author: Google APIs <noreply@google.com>
Source-Date: Wed Feb 12 12:55:41 2020 -0800
Source-Repo: googleapis/googleapis
Source-Sha: 2c17ac33b226194041155bb5340c3f34733f1b3a
Source-Link: googleapis/googleapis@2c17ac3

* changes without context
        autosynth cannot find the source of changes triggered by earlier changes in this
        repository, or by version upgrades to tools such as linters.
  • Loading branch information
SurferJeffAtGoogle committed May 6, 2020
1 parent b6737da commit aaf9701
Show file tree
Hide file tree
Showing 19 changed files with 1,040 additions and 373 deletions.
16 changes: 16 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# -*- coding: utf-8 -*-
#
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Generated by synthtool. DO NOT EDIT!
[run]
branch = True
Expand Down
16 changes: 16 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# -*- coding: utf-8 -*-
#
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Generated by synthtool. DO NOT EDIT!
[flake8]
ignore = E203, E266, E501, W503
Expand Down
3 changes: 1 addition & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ Thanks for stopping by to let us know something could be better!
Please run down the following list and make sure you've tried the usual "quick fixes":

- Search the issues already opened: https://github.com/googleapis/python-speech/issues
- Search the issues on our "catch-all" repository: https://github.com/googleapis/google-cloud-python
- Search StackOverflow: http://stackoverflow.com/questions/tagged/google-cloud-platform+python
- Search StackOverflow: https://stackoverflow.com/questions/tagged/google-cloud-platform+python

If you are still having issues, please be sure to include as much information as possible:

Expand Down
15 changes: 3 additions & 12 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ In order to add a feature:
documentation.

- The feature must work fully on the following CPython versions: 2.7,
3.5, 3.6, and 3.7 on both UNIX and Windows.
3.5, 3.6, 3.7 and 3.8 on both UNIX and Windows.

- The feature must not add unnecessary dependencies (where
"unnecessary" is of course subjective, but new dependencies should
Expand Down Expand Up @@ -214,26 +214,18 @@ We support:
- `Python 3.5`_
- `Python 3.6`_
- `Python 3.7`_
- `Python 3.8`_

.. _Python 3.5: https://docs.python.org/3.5/
.. _Python 3.6: https://docs.python.org/3.6/
.. _Python 3.7: https://docs.python.org/3.7/
.. _Python 3.8: https://docs.python.org/3.8/


Supported versions can be found in our ``noxfile.py`` `config`_.

.. _config: https://github.com/googleapis/python-speech/blob/master/noxfile.py

We explicitly decided not to support `Python 2.5`_ due to `decreased usage`_
and lack of continuous integration `support`_.

.. _Python 2.5: https://docs.python.org/2.5/
.. _decreased usage: https://caremad.io/2013/10/a-look-at-pypi-downloads/
.. _support: https://blog.travis-ci.com/2013-11-18-upcoming-build-environment-updates/

We have `dropped 2.6`_ as a supported version as well since Python 2.6 is no
longer supported by the core development team.

Python 2.7 support is deprecated. All code changes should maintain Python 2.7 compatibility until January 1, 2020.

We also explicitly decided to support Python 3 beginning with version
Expand All @@ -247,7 +239,6 @@ We also explicitly decided to support Python 3 beginning with version
.. _prominent: https://docs.djangoproject.com/en/1.9/faq/install/#what-python-version-can-i-use-with-django
.. _projects: http://flask.pocoo.org/docs/0.10/python3/
.. _Unicode literal support: https://www.python.org/dev/peps/pep-0414/
.. _dropped 2.6: https://github.com/googleapis/google-cloud-python/issues/995

**********
Versioning
Expand Down
16 changes: 16 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# -*- coding: utf-8 -*-
#
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Generated by synthtool. DO NOT EDIT!
include README.rst LICENSE
recursive-include google *.json *.proto
Expand Down
7 changes: 7 additions & 0 deletions docs/multiprocessing.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.. note::

Because this client uses :mod:`grpcio` library, it is safe to
share instances across threads. In multiprocessing scenarios, the best
practice is to create client instances *after* the invocation of
:func:`os.fork` by :class:`multiprocessing.Pool` or
:class:`multiprocessing.Process`.
2 changes: 0 additions & 2 deletions google/cloud/speech_v1/gapic/speech_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,6 @@ def streaming_recognize(
Performs bidirectional streaming speech recognition: receive results while
sending audio. This method is only available via the gRPC API (not REST).
EXPERIMENTAL: This method interface might change in the future.
Example:
>>> from google.cloud import speech_v1
>>>
Expand Down

0 comments on commit aaf9701

Please sign in to comment.