code: def faasport(func: Faasport) -> Faasport:
      
      global user_faasport
  
      if user_faasport is not None:
          raise RuntimeError('Multiple definitions of faasport.')
  
      user_faasport = func
      return func
docs: Decorator that registers the user's faasport function.