Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add timeout parameter to AuthorizedSession.request() #396

Copy link
Copy link
Closed
@plamut

Description

@plamut
Issue body actions

As a Google Cloud client library developer, I would like an easy way of specifying a timeout when making API calls using the requests.AuthorizedSession transport, for example:

transport = AuthorizedSession(...)
transport.request(..., timeout=42)

Motivation:
Sometimes the BigQuery client gets stuck at the transport layer. Having a timeout parameter that can be passed to the transport is necessary for fixing several issue, for example: googleapis/google-cloud-python#9875 (comment)

Metadata

Metadata

Assignees

Labels

type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.