Context Manager ABCs#
Nuovo nella versione 4.3.2.
Importante
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[sorgente]#
Basi:
ABCNuovo nella versione 4.3.2.
A base class for async context managers.
- abstract __init__()[sorgente]#
Initialise the Context manager
- abstract async __aenter__()[sorgente]#
Enter the context manager
- abstract async __aexit__(exc_type, exc_val, exc_tb)[sorgente]#
Exit the context Manager
- class interactions.utils.abc.base_context_managers.BaseContextManager[sorgente]#
Basi:
ABCNuovo nella versione 4.3.2.
A base class for context managers.
- abstract __init__()[sorgente]#
Initialise the Context manager
- abstract __enter__()[sorgente]#
Enter the context manager
- abstract __exit__(exc_type, exc_val, exc_tb)[sorgente]#
Exit the context Manager