From b175bb5dd565312fbb92598addac3ae98ed90d52 Mon Sep 17 00:00:00 2001 From: John Tordoff <> Date: Fri, 18 Oct 2024 15:16:23 -0400 Subject: [PATCH] change type annotations to be accurate --- .../metrics/reporters/test_institutional_users_reporter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osf_tests/metrics/reporters/test_institutional_users_reporter.py b/osf_tests/metrics/reporters/test_institutional_users_reporter.py index 0aa8e5d0d74..cc5d1a70e59 100644 --- a/osf_tests/metrics/reporters/test_institutional_users_reporter.py +++ b/osf_tests/metrics/reporters/test_institutional_users_reporter.py @@ -153,7 +153,7 @@ class _InstiUserSetup: department_name: str | None = None orcid_id: str | None = None user: osfdb.OSFUser = dataclasses.field(init=False) - month_last_active: YearMonth | None = dataclasses.field(init=False) + month_last_active: datetime.datetime | None = dataclasses.field(init=False) def __post_init__(self): self.user = UserFactory(