MCPcopy Create free account
hub / github.com/getsentry/sentry / record_read

Method record_read

tools/flake8_plugin.py:667–671  ·  view source on GitHub ↗
(self, key: ast.expr, source: str, line: int, col: int)

Source from the content-addressed store, hash-verified

665 return None
666
667 def record_read(self, key: ast.expr, source: str, line: int, col: int) -> None:
668 if isinstance(key, ast.Constant) and isinstance(key.value, str):
669 self.literal_reads.append((line, col, key.value, source))
670 else:
671 self.computed_reads.append((line, col, ast.unparse(key), source))
672
673
674class SentryVisitor(ast.NodeVisitor):

Callers 2

visit_SubscriptMethod · 0.80
_record_input_callMethod · 0.80

Calls 1

appendMethod · 0.65

Tested by

no test coverage detected