Please, we need a function to upload Primary Docs (PDFs) without reading files from the local HD, directly from a binary.
It would be similar to the current upload_file(self, pdf_file_path, share_id, language, title) in class Files, but swapping the pdf_file_path to a bytes type.
I think it's something like adding this to Files.py
class FilesExtended(Files):
def upload_file_from_binary(self, file_bytes: bytes, share_id: str, language: str, title: str) -> bool: