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

feat(speech): Add Speech-to-Text On-Prem sample #4223

Merged
merged 6 commits into from
Jul 22, 2020

Conversation

vinnysenthil
Copy link
Contributor

@vinnysenthil vinnysenthil commented Jul 1, 2020

Description

Fixes #4222

Adding sample to demonstrate speech transcription for on-prem customers. This sample does not currently contain tests due to being on-prem.

Note: It's a good idea to open an issue first for discussion.

Checklist

@vinnysenthil vinnysenthil added cla: yes This human has signed the Contributor License Agreement. automerge Merge the pull request once unit tests and other checks pass. labels Jul 1, 2020
@vinnysenthil vinnysenthil marked this pull request as ready for review July 1, 2020 17:23
@vinnysenthil vinnysenthil requested review from sirtorry and a team as code owners July 1, 2020 17:23
speech/cloud-client/transcribe_onprem.py Outdated Show resolved Hide resolved
speech/cloud-client/transcribe_onprem.py Outdated Show resolved Hide resolved
@leahecole leahecole removed the automerge Merge the pull request once unit tests and other checks pass. label Jul 1, 2020
@leahecole
Copy link
Collaborator

leahecole commented Jul 1, 2020

I understand that this sample will look a little different test-wise than others because of the nature of it being on-prem - I'm hesitant to have absolutely no testing though. My two questions related to that are:

  1. How would we recommend a customer test this if they were running on prem? Without thinking too hard about it, my guess is it would be a system test with something on prem or something with mocks (or maybe something else - I really didn't go too deep in my thought process here) - and if that's the case, would it be valuable to include that here?
  2. With an on-prem sample like this, how can you as the codeowner and we as repo owners know that this code is out of date? Normally we rely on tests for breaking changes, and I'm worried that with nothing we won't be able to figure out quickly when something is broken.

@gcf-merge-on-green
Copy link
Contributor

Your PR has attempted to merge for 3 hours. Please check that all required checks have passed, you have an automerge label, and that all your reviewers have approved the PR

@gcf-merge-on-green
Copy link
Contributor

Merge-on-green attempted to merge your PR for 6 hours, but it was not mergeable because either one of your required status checks failed, or one of your required reviews was not approved. Learn more about your required status checks here: https://help.github.com/en/github/administering-a-repository/enabling-required-status-checks. You can remove and reapply the label to re-run the bot.

@leahecole leahecole added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Jul 6, 2020
@leahecole
Copy link
Collaborator

Just adding the "do not merge" label while we figure out an appropriate test strategy

@leahecole leahecole removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Jul 22, 2020
@vinnysenthil vinnysenthil requested a review from busunkim96 July 22, 2020 22:48
@leahecole leahecole merged commit e67b014 into master Jul 22, 2020
@leahecole leahecole deleted the speech-transcribe-onprem branch July 22, 2020 22:52
busunkim96 pushed a commit to busunkim96/python-speech that referenced this pull request Sep 1, 2020
…Platform/python-docs-samples#4223)

* feat: adds speech-to-text onprem sample

* Remove client options and change to f-strings

* Move to onprem folder, add resource and README

Co-authored-by: Leah E. Cole <[email protected]>
busunkim96 pushed a commit to googleapis/python-speech that referenced this pull request Sep 3, 2020
…Platform/python-docs-samples#4223)

* feat: adds speech-to-text onprem sample

* Remove client options and change to f-strings

* Move to onprem folder, add resource and README

Co-authored-by: Leah E. Cole <[email protected]>
telpirion pushed a commit that referenced this pull request Jan 13, 2023
* feat: adds speech-to-text onprem sample

* Remove client options and change to f-strings

* Move to onprem folder, add resource and README

Co-authored-by: Leah E. Cole <[email protected]>
dandhlee pushed a commit that referenced this pull request Feb 9, 2023
* feat: adds speech-to-text onprem sample

* Remove client options and change to f-strings

* Move to onprem folder, add resource and README

Co-authored-by: Leah E. Cole <[email protected]>
telpirion pushed a commit that referenced this pull request Mar 13, 2023
* feat: adds speech-to-text onprem sample

* Remove client options and change to f-strings

* Move to onprem folder, add resource and README

Co-authored-by: Leah E. Cole <[email protected]>
atulep pushed a commit to googleapis/google-cloud-python that referenced this pull request Apr 6, 2023
…Platform/python-docs-samples#4223)

* feat: adds speech-to-text onprem sample

* Remove client options and change to f-strings

* Move to onprem folder, add resource and README

Co-authored-by: Leah E. Cole <[email protected]>
atulep pushed a commit to googleapis/google-cloud-python that referenced this pull request Apr 6, 2023
…Platform/python-docs-samples#4223)

* feat: adds speech-to-text onprem sample

* Remove client options and change to f-strings

* Move to onprem folder, add resource and README

Co-authored-by: Leah E. Cole <[email protected]>
atulep pushed a commit to googleapis/google-cloud-python that referenced this pull request Apr 18, 2023
…Platform/python-docs-samples#4223)

* feat: adds speech-to-text onprem sample

* Remove client options and change to f-strings

* Move to onprem folder, add resource and README

Co-authored-by: Leah E. Cole <[email protected]>
parthea pushed a commit to googleapis/google-cloud-python that referenced this pull request Oct 22, 2023
…Platform/python-docs-samples#4223)

* feat: adds speech-to-text onprem sample

* Remove client options and change to f-strings

* Move to onprem folder, add resource and README

Co-authored-by: Leah E. Cole <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Speech-to-Text On-Prem sample
3 participants