def get_docstring(node, clean=True):
    if not isinstance(node, (FunctionDef, ClassDef, Module)):
        raise TypeError("%r can't have docstrings" % node.__class__.__name__)
    if node.body and isinstance(node.body[0], Expr) and \
       isinstance(node.body[0].value, Str):
        if clean:
            import inspect
            return inspect.cleandoc(node.body[0].value.s)
        return node.body[0].value.s
Get an Edge Index or create it if it doesn't exist.
dataset/ETHPy150Open eBay/restcommander/play-1.2.4/python/Lib/ast.py/get_docstring--crossover with--dataset/ETHPy150Open espeed/bulbs/bulbs/neo4jserver/index.py/EdgeIndexProxy.get_or_create