code: def authenticators(self, auths):
          
  
          if not isinstance(auths, (list, tuple)):
              auths = [auths]
  
          instances = []
  
          for auth in auths:
              if isclass(auth):
                  instances.append(auth())
              else:
                  instances.append(auth)
  
          def decorator(func):
              func.authenticators = instances
              return func
          return decorator
docs: A decorator that sets a list of authenticators for a function.
  
          :param auths: The list of authenticator instances or classes.
          :return: A function