Remove redundant 'if TYPE_CHECKING' statements

This commit is contained in:
Marek Wolan
2023-07-18 10:21:06 +01:00
parent 6c31034dba
commit 0d521bc96b
15 changed files with 37 additions and 65 deletions

View File

@@ -2,8 +2,9 @@
from __future__ import annotations
from dataclasses import dataclass, field
from logging import Logger
from pathlib import Path
from typing import Any, Dict, Final, Optional, TYPE_CHECKING, Union
from typing import Any, Dict, Final, Optional, Union
import yaml
@@ -18,9 +19,6 @@ from primaite.common.enums import (
SessionType,
)
if TYPE_CHECKING:
from logging import Logger
_LOGGER: Logger = getLogger(__name__)
_EXAMPLE_TRAINING: Final[Path] = USERS_CONFIG_DIR / "example_config" / "training"