code: def get_dispatcher(self):
          
          dp = self.request.app[BOT_DISPATCHER_KEY]
          try:
              from aiogram import Bot, Dispatcher
              Dispatcher.set_current(dp)
              Bot.set_current(dp.bot)
          except RuntimeError:
              pass
          return dp
docs: Get Dispatcher instance from environment
  
          :return: :class:`aiogram.Dispatcher`