From 9434e758085d4847bc678ed7dcaea8a5074fb9cf Mon Sep 17 00:00:00 2001 From: Shane Jaroch Date: Fri, 19 Apr 2024 13:20:48 -0400 Subject: [PATCH] test python-3.4 incompatible type annotation --- ntclient/services/usda.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ntclient/services/usda.py b/ntclient/services/usda.py index 5138e8a..c4f2f94 100644 --- a/ntclient/services/usda.py +++ b/ntclient/services/usda.py @@ -63,7 +63,7 @@ def sort_foods( # TODO: sub shrt_desc for long if available, and support config.FOOD_NAME_TRUNC def print_results( - _results: Sequence[Sequence[Optional[float]]], _nutrient_id: int + _results: list[list[Optional[float]]], _nutrient_id: int ) -> None: """Prints truncated list for sort""" nutrients = sql_nutrients_overview() -- 2.52.0