From 6eedd114924254dd8670d2c6a880dad4d89872ac Mon Sep 17 00:00:00 2001 From: Franccesco Orozco Date: Thu, 23 Jul 2026 20:10:00 -0600 Subject: [PATCH] fix: allow null scorecard target and refresh integration meeting id Integration e2e against the live API showed ScorecardItem rejected null Target values, and meeting 324926 is no longer accessible for this account. --- src/bloomy/models.py | 2 +- tests/test_integration_goals.py | 2 +- tests/test_integration_headlines.py | 2 +- tests/test_integration_issues.py | 2 +- tests/test_integration_todos.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/bloomy/models.py b/src/bloomy/models.py index a74eca9..22fd5dc 100644 --- a/src/bloomy/models.py +++ b/src/bloomy/models.py @@ -293,7 +293,7 @@ class ScorecardItem(BloomyBaseModel): measurable_id: int accountable_user_id: int title: str - target: float + target: OptionalFloat = None # API may return null Target for unset goals value: float | None = None week: str # Changed from int to str to handle "2024-W25" format week_id: int diff --git a/tests/test_integration_goals.py b/tests/test_integration_goals.py index 18ef877..a3cc80d 100644 --- a/tests/test_integration_goals.py +++ b/tests/test_integration_goals.py @@ -14,7 +14,7 @@ GoalStatus, ) -MEETING_ID = 324926 +MEETING_ID = 327249 # Scorecard Test Meeting (was 324926, access revoked) @pytest.fixture(scope="module") diff --git a/tests/test_integration_headlines.py b/tests/test_integration_headlines.py index cea14fc..9d97bae 100644 --- a/tests/test_integration_headlines.py +++ b/tests/test_integration_headlines.py @@ -11,7 +11,7 @@ from bloomy import AsyncClient, Client from bloomy.models import HeadlineDetails, HeadlineInfo, HeadlineListItem -MEETING_ID = 324926 +MEETING_ID = 327249 # Scorecard Test Meeting (was 324926, access revoked) pytestmark = pytest.mark.integration diff --git a/tests/test_integration_issues.py b/tests/test_integration_issues.py index 4e484a6..723a9a5 100644 --- a/tests/test_integration_issues.py +++ b/tests/test_integration_issues.py @@ -11,7 +11,7 @@ from bloomy import AsyncClient, Client from bloomy.models import CreatedIssue, IssueDetails, IssueListItem -MEETING_ID = 324926 +MEETING_ID = 327249 # Scorecard Test Meeting (was 324926, access revoked) pytestmark = pytest.mark.integration diff --git a/tests/test_integration_todos.py b/tests/test_integration_todos.py index 97d567f..7a36a05 100644 --- a/tests/test_integration_todos.py +++ b/tests/test_integration_todos.py @@ -8,7 +8,7 @@ from bloomy import AsyncClient, Client from bloomy.models import Todo -MEETING_ID = 324926 +MEETING_ID = 327249 # Scorecard Test Meeting (was 324926, access revoked) @pytest.fixture(scope="module")