Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeusData/codebase-memory-mcp
/ is_method
Function
is_method
scripts/gen-py-stdlib.py:108–109 ·
view source on GitHub ↗
(node: ast.AST)
Source
from the content-addressed store, hash-verified
106
107
108
def
is_method(node: ast.AST) -> bool:
109
return
isinstance(node, (ast.FunctionDef, ast.AsyncFunctionDef))
110
111
112
def
class_methods(class_node: ast.ClassDef) -> list[str]:
Callers
2
class_methods
Function · 0.85
walk
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected