From 25c0848158907efe47bd535eefc26fee4e39ab3d Mon Sep 17 00:00:00 2001 From: Adam Dyess Date: Fri, 22 Mar 2024 10:37:38 -0500 Subject: [PATCH] Adjust linting for BundleOpt --- pytest_operator/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytest_operator/plugin.py b/pytest_operator/plugin.py index 3fae6c3..a11e674 100644 --- a/pytest_operator/plugin.py +++ b/pytest_operator/plugin.py @@ -404,7 +404,7 @@ class ModelInUseError(Exception): """Raise when trying to add a model alias which already exists.""" -BundleOpt = TypeVar("BundleOpt", str, Path, "OpsTest.Bundle") +BundleOpt = Union[str, Path, "OpsTest.Bundle"] Timeout = TypeVar("Timeout", float, int)