MCPcopy Create free account
hub / github.com/SalesforceAIResearch/perfcodegen / visit_AsyncFunctionDef

Method visit_AsyncFunctionDef

src/sanitize.py:72–78  ·  view source on GitHub ↗
(self, node)

Source from the content-addressed store, hash-verified

70 return node
71
72 def visit_AsyncFunctionDef(self, node):
73 if len(node.body) == 0:
74 node.body.append(ast.Pass())
75 return node
76 else:
77 self.generic_visit(node)
78 return node
79
80 def visit_ClassDef(self, node):
81 if len(node.body) == 0:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected