scripts/upload_services/transferwee.py
def _verify_email_upload(transfer_id: str, session: requests.Session) -> str:
    """Given a transfer_id, read the code from standard input.

    Return the parsed JSON response.
    """
    code = input('Code:')

    j = {
        "code": code,
        "expire_in": WETRANSFER_EXPIRE_IN,
    }

    r = session.post(WETRANSFER_VERIFY_URL.format(transfer_id=transfer_id),
                     json=j)
    return r.json()
Given a transfer_id, read the code from standard input.

    Return the parsed JSON response.
    
Given a transfer_id, read the code from standard input.
Return the parsed JSON response.
Given a transfer_id read the code from standard input . Return the parsed JSON response .
def _verify_email_upload(transfer_id: str, session: requests.Session) -> str:
    code = input('Code:')
    j = {
        "code": code,
        "expire_in": WETRANSFER_EXPIRE_IN,
    }
    r = session.post(WETRANSFER_VERIFY_URL.format(transfer_id=transfer_id),
                     json=j)
    return r.json()
def _verify_email_upload ( transfer_id : str , session : requests . Session ) -> str : code = input ( 'Code:' ) j = { "code" : code , "expire_in" : WETRANSFER_EXPIRE_IN , } r = session . post ( WETRANSFER_VERIFY_URL . format ( transfer_id = transfer_id ) , json = j ) return r . json ( )
Given a transfer_id, read the code from standard input.
Given a transfer_id read the code from standard input .
"""Given a transfer_id, read the code from standard input.

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