Added type hints

This commit is contained in:
Marek Wolan
2023-07-14 12:01:38 +01:00
parent 9650669c83
commit c2931bde6c
16 changed files with 166 additions and 128 deletions

View File

@@ -4,13 +4,17 @@ import importlib.util
import os
import subprocess
import sys
from typing import TYPE_CHECKING
from primaite import getLogger, NOTEBOOKS_DIR
_LOGGER = getLogger(__name__)
if TYPE_CHECKING:
from logging import Logger
_LOGGER: "Logger" = getLogger(__name__)
def start_jupyter_session():
def start_jupyter_session() -> None:
"""
Starts a new Jupyter notebook session in the app notebooks directory.