def validate_timeout_or_none(option, value):
    if value is None:
        return value
    return validate_positive_float(option, value) / 1000.0
Validates a timeout specified in milliseconds returning
dataset/ETHPy150Open mongodb/mongo-python-driver/pymongo/common.py/validate_timeout_or_none