From 705cf9ffa0b4d1dd0468b08444ce52610e2916d8 Mon Sep 17 00:00:00 2001 From: Julia Putko Date: Tue, 20 Aug 2024 16:24:42 -0500 Subject: [PATCH] added tempdirectory --- smartsim/_core/_cli/validate.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/smartsim/_core/_cli/validate.py b/smartsim/_core/_cli/validate.py index 56cc1aade..e2f0819d5 100644 --- a/smartsim/_core/_cli/validate.py +++ b/smartsim/_core/_cli/validate.py @@ -48,6 +48,8 @@ if t.TYPE_CHECKING: # pylint: disable-next=unsubscriptable-object _TemporaryDirectory = tempfile.TemporaryDirectory[str] +else: + _TemporaryDirectory = tempfile.TemporaryDirectory class _VerificationTempDir(_TemporaryDirectory):