graphql/language/printer.py
def add_description(method):
    """Decorator adding the description to the output of a visitor method."""

    @wraps(method)
    def wrapped(self, node, *args):
        return join([node.description, method(self, node, *args)], "\n")

    return wrapped
Decorator adding the description to the output of a visitor method.
Decorator adding the description to the output of a visitor method.
Decorator adding the description to the output of a visitor method .
def add_description(method):
    @wraps(method)
    def wrapped(self, node, *args):
        return join([node.description, method(self, node, *args)], "\n")
    return wrapped
def add_description ( method ) : @ wraps ( method ) def wrapped ( self , node , * args ) : return join ( [ node . description , method ( self , node , * args ) ] , "\n" ) return wrapped
Decorator adding the description to the output of a visitor method.
Decorator adding the description to the output of a visitor method .
"""Decorator adding the description to the output of a visitor method."""
method