pg.object_utils.thread_local_value_scope¶ Accessible via pg.object_utils.thread_local_value_scope. thread_local_value_scope(key, value_in_scope, initial_value)¶ Context manager to set a thread local state within the scope. Return type: Iterator[None]