def validate_positive_float_or_zero(option, value):
    if value == 0 or value == "0":
        return 0
    return validate_positive_float(option, value)
Validates that 'value' is 0 or a positive float, or can be converted to
dataset/ETHPy150Open mongodb/mongo-python-driver/pymongo/common.py/validate_positive_float_or_zero