MCPcopy Index your code
hub / github.com/TheAlgorithms/Python / get_files_url

Function get_files_url

scripts/validate_solutions.py:51–55  ·  view source on GitHub ↗

Return the pull request number which triggered this action.

()

Source from the content-addressed store, hash-verified

49
50
51def get_files_url() -> str:
52 """Return the pull request number which triggered this action."""
53 with open(os.environ["GITHUB_EVENT_PATH"]) as file:
54 event = json.load(file)
55 return event["pull_request"]["url"] + "/files"
56
57
58def added_solution_file_path() -> list[pathlib.Path]:

Callers 1

added_solution_file_pathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected