diff --git a/opal/services/integration/hospital.py b/opal/services/integration/hospital.py index 941a3697d..2a29853c8 100644 --- a/opal/services/integration/hospital.py +++ b/opal/services/integration/hospital.py @@ -66,7 +66,7 @@ def find_patient_by_hin(health_insurance_number: str) -> PatientSchema: Raises [PatientNotFoundError][opal.services.integration.hospital.PatientNotFoundError] if the patient is not found. Raises [NonOKResponseError][opal.services.integration.hospital.NonOKResponseError] if the response is not OK. - Raises [pydantic.ValidationError][] if the data in the response is not valid. + Raises [pydantic_core.ValidationError][] if the data in the response is not valid. Args: health_insurance_number: the health insurance number of the patient @@ -86,7 +86,7 @@ def find_patient_by_mrn(mrn: str, site: str) -> PatientSchema: Raises [PatientNotFoundError][opal.services.integration.hospital.PatientNotFoundError] if the patient is not found. Raises [NonOKResponseError][opal.services.integration.hospital.NonOKResponseError] if the response is not OK. - Raises [pydantic.ValidationError][] if the data in the response is not valid. + Raises [pydantic_core.ValidationError][] if the data in the response is not valid. Args: mrn: the MRN of the patient diff --git a/pyproject.toml b/pyproject.toml index 911db31f8..d80da2ea4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -86,5 +86,5 @@ docs = [ "mkdocs-gen-files==0.6.0", "mkdocs-literate-nav==0.6.2", "mkdocs-material==9.7.1", - "mkdocstrings[python-legacy]==0.30.1", + "mkdocstrings[python-legacy]==1.0.0", ] diff --git a/uv.lock b/uv.lock index 24d19f7fb..ad65a75ae 100644 --- a/uv.lock +++ b/uv.lock @@ -155,7 +155,7 @@ docs = [ { name = "mkdocs-gen-files", specifier = "==0.6.0" }, { name = "mkdocs-literate-nav", specifier = "==0.6.2" }, { name = "mkdocs-material", specifier = "==9.7.1" }, - { name = "mkdocstrings", extras = ["python-legacy"], specifier = "==0.30.1" }, + { name = "mkdocstrings", extras = ["python-legacy"], specifier = "==1.0.0" }, ] [[package]] @@ -1299,7 +1299,7 @@ wheels = [ [[package]] name = "mkdocstrings" -version = "0.30.1" +version = "1.0.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "jinja2" }, @@ -1309,9 +1309,9 @@ dependencies = [ { name = "mkdocs-autorefs" }, { name = "pymdown-extensions" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/c5/33/2fa3243439f794e685d3e694590d28469a9b8ea733af4b48c250a3ffc9a0/mkdocstrings-0.30.1.tar.gz", hash = "sha256:84a007aae9b707fb0aebfc9da23db4b26fc9ab562eb56e335e9ec480cb19744f", size = 106350, upload-time = "2025-09-19T10:49:26.446Z" } +sdist = { url = "https://files.pythonhosted.org/packages/e5/13/10bbf9d56565fd91b91e6f5a8cd9b9d8a2b101c4e8ad6eeafa35a706301d/mkdocstrings-1.0.0.tar.gz", hash = "sha256:351a006dbb27aefce241ade110d3cd040c1145b7a3eb5fd5ac23f03ed67f401a", size = 101086, upload-time = "2025-11-27T15:39:40.534Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/7b/2c/f0dc4e1ee7f618f5bff7e05898d20bf8b6e7fa612038f768bfa295f136a4/mkdocstrings-0.30.1-py3-none-any.whl", hash = "sha256:41bd71f284ca4d44a668816193e4025c950b002252081e387433656ae9a70a82", size = 36704, upload-time = "2025-09-19T10:49:24.805Z" }, + { url = "https://files.pythonhosted.org/packages/ec/fc/80aa31b79133634721cf7855d37b76ea49773599214896f2ff10be03de2a/mkdocstrings-1.0.0-py3-none-any.whl", hash = "sha256:4c50eb960bff6e05dfc631f6bc00dfabffbcb29c5ff25f676d64daae05ed82fa", size = 35135, upload-time = "2025-11-27T15:39:39.301Z" }, ] [package.optional-dependencies]