diff --git a/src/cal_tools/calcat_interface2.py b/src/cal_tools/calcat_interface2.py index 611692e06887a80cfb243237c96853e9daefb991..0f5f58f90fef1e9f100923ee35e74b5f56f90db3 100644 --- a/src/cal_tools/calcat_interface2.py +++ b/src/cal_tools/calcat_interface2.py @@ -49,6 +49,10 @@ class CalCatAPIClient: # Ensure the base URL has a trailing slash self.base_api_url = base_api_url.rstrip("/") + "/" + def __repr__(self): + auth = " (with Oauth)" if self.oauth_client else "" + return f"<CalCatAPIClient for {self.base_api_url}{auth}>" + def default_headers(self): return { "content-type": "application/json",