[ Web Proxy ]
URL:
Viewing: https://dataframes.bigquery.dev/reference/api/bigframes._config.option_context.html [Back]  [Original]

bigframes._config.option_context — bigframes documentation
Back to top
Search the docs ...:

bigframes._config.option_context#

class bigframes._config.option_context(*args)[source]#

Context manager to temporarily set thread-local options in the with statement context.

You need to invoke as option_context(pat, val, [(pat, val), ...]).

Note

bigquery options cant be changed on a running session. Setting any of these options creates a new thread-local session that only lives for the lifetime of the context manager.

Examples:

>>> import bigframes
>>> with bigframes.option_context('display.max_rows', 10, 'display.max_columns', 5):
...     pass

Web Proxy Viewer  |  New URL  |  Original Page