Class option_context (1.9.0)

option_context(*args)

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

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

import bigframes

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