peyk.platforms.rubika.methods.upload_file

async peyk.platforms.rubika.methods.upload_file(self, upload_url: str, file_bytes: bytes, *, filename: str = 'file', content_type: str = 'application/octet-stream') str[source]

Performs the upload file operation for the Rubika client.

Parameters:
  • upload_url – Value used by this operation.

  • file_bytes – Value used by this operation.

  • filename – Value used by this operation.

  • content_type – Value used by this operation.

Returns:

Result produced by the Rubika operation.