scripts/upload_services/transferwee.py
def _prepare_email_upload(filenames: List[str], message: str,
                          sender: str, recipients: List[str],
                          session: requests.Session) -> str:
    """Given a list of filenames, message a sender and recipients prepare for
    the email upload.

    Return the parsed JSON response.
    """
    j = {
        "files": [_file_name_and_size(f) for f in filenames],
        "from": sender,
        "message": message,
        "recipients": recipients,
        "ui_language": "en",
    }

    r = session.post(WETRANSFER_UPLOAD_EMAIL_URL, json=j)
    return r.json()
Given a list of filenames, message a sender and recipients prepare for
    the email upload.

    Return the parsed JSON response.
    
Given a list of filenames, message a sender and recipients prepare for
the email upload.

Return the parsed JSON response.
Given a list of filenames message a sender and recipients prepare for the email upload . Return the parsed JSON response .
def _prepare_email_upload(filenames: List[str], message: str,
                          sender: str, recipients: List[str],
                          session: requests.Session) -> str:
    j = {
        "files": [_file_name_and_size(f) for f in filenames],
        "from": sender,
        "message": message,
        "recipients": recipients,
        "ui_language": "en",
    }
    r = session.post(WETRANSFER_UPLOAD_EMAIL_URL, json=j)
    return r.json()
def _prepare_email_upload ( filenames : List [ str ] , message : str , sender : str , recipients : List [ str ] , session : requests . Session ) -> str : j = { "files" : [ _file_name_and_size ( f ) for f in filenames ] , "from" : sender , "message" : message , "recipients" : recipients , "ui_language" : "en" , } r = session . post ( WETRANSFER_UPLOAD_EMAIL_URL , json = j ) return r . json ( )
Given a list of filenames, message a sender and recipients prepare for
the email upload.
Given a list of filenames message a sender and recipients prepare for the email upload .
"""Given a list of filenames, message a sender and recipients prepare for
    the email upload.

    Return the parsed JSON response.
    """
filenames
List[str]
message
str
sender
str
recipients
List[str]
session
requests.Session