GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Removing ImportError check in Speech client. by dhermes · Pull Request #2665 · googleapis/google-cloud-python

Conversation

@dhermes

@dhermes dhermes commented Nov 2, 2016

Copy link
Copy Markdown
Contributor

I mentioned this in #2664 and this delivers on it.

We should also get rid of all the instances of this in other packages. LMK what you both think (and @jonparrott I'd be interested in what you think, i.e. importing grpc on GAE)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@dhermes
Removing ImportError check in Speech client.
49e7472
@dhermes dhermes added the api: speech Issues related to the Speech-to-Text API. label Nov 2, 2016
@dhermes dhermes assigned daspecster and tseaver Nov 2, 2016
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 2, 2016
daspecster
daspecster approved these changes Nov 2, 2016
View reviewed changes
@theacodes

theacodes commented Nov 2, 2016

Copy link
Copy Markdown
Contributor

It's not ideal for GAE where the gRPC won't be available for some time, but we've already crossed that bridge it seems.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dhermes

dhermes commented Nov 2, 2016

Copy link
Copy Markdown
Contributor Author

I'm going to leave this open before merging to let @tseaver weigh in.


we've already crossed that bridge it seems.

@jonparrott How do you mean?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@theacodes

theacodes commented Nov 2, 2016

Copy link
Copy Markdown
Contributor

we've already crossed that bridge it seems.

There are other locations where grpc is not import checked, right?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dhermes

dhermes commented Nov 2, 2016

Copy link
Copy Markdown
Contributor Author

There are other locations where grpc is not import checked, right?

Not that I know of, except a change I made earlier today in speech. Unfortunately the PB definitions are bundled with grpc, so it's tough to parse the Any fields in the operations returned from the API (gRPC or JSON-over-HTTP) without importing the PB types.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@theacodes

theacodes commented Nov 2, 2016

Copy link
Copy Markdown
Contributor

@dhermes Gotcha. In that case I'm fine with this outside of datastore, logging, pubsub, storage, and logging.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

tseaver
tseaver approved these changes Nov 2, 2016
View reviewed changes
@dhermes
dhermes merged commit 40d545d into googleapis:master Nov 2, 2016
@dhermes
dhermes deleted the speech-no-more-condl-import branch November 2, 2016 17:59
richkadel pushed a commit to richkadel/google-cloud-python that referenced this pull request May 6, 2017
@dhermes
Merge pull request googleapis#2665 from dhermes/speech-no-more-condl-…
9e163ef
…import

Removing ImportError check in Speech client.
@theacodes theacodes unassigned daspecster Sep 28, 2018
atulep pushed a commit that referenced this pull request Apr 3, 2023
@dhermes
Merge pull request #2665 from dhermes/speech-no-more-condl-import
8bc3e70
Removing ImportError check in Speech client.
atulep pushed a commit that referenced this pull request Apr 18, 2023
@dhermes
Merge pull request #2665 from dhermes/speech-no-more-condl-import
5f7ea81
Removing ImportError check in Speech client.
parthea pushed a commit that referenced this pull request Oct 22, 2023
@dhermes
Merge pull request #2665 from dhermes/speech-no-more-condl-import
5f5b590
Removing ImportError check in Speech client.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

2 more reviewers
@daspecster daspecster daspecster approved these changes
@tseaver tseaver tseaver approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@tseaver tseaver

Labels

api: speech Issues related to the Speech-to-Text API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@dhermes @theacodes @daspecster @tseaver @googlebot
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.