core: add __NOT_HPI_MODULE__ flag to mark utility files etc
(more of an intermediate solution perhaps)
This commit is contained in:
parent
3b9941e9ee
commit
fd41caa640
12 changed files with 48 additions and 56 deletions
|
@ -139,3 +139,5 @@ def read_html(tpath: Path, file: str) -> Iterable[Parsed]:
|
|||
data = fo.read()
|
||||
parser.feed(data)
|
||||
return results
|
||||
|
||||
from ...core import __NOT_HPI_MODULE__
|
||||
|
|
|
@ -3,7 +3,8 @@ Module for locating and accessing [[https://takeout.google.com][Google Takeout]]
|
|||
'''
|
||||
|
||||
from dataclasses import dataclass
|
||||
from ...core.common import Paths
|
||||
from ...core.common import Paths, get_files
|
||||
from ...core.util import __NOT_HPI_MODULE__
|
||||
|
||||
from my.config import google as user_config
|
||||
@dataclass
|
||||
|
@ -19,7 +20,6 @@ config = make_config(google)
|
|||
from pathlib import Path
|
||||
from typing import Optional, Iterable
|
||||
|
||||
from ...common import get_files
|
||||
from ...kython.kompress import kopen, kexists
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue