code: def handlers(self):
          
          if getattr(self, '_http'):
              yield from self.http.handlers()
          if getattr(self, '_cli'):
              yield from self.cli.handlers()
docs: Returns all registered handlers attached to this API