scripts/upload_services/transferwee.py
def _prepare_file_upload(transfer_id: str, file: str,
                         session: requests.Session) -> str:
    """Given a transfer_id and file prepare it for the upload.

    Return the parsed JSON response.
    """
    j = _file_name_and_size(file)
    r = session.post(WETRANSFER_FILES_URL.format(transfer_id=transfer_id),
                     json=j)
    return r.json()
Given a transfer_id and file prepare it for the upload.

    Return the parsed JSON response.
    
Given a transfer_id and file prepare it for the upload.
Return the parsed JSON response.
Given a transfer_id and file prepare it for the upload . Return the parsed JSON response .
def _prepare_file_upload(transfer_id: str, file: str,
                         session: requests.Session) -> str:
    j = _file_name_and_size(file)
    r = session.post(WETRANSFER_FILES_URL.format(transfer_id=transfer_id),
                     json=j)
    return r.json()
def _prepare_file_upload ( transfer_id : str , file : str , session : requests . Session ) -> str : j = _file_name_and_size ( file ) r = session . post ( WETRANSFER_FILES_URL . format ( transfer_id = transfer_id ) , json = j ) return r . json ( )
Given a transfer_id and file prepare it for the upload.
Given a transfer_id and file prepare it for the upload .
"""Given a transfer_id and file prepare it for the upload.

    Return the parsed JSON response.
    """
transfer_id
str
file
str
session
requests.Session