From 07950b27dab035f355c0bb7f4014e698c37ca95b Mon Sep 17 00:00:00 2001 From: paulpaliychuk Date: Fri, 23 Aug 2024 11:29:25 -0400 Subject: [PATCH] fix: :lipstick: mypy errors --- core/prompts/extract_edge_dates.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/prompts/extract_edge_dates.py b/core/prompts/extract_edge_dates.py index e6ca8727..8af69521 100644 --- a/core/prompts/extract_edge_dates.py +++ b/core/prompts/extract_edge_dates.py @@ -1,4 +1,4 @@ -from typing import Protocol, TypedDict +from typing import Any, Protocol, TypedDict from .models import Message, PromptFunction, PromptVersion @@ -11,7 +11,7 @@ class Versions(TypedDict): v1: PromptFunction -def v1(context: dict[str, any]) -> list[Message]: +def v1(context: dict[str, Any]) -> list[Message]: return [ Message( role='system',