a  ze@sBddlmZmZddlmZmZmZedddZGdddZdS) ) ExitStackcontextmanager)ContextManagerIteratorTypeVar_TT) covariantcsLeZdZddfdd ZeeddddZeeeddd Z Z S) CommandContextMixInN)returncstd|_t|_dS)NF)super__init___in_main_contextr _main_contextself __class__c/opt/bitninja-python-dojo/embedded/lib/python3.9/site-packages/pip/_internal/cli/command_context.pyr s zCommandContextMixIn.__init__ccsT|jr Jd|_z6|jdVWdn1s40YWd|_nd|_0dS)NTF)r rrrrr main_context s  &z CommandContextMixIn.main_context)context_providerr cCs|js J|j|S)N)r r enter_context)rrrrrrs z!CommandContextMixIn.enter_context) __name__ __module__ __qualname__r rrrrrr __classcell__rrrrr s r N) contextlibrrtypingrrrrr rrrrs