From b4233974010e8ebb3c457664347281cb25c2d8bd Mon Sep 17 00:00:00 2001 From: jakeross Date: Thu, 12 Feb 2026 21:53:02 -0700 Subject: [PATCH] fix: update fastapi version and correct variable name for sample point ID --- pyproject.toml | 2 +- requirements.txt | 2 +- transfers/minor_trace_chemistry_transfer.py | 2 +- uv.lock | 10 +++++----- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 922c70e0..1e285479 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,7 +30,7 @@ dependencies = [ "dnspython==2.8.0", "dotenv==0.9.9", "email-validator==2.3.0", - "fastapi==0.124.2", + "fastapi==0.128.0", "fastapi-pagination==0.15.10", "frozenlist==1.8.0", "geoalchemy2==0.18.1", diff --git a/requirements.txt b/requirements.txt index c41d913a..518ca340 100644 --- a/requirements.txt +++ b/requirements.txt @@ -393,7 +393,7 @@ email-validator==2.3.0 \ --hash=sha256:80f13f623413e6b197ae73bb10bf4eb0908faf509ad8362c5edeb0be7fd450b4 \ --hash=sha256:9fc05c37f2f6cf439ff414f8fc46d917929974a82244c20eb10231ba60c54426 # via ocotilloapi -fastapi==0.124.2 \ +fastapi==0.128.0 \ --hash=sha256:6314385777a507bb19b34bd064829fddaea0eea54436deb632b5de587554055c \ --hash=sha256:72e188f01f360e2f59da51c8822cbe4bca210c35daaae6321b1b724109101c00 # via diff --git a/transfers/minor_trace_chemistry_transfer.py b/transfers/minor_trace_chemistry_transfer.py index 23076792..efc0ddab 100644 --- a/transfers/minor_trace_chemistry_transfer.py +++ b/transfers/minor_trace_chemistry_transfer.py @@ -145,7 +145,7 @@ def _transfer_hook(self, session: Session) -> None: set_={ "chemistry_sample_info_id": excluded.chemistry_sample_info_id, "nma_chemistry_sample_info_uuid": excluded.nma_chemistry_sample_info_uuid, - "nma_sample_point_id": excluded.nma_sample_point_id, + "nma_SamplePointID": excluded.nma_SamplePointID, "sample_value": excluded.sample_value, "units": excluded.units, "symbol": excluded.symbol, diff --git a/uv.lock b/uv.lock index c4b230c7..6a45e4bb 100644 --- a/uv.lock +++ b/uv.lock @@ -1,5 +1,5 @@ version = 1 -revision = 3 +revision = 2 requires-python = ">=3.13" [[package]] @@ -632,7 +632,7 @@ wheels = [ [[package]] name = "fastapi" -version = "0.124.2" +version = "0.128.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "annotated-doc" }, @@ -640,9 +640,9 @@ dependencies = [ { name = "starlette" }, { name = "typing-extensions" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/58/b7/4dbca3f9d847ba9876dcb7098c13a4c6c86ee8db148c923fab78e27748d3/fastapi-0.124.2.tar.gz", hash = "sha256:72e188f01f360e2f59da51c8822cbe4bca210c35daaae6321b1b724109101c00", size = 361867, upload-time = "2025-12-10T12:10:10.676Z" } +sdist = { url = "https://files.pythonhosted.org/packages/52/08/8c8508db6c7b9aae8f7175046af41baad690771c9bcde676419965e338c7/fastapi-0.128.0.tar.gz", hash = "sha256:1cc179e1cef10a6be60ffe429f79b829dce99d8de32d7acb7e6c8dfdf7f2645a", size = 365682, upload-time = "2025-12-27T15:21:13.714Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/25/c5/8a5231197b81943b2df126cc8ea2083262e004bee3a39cf85a471392d145/fastapi-0.124.2-py3-none-any.whl", hash = "sha256:6314385777a507bb19b34bd064829fddaea0eea54436deb632b5de587554055c", size = 112711, upload-time = "2025-12-10T12:10:08.855Z" }, + { url = "https://files.pythonhosted.org/packages/5c/05/5cbb59154b093548acd0f4c7c474a118eda06da25aa75c616b72d8fcd92a/fastapi-0.128.0-py3-none-any.whl", hash = "sha256:aebd93f9716ee3b4f4fcfe13ffb7cf308d99c9f3ab5622d8877441072561582d", size = 103094, upload-time = "2025-12-27T15:21:12.154Z" }, ] [[package]] @@ -1365,7 +1365,7 @@ requires-dist = [ { name = "dnspython", specifier = "==2.8.0" }, { name = "dotenv", specifier = "==0.9.9" }, { name = "email-validator", specifier = "==2.3.0" }, - { name = "fastapi", specifier = "==0.124.2" }, + { name = "fastapi", specifier = "==0.128.0" }, { name = "fastapi-pagination", specifier = "==0.15.10" }, { name = "frozenlist", specifier = "==1.8.0" }, { name = "geoalchemy2", specifier = "==0.18.1" },