MCPcopy
hub / github.com/PyGithub/PyGithub / __init__

Method __init__

scripts/openapi.py:1521–1525  ·  view source on GitHub ↗
(self, class_name: str, schemas: list[str])

Source from the content-addressed store, hash-verified

1519
1520class AddSchemasTransformer(CstTransformerBase):
1521 def __init__(self, class_name: str, schemas: list[str]):
1522 super().__init__()
1523 self.class_name = class_name
1524 self.schemas = schemas
1525 self.schema_added = 0
1526
1527 def leave_ClassDef(self, original_node: cst.ClassDef, updated_node: cst.ClassDef):
1528 if self.current_class_name == self.class_name:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected