def resolve_cert_reqs(candidate):
    if candidate is None:
        return CERT_NONE

    if isinstance(candidate, str):
        res = getattr(ssl, candidate, None)
        if res is None:
            res = getattr(ssl, 'CERT_' + candidate)
        return res

    return candidate
Resolves the argument to a numeric constant, which can be passed to
dataset/ETHPy150Open GeekTrainer/Flask/Work/Trivia - Module 5/env/Lib/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py/resolve_cert_reqs