MCPcopy Index your code
hub / github.com/PyGithub/PyGithub / DictKeyCollector

Class DictKeyCollector

scripts/openapi.py:808–814  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

806
807
808class DictKeyCollector(cst.CSTVisitor):
809 def __init__(self, keys: list[str]):
810 super().__init__()
811 self.keys = keys
812
813 def visit_DictElement_key(self, node: cst.DictElement):
814 self.keys.append(node.key.value.strip('"'))
815
816
817class ApplySchemaBaseTransformer(CstTransformerBase, abc.ABC):

Callers 1

visit_FunctionDefMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…