def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None:
    '\n        Runs the event loop for application shutdown.\n        '
    self.loop.run_until_complete(self.shutdown())
Runs the event loop for application shutdown.
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None:
    '\n        \n        '
    self.loop.run_until_complete(self.shutdown())