def resolve_ssl_version(candidate):
    if candidate is None:
        return PROTOCOL_SSLv23

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

    return candidate
Construct a UseableInTemplates object.
dataset/ETHPy150Open GeekTrainer/Flask/Work/Trivia - Module 5/env/Lib/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py/resolve_ssl_version--crossover with--dataset/ETHPy150Open google/apis-client-generator/src/googleapis/codegen/template_objects.py/UseableInTemplates.__init__