HWM Store stack manager

class etl_entities.hwm_store.hwm_store_stack_manager.HWMStoreStackManager

Class used to store stack of entered HWM Store context managers.

classmethod get_current() BaseHWMStore

Get HWM Store implementation set by context manager.

Examples

>>> from etl_entities.hwm_store import HWMStoreStackManager
>>> with SomeHWMStore(...) as hwm_store:
...     print(HWMStoreStackManager.get_current())
SomeHWMStore(...)
>>> HWMStoreStackManager.get_current()
DefaultHWMStore()