#1635 - Updated the session outputs details in primaite_session.rst

- Fixed Logger typehint bugs
This commit is contained in:
Chris McCarthy
2023-07-18 11:34:41 +01:00
parent 314e76f497
commit 0af6d6c44f
3 changed files with 101 additions and 59 deletions

View File

@@ -1,12 +1,8 @@
# Crown Owned Copyright (C) Dstl 2023. DEFCON 703. Shared in confidence.
from typing import TYPE_CHECKING
from primaite import getLogger
if TYPE_CHECKING:
from logging import Logger
_LOGGER: Logger = getLogger(__name__)
_LOGGER = getLogger(__name__)
def run() -> None:

View File

@@ -3,16 +3,12 @@ import filecmp
import os
import shutil
from pathlib import Path
from typing import TYPE_CHECKING
import pkg_resources
from primaite import getLogger, USERS_CONFIG_DIR
if TYPE_CHECKING:
from logging import Logger
_LOGGER: Logger = getLogger(__name__)
_LOGGER = getLogger(__name__)
def run(overwrite_existing: bool = True) -> None: