Context Manager ABCs#
Neu in Version 4.3.2.
Wichtig
This page contains metaclasses. As this is an advanced Python topic you should not try to use these methods if you don’t have the experience.
- class interactions.utils.abc.base_context_managers.BaseAsyncContextManager[Quellcode]#
Bases:
ABCNeu in Version 4.3.2.
A base class for async context managers.
- abstract __init__()[Quellcode]#
Initialise the Context manager
- abstract async __aenter__()[Quellcode]#
Enter the context manager
- abstract async __aexit__(exc_type, exc_val, exc_tb)[Quellcode]#
Exit the context Manager
- class interactions.utils.abc.base_context_managers.BaseContextManager[Quellcode]#
Bases:
ABCNeu in Version 4.3.2.
A base class for context managers.
- abstract __init__()[Quellcode]#
Initialise the Context manager
- abstract __enter__()[Quellcode]#
Enter the context manager
- abstract __exit__(exc_type, exc_val, exc_tb)[Quellcode]#
Exit the context Manager