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

Method __init__

scripts/openapi.py:1883–1894  ·  view source on GitHub ↗
(
        self, classes: dict[str, Any], index_config_file: Path, paths: list[dict[str, Any]], check_verbs: bool
    )

Source from the content-addressed store, hash-verified

1881
1882class IndexFileWorker:
1883 def __init__(
1884 self, classes: dict[str, Any], index_config_file: Path, paths: list[dict[str, Any]], check_verbs: bool
1885 ):
1886 self.classes = classes
1887 self.paths = paths
1888 self.config = {}
1889 self.check_verbs = check_verbs
1890 self.tests_path = index_config_file.parent.parent / "tests"
1891
1892 if index_config_file.exists():
1893 with index_config_file.open("r") as r:
1894 self.config = json.load(r)
1895
1896 def index_file(self, filename: str):
1897 with open(filename) as r:

Callers

nothing calls this directly

Calls 2

openMethod · 0.80
loadMethod · 0.80

Tested by

no test coverage detected