(self, node: ast.Subscript)
| 1004 | self._s024_parses = (node.lineno, node.col_offset) |
| 1005 | |
| 1006 | def visit_Subscript(self, node: ast.Subscript) -> None: |
| 1007 | # Load only: `request.data["title"] = ...` writes a value, it does not |
| 1008 | # read a parameter the client sent. |
| 1009 | if self._input_stack and isinstance(node.ctx, ast.Load): |
| 1010 | ctx = self._input_stack[-1] |
| 1011 | source = ctx.source_of(node.value) |
| 1012 | if source is not None: |
| 1013 | ctx.record_read(node.slice, source, node.lineno, node.col_offset) |
| 1014 | self.generic_visit(node) |
| 1015 | |
| 1016 | def _enter_input(self, node: ast.FunctionDef | ast.AsyncFunctionDef) -> bool: |
| 1017 | """Push an accumulator for a PUBLIC HTTP method on an endpoint class.""" |
nothing calls this directly
no test coverage detected