From 6af37b02019fa5a5bf9a8c58db591ec9bc8d9aff Mon Sep 17 00:00:00 2001 From: Jim Madge Date: Tue, 25 Jul 2023 17:12:15 +0100 Subject: [PATCH] Remove unused YamlType --- data_safe_haven/utility/__init__.py | 3 +-- data_safe_haven/utility/types.py | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/data_safe_haven/utility/__init__.py b/data_safe_haven/utility/__init__.py index 2b786f36fb..8a6ec3bcf5 100644 --- a/data_safe_haven/utility/__init__.py +++ b/data_safe_haven/utility/__init__.py @@ -1,12 +1,11 @@ from .enums import SoftwarePackageCategory from .file_reader import FileReader from .logger import Logger -from .types import PathType, YamlType +from .types import PathType __all__ = [ "FileReader", "Logger", "PathType", "SoftwarePackageCategory", - "YamlType", ] diff --git a/data_safe_haven/utility/types.py b/data_safe_haven/utility/types.py index 4a9d903d06..527e4e2ea3 100644 --- a/data_safe_haven/utility/types.py +++ b/data_safe_haven/utility/types.py @@ -1,5 +1,3 @@ from pathlib import Path -from typing import Any PathType = str | Path -YamlType = dict[str, dict[str, Any]]