From 68699e49a37ffef43cb16ab828872d710041a07b Mon Sep 17 00:00:00 2001 From: alex Date: Wed, 13 Nov 2024 10:44:13 +0100 Subject: [PATCH] fix python 3.9 typings --- monkay/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkay/base.py b/monkay/base.py index bdc4a20..92e69ff 100644 --- a/monkay/base.py +++ b/monkay/base.py @@ -396,7 +396,7 @@ def update_all_var(self, all_var: Collection[str]) -> list[str] | set[str]: else: cast(set[str], all_var).add(var) - return cast(list[str] | set[str], all_var) + return cast("list[str] | set[str]", all_var) def find_missing( self,