MCPcopy Index your code
hub / github.com/DeepLabCut/DeepLabCut / _load_github_event

Function _load_github_event

tools/test_selector.py:181–188  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

179
180
181def _load_github_event() -> dict[str, Any]:
182 path = os.environ.get("GITHUB_EVENT_PATH")
183 if not path:
184 return {}
185 try:
186 return json.loads(Path(path).read_text(encoding="utf-8"))
187 except Exception:
188 return {}
189
190
191def _normalize_relpath(p: str) -> str:

Callers 1

determine_diff_rangeFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected