original_docstring: Upload file request to Shipped Brain
  
      :param file_path: absolute path to zipfile to upload to app.shippedbrain.com
      :param auth_bearer: valid app.shippedbrain.com Authorization Bearer
      :param upload_url: file upload target url
  
      :return: upload response - request.Response
      
docstring: Upload file request to Shipped Brain
docstring_tokens: Upload file request to Shipped Brain
code: def _upload_file(file_path: str,
                   auth_bearer: str,
                   upload_url: str = UPLOAD_URL) -> requests.Response:
      """Upload file request to Shipped Brain
  
      :param file_path: absolute path to zipfile to upload to app.shippedbrain.com
      :param auth_bearer: valid app.shippedbrain.com Authorization Bearer
      :param upload_url: file upload target url
  
      :return: upload response - request.Response
      """
      headers = {
          "Authorization": f"Bearer {auth_bearer}"
      }
  
      filename = file_path.split("/")[-1]
  
      with open(file_path, "rb") as file_obj:
          file = {
              "file": (filename, file_obj, "multipart/form-data"),
          }
  
          response = requests.post(upload_url, headers=headers, files=file)
  
      return response
code_tokens: def _upload_file ( file_path : str , auth_bearer : str , upload_url : str = UPLOAD_URL ) -> requests . Response : headers = { "Authorization" : f"Bearer {auth_bearer}" } filename = file_path . split ( "/" ) [ - 1 ] with open ( file_path , "rb" ) as file_obj : file = { "file" : ( filename , file_obj , "multipart/form-data" ) , } response = requests . post ( upload_url , headers = headers , files = file ) return response
short_docstring: Upload file request to Shipped Brain
short_docstring_tokens: Upload file request to Shipped Brain
comment: """Upload file request to Shipped Brain
  
      :param file_path: absolute path to zipfile to upload to app.shippedbrain.com
      :param auth_bearer: valid app.shippedbrain.com Authorization Bearer
      :param upload_url: file upload target url
  
      :return: upload response - request.Response
      """