Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion code_review_graph/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,13 @@ class NodeInfo:
return_type: Optional[str] = None
modifiers: Optional[str] = None
is_test: bool = False
is_async: bool = False # True for async functions/methods
extra: dict = field(default_factory=dict)


@dataclass
class EdgeInfo:
kind: str # CALLS, IMPORTS_FROM, INHERITS, IMPLEMENTS, CONTAINS, TESTED_BY, DEPENDS_ON
kind: str # CALLS, IMPORTS_FROM, INHERITS, IMPLEMENTS, CONTAINS, TESTED_BY, DEPENDS_ON, AWAITS
source: str # qualified name or path
target: str # qualified name or path
file_path: str
Expand Down
Loading