From 11dd0c6a23ae59e118b97f95b6ccc18d859d50c2 Mon Sep 17 00:00:00 2001 From: Aadil Latif Date: Tue, 16 Jun 2026 04:44:17 -0600 Subject: [PATCH] Fix CI workflow branch target and docs KeyError - Change pull_request_tests.yml to trigger on 'master' instead of 'main' - Handle missing 'description' key in make_model_tables.py for pydantic 2.10 schema changes --- .github/workflows/pull_request_tests.yml | 2 +- docs/make_model_tables.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull_request_tests.yml b/.github/workflows/pull_request_tests.yml index 2e91903c..19d51fd5 100644 --- a/.github/workflows/pull_request_tests.yml +++ b/.github/workflows/pull_request_tests.yml @@ -3,7 +3,7 @@ name: Pytests on: pull_request: branches: - - main + - master workflow_dispatch: diff --git a/docs/make_model_tables.py b/docs/make_model_tables.py index 76735fa7..7ed3294e 100644 --- a/docs/make_model_tables.py +++ b/docs/make_model_tables.py @@ -77,7 +77,7 @@ def make_tables(output): for prop, vals in schema["properties"].items(): if vals.get("internal", False): continue - description = format_description(vals["description"]) + description = format_description(vals.get("description", "")) title = vals["title"] type_str = property_types.get(name, {}).get(title) if type_str is not None and type_str in all_names: