code: def get_loop(self, *args, **kwargs):  # type: (typing.Any, typing.Any) -> asyncio.AbstractEventLoop
          
          if callable(self.loop_getter):
              if self.loop_getter_need_context:
                  return self.loop_getter(*args, **kwargs)  # pylint: disable=not-callable
              return self.loop_getter()  # pylint: disable=not-callable
          return self.loop_getter
docs: Get event loop in decorator class.