def METHOD_NAME(
    client: BaseClient,
    filename: str,
    key: str,
    spaces_name: str,
    acl: str = "public-read",
    ctype: str = "binary/octet-stream",
) -> None:
    with open(filename, "rb") as f:
        client.upload_fileobj(f, spaces_name, key, ExtraArgs={"ACL": acl, "ContentType": ctype})