From db1b5c7de9ff1b565506f419253a2335a960d73e Mon Sep 17 00:00:00 2001 From: "Charles Graham, SWT" Date: Thu, 22 Jan 2026 17:51:16 +0000 Subject: [PATCH 1/2] Set api version explicitly for outlets endpoint to 1 --- cwms/outlets/outlets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cwms/outlets/outlets.py b/cwms/outlets/outlets.py index 7f1a4737..fc89a702 100644 --- a/cwms/outlets/outlets.py +++ b/cwms/outlets/outlets.py @@ -41,7 +41,7 @@ def get_outlet(office_id: str, name: str) -> Data: endpoint = f"projects/outlets/{name}" params = {"office": office_id} - response = api.get(endpoint, params) + response = api.get(endpoint, params, api_version=1) return Data(response) From e39d29e1769f1b63695e23d11de99a1cf24e3dda Mon Sep 17 00:00:00 2001 From: "Charles Graham, SWT" Date: Thu, 22 Jan 2026 18:00:12 +0000 Subject: [PATCH 2/2] Bump the patch version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index bf9fbdce..20c9200f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ name = "cwms-python" repository = "https://github.com/HydrologicEngineeringCenter/cwms-python" -version = "1.0.1" +version = "1.0.2" packages = [