Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(speech): migrate code from googleapis/python-speech #8982

Merged
merged 221 commits into from
Feb 9, 2023

Conversation

telpirion
Copy link
Contributor

Description

Fixes #

Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.

Checklist

Rebecca Taylor and others added 30 commits September 4, 2019 17:19
Change-Id: Ie385fd8105325c6f2754b737e0f11c84254bcb47
* Remove resource fixture

* Remove remote resource
* Changes docs for async playback to point to LINEAR16 example
* Updates to client library with FLAC support.
* Changes async examples to flac and updates README
* Fix README rst links

* Update all READMEs
* Auto-update dependencies.

* Fix natural language samples

* Fix pubsub iam samples

* Fix language samples

* Fix bigquery samples
* Add sample for transcribing from microphone.

* Remove error handling that probably won't work

* Add test.

* Fix lint.

* Increment copyright date
* Migrate quickstart to GAPIC client library

* Migrate transcribe to GAPIC client library

* Migrate transcribe_async to GAPIC client library

* Migrate transcribe_streaming to GAPIC client library

* clean up

* clean up

* Import from google.cloud.speech

* update transcribe samples

* import in alphabetic order

* remove unused variable

* use strings instead of enums

* restructure code

* comment on sreaming requests

* import style

* flake

* correct indent

* migrate transcribe_streaming_mic to gapic

* update google-cloud-speech version requirement

* addressing review comments

* at the end of the audio stream, put None to signal to the generator

* flake

* addressing github review comments

* add region tags for migration guide

* update README

* rst format

* bullet

* addressing PR review comments

* use enums

* remove a word
* Auto-update dependencies.

* Explicitly use latest bigtable client

Change-Id: Id71e9e768f020730e4ca9514a0d7ebaa794e7d9e

* Revert language update for now

Change-Id: I8867f154e9a5aae00d0047c9caf880e5e8f50c53

* Remove pdb. smh

Change-Id: I5ff905fadc026eebbcd45512d4e76e003e3b2b43
@telpirion telpirion marked this pull request as ready for review January 23, 2023 22:53
@telpirion telpirion requested review from a team as code owners January 23, 2023 22:53
@snippet-bot
Copy link

snippet-bot bot commented Jan 23, 2023

Here is the summary of changes.

You are about to add 53 region tags.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@kweinmeister
Copy link
Contributor

@telpirion Should we include the CODEOWNERS and blunderbuss.yml updates, too?

@nicain @m-strzelczyk @dandhlee These changes are blocked by an invalid license header, "Google Inc" rather than "Google, Inc." Given that these are existing files, should we update the configuration to allow "Google Inc" or do you have another suggestion to move forward?

@dandhlee
Copy link
Collaborator

dandhlee commented Feb 3, 2023

We should fix the license headers, if they're deemed invalid (slight tweak to fix them is fine).

Copy link
Collaborator

@dandhlee dandhlee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add CODEOWNERS and blunderbuss.yml for api: speech.

speech/microphone/noxfile_config.py Outdated Show resolved Hide resolved
speech/snippets/noxfile_config.py Outdated Show resolved Hide resolved
speech/microphone/transcribe_streaming_mic.py Outdated Show resolved Hide resolved
speech/microphone/transcribe_streaming_mic_test.py Outdated Show resolved Hide resolved
speech/snippets/adaptation_v2_custom_class_reference.py Outdated Show resolved Hide resolved
speech/snippets/transcribe_test.py Outdated Show resolved Hide resolved
speech/snippets/transcribe_word_time_offsets.py Outdated Show resolved Hide resolved
speech/snippets/transcribe_word_time_offsets_test.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@dandhlee dandhlee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, will override CLA and admin merge pending tests passing.

@telpirion
Copy link
Contributor Author

Thank you, @dandhlee !

@dandhlee
Copy link
Collaborator

dandhlee commented Feb 9, 2023

Seems like tests are passing now! I don't anticipate 3.9 failing for a different reason. Overriding CLA and admin merging.

@dandhlee dandhlee merged commit 51b64b0 into main Feb 9, 2023
@dandhlee dandhlee deleted the python-speech-migration branch February 9, 2023 00:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: speech Issues related to the Speech-to-Text API. samples Issues that are directly related to samples.
Projects
None yet
Development

Successfully merging this pull request may close these issues.