bigframes._config.BigQueryOptions.requests_transport_adapters#

property BigQueryOptions.requests_transport_adapters: Sequence[Tuple[str, BaseAdapter]]#

Transport adapters for requests-based REST clients such as the google-cloud-bigquery package.

For more details, see the explanation in requests guide to transport adapters.

Examples:

Increase the connection pool size using the requests HTTPAdapter.

>>> import bigframes.pandas as bpd
>>> bpd.options.bigquery.requests_transport_adapters = (
...     ("http://", requests.adapters.HTTPAdapter(pool_maxsize=100)),
...     ("https://", requests.adapters.HTTPAdapter(pool_maxsize=100)),
... )
Returns:

Prefixes and corresponding transport adapters to mount in requests-based REST clients.

Return type:

Sequence[Tuple[str, requests.adapters.BaseAdapter]]