From b9d02873df787bf4fb98869521fd287d39c668aa Mon Sep 17 00:00:00 2001 From: Brian Walsh Date: Tue, 8 Jul 2025 16:47:37 -0700 Subject: [PATCH] adds auth to all gets --- indexclient/client.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/indexclient/client.py b/indexclient/client.py index ae7e155..6ce8426 100644 --- a/indexclient/client.py +++ b/indexclient/client.py @@ -407,6 +407,8 @@ def list_versions(self, did): @retry_and_timeout_wrapper def _get(self, *path, **kwargs): + if self.auth and 'auth' not in kwargs: + kwargs['auth'] = self.auth resp = requests.get(self.url_for(*path), **kwargs) handle_error(resp) return resp