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

Method create_new_class

scripts/openapi.py:3092–3097  ·  view source on GitHub ↗
(schema: str)

Source from the content-addressed store, hash-verified

3090 if handle_new_schemas == HandleNewSchemas.create_class:
3091
3092 def create_new_class(schema: str) -> None:
3093 classes = index.get("classes", {})
3094 github_path = index.get("sources")
3095 self.create_class_for_schema(
3096 github_path, spec_file, index_filename, spec, classes, tests=True, schema=schema
3097 )
3098
3099 create_new_class_func = create_new_class
3100

Callers

nothing calls this directly

Calls 2

getMethod · 0.80

Tested by

no test coverage detected