Given a list of nodes (that represents an operator pattern), return True if any of the node is annotated, otherwise return False
(node: Node)
| 53 | |
| 54 | |
| 55 | def _is_annotated(node: Node): |
| 56 | """ |
| 57 | Given a list of nodes (that represents an operator pattern), |
| 58 | return True if any of the node |
| 59 | is annotated, otherwise return False |
| 60 | """ |
| 61 | KEY = Q_ANNOTATION_KEY |
| 62 | return KEY in node.meta and node.meta[KEY]._annotated |
| 63 | |
| 64 | |
| 65 | def _mark_as_annotated(nodes: List[Node]): |
no outgoing calls
no test coverage detected