Skip to content

Commit 2ae3aad

Browse files
static type checks
1 parent f227fe9 commit 2ae3aad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonbpf/vmlinux_parser/import_detector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
logger = logging.getLogger(__name__)
99

1010

11-
def detect_import_statement(tree: ast.AST) -> List[Tuple[str, str]]:
11+
def detect_import_statement(tree: ast.AST) -> List[Tuple[str, ast.ImportFrom]]:
1212
"""
1313
Parse AST and detect import statements from vmlinux.
1414

0 commit comments

Comments
 (0)