code: def dataset_upload_file(self, path, quiet):
          
          file_name = os.path.basename(path)
          content_length = os.path.getsize(path)
          last_modified_date_utc = int(os.path.getmtime(path))
          result = FileUploadInfo(
              self.process_response(
                  self.datasets_upload_file_with_http_info(
                      file_name, content_length, last_modified_date_utc)))
  
          success = self.upload_complete(path, result.createUrl, quiet)
  
          if success:
              return result.token
          return None
docs: upload a dataset file
  
              Parameters
              ==========
              path: the complete path to upload
              quiet: suppress verbose output (default is False)