def adapt(adaptee, to_protocol, default=AdaptationError):
    manager = get_global_adaptation_manager()
    return manager.adapt(adaptee, to_protocol, default)
:param string name: The name of the generated managed_jar_dependencies() target.
dataset/ETHPy150Open enthought/traits/traits/adaptation/adaptation_manager.py/adapt--crossover with--dataset/ETHPy150Open pantsbuild/pants/src/python/pants/backend/jvm/targets/managed_jar_dependencies.py/ManagedJarLibraries.__call__