From: Shane Jaroch Date: Fri, 19 Apr 2024 17:20:48 +0000 (-0400) Subject: test python-3.4 incompatible type annotation X-Git-Tag: v0.2.8.dev2~18 X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=9434e758085d4847bc678ed7dcaea8a5074fb9cf;p=nutratech%2Fcli.git test python-3.4 incompatible type annotation --- 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()