summaryrefslogtreecommitdiff
path: root/src/funcs_worklogger.pyi
blob: 4700b6816b61092cc7efe7d797b0ad621de27e3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
"""
INTERFACE FILE FOR WORKLOGGER
author: Wacky404
email: wacky404@dev.com
"""

from argparse import Namespace
from pathlib import Path
from typing import Optional


def configure(dir_list: Optional[list]) -> None:
    """

    """
    ...


def add_log(file_format: Optional[str], proj_settings: Optional[dict[str, dict]], savepath: Optional[Path], backuppath: Optional[Path], **kwargs) -> None:
    # small bug in function that is missing an unchecked log start time
    """

    """
    ...


def combine_log(target_job: str, specified_ext: str, savepath: Optional[Path], backuppath: Optional[Path], delete: bool = False, **kwargs) -> None:
    """
    Combine logs of different file types into one file of a specified type.

    """
    ...


def parse(filepath: Optional[Path]) -> list:
    # add json parsing, eventually
    """

    """
    ...


def send_email(sender: str, to: str, subject: str, files: list[str | Path]) -> None:
    """

    """
    ...