Method
__init__
(self, class_name: str, schemas: list[str])
Source from the content-addressed store, hash-verified
| 1519 | |
| 1520 | class 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
Tested by
no test coverage detected