From 669bc3ed27f271ef9d857e4b76bcfc4891f0afc2 Mon Sep 17 00:00:00 2001 From: sciencewhiz Date: Wed, 15 Jan 2025 16:03:40 -0800 Subject: [PATCH] test github API limits --- source/_extensions/wpilib_release.py | 1 + 1 file changed, 1 insertion(+) diff --git a/source/_extensions/wpilib_release.py b/source/_extensions/wpilib_release.py index 5017848307..ca28c73a4f 100644 --- a/source/_extensions/wpilib_release.py +++ b/source/_extensions/wpilib_release.py @@ -24,6 +24,7 @@ def run(self) -> List[nodes.Node]: release_url = f"https://api.github.com/repos/wpilibsuite/allwpilib/releases/tags/{version}" release_json = requests.get(release_url) + print(release_json.headers) # prints the entire header as a dictionary release_json.raise_for_status() release: Dict = release_json.json()