summaryrefslogtreecommitdiff
path: root/src/teradata/isolated.py
blob: 3ca28cbbb45f2ff04c5dd31c4c66e4ea19b56780 (plain)
1
2
3
4
5
6
7
8
lazy from collections.abc import Generator
lazy from contextlib import contextmanager
lazy from types import SimpleNamespace


@contextmanager
def isolated() -> Generator[SimpleNamespace, None, None]:
    yield SimpleNamespace()