def prepare_timeout(timeout: Optional[int]) -> Optional[float]:
    'Request timeout is in milliseconds, but `requests` uses seconds'
    output: Optional[Union[(int, float)]] = timeout
    if (timeout is not None):
        output = (timeout / 1000)
    return output
Request timeout is in milliseconds, but `requests` uses seconds
def prepare_timeout(timeout: Optional[int]) -> Optional[float]:
    
    output: Optional[Union[(int, float)]] = timeout
    if (timeout is not None):
        output = (timeout / 1000)
    return output