log vs config vs app (DIRTY)
This commit is contained in:
@@ -10,12 +10,15 @@ import shutil
|
||||
import sys
|
||||
import venv
|
||||
from pathlib import Path
|
||||
from typing import Optional
|
||||
from typing import Optional, Union
|
||||
from collections.abc import MutableMapping
|
||||
|
||||
from . import logger, PathLike
|
||||
|
||||
|
||||
def path(fpath: str|Path = None):
|
||||
return Path(fpath).resolve()
|
||||
|
||||
class DataDict(dict):
|
||||
"""Wrapper around dictionary objects for easier dict subclassing
|
||||
See module [collections](https://github.com/python/cpython/blob/3.14/Lib/collections/__init__.py#L1133)
|
||||
|
||||
Reference in New Issue
Block a user