def link(endpoint=None, is_for_list=False, **kwargs):
    msg = 'link is pending deprecation. Use detail_route instead.'
    warnings.warn(msg, PendingDeprecationWarning, stacklevel=2)

    def decorator(func):
        func.bind_to_methods = ['get']
        func.kwargs = kwargs
        func.endpoint = endpoint or func.__name__
        func.is_for_list = is_for_list
        return func
    return decorator
Retrieve the keys matching the supplied user.
dataset/ETHPy150Open chibisov/drf-extensions/rest_framework_extensions/decorators.py/link--crossover with--dataset/ETHPy150Open RisingOak/stashy/stashy/ssh.py/Keys.get