twitter/archive: update deprecated imports
This commit is contained in:
parent
b9852f45cf
commit
b6fa26b899
1 changed files with 4 additions and 3 deletions
|
@ -18,7 +18,8 @@ except ImportError as e:
|
||||||
|
|
||||||
|
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
from ..core import Paths, Res, datetime_aware
|
from ..core.common import Paths, datetime_aware
|
||||||
|
from ..core.error import Res
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class twitter_archive(user_config):
|
class twitter_archive(user_config):
|
||||||
|
@ -36,12 +37,12 @@ from typing import List, Optional, NamedTuple, Sequence, Iterator
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
import json
|
import json
|
||||||
|
|
||||||
from ..common import get_files, LazyLogger, Json
|
from ..core.common import get_files, LazyLogger, Json
|
||||||
from ..core import kompress
|
from ..core import kompress
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
logger = LazyLogger(__name__)
|
logger = LazyLogger(__name__, level="debug")
|
||||||
|
|
||||||
|
|
||||||
def inputs() -> Sequence[Path]:
|
def inputs() -> Sequence[Path]:
|
||||||
|
|
Loading…
Add table
Reference in a new issue