def get_func_nodes(self): """Get all nodes from a function.""" return [definition for definition in project_definitions.values() if isinstance(definition.node, ast.FunctionDef)]