From 22b3dc951dec62488f0a4b6cec328379b58a4db3 Mon Sep 17 00:00:00 2001 From: Kevin Chung Date: Fri, 23 Aug 2024 19:29:44 -0400 Subject: [PATCH] Fix typing --- ctfcli/core/instance/config.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ctfcli/core/instance/config.py b/ctfcli/core/instance/config.py index a898947..bd6f004 100644 --- a/ctfcli/core/instance/config.py +++ b/ctfcli/core/instance/config.py @@ -1,3 +1,5 @@ +from typing import List + from ctfcli.core.api import API from ctfcli.core.exceptions import InstanceConfigException @@ -53,7 +55,7 @@ def getall(): return config @staticmethod - def setall(configs) -> list[str]: + def setall(configs) -> List[str]: failed = [] for k, v in configs.items(): try: