optimized imports

This commit is contained in:
Hellow 2023-04-04 22:10:35 +02:00
parent 48ec718757
commit ae80a4d8d2

View File

@ -1,34 +1,21 @@
import os
from typing import List, Optional, Dict, Tuple from typing import List, Optional, Dict, Tuple
import pycountry
from collections import defaultdict
import pycountry
from .album import AlbumType, AlbumStatus
from .collection import Collection
from .formatted_text import FormattedText
from .lyrics import Lyrics
from .metadata import ( from .metadata import (
Mapping as id3Mapping, Mapping as id3Mapping,
ID3Timestamp, ID3Timestamp,
Metadata Metadata
) )
from ..utils.shared import (
MUSIC_DIR,
DATABASE_LOGGER as LOGGER
)
from ..utils.string_processing import unify
from .parents import (
DatabaseObject,
MainObject
)
from .source import (
Source,
SourceTypes,
SourcePages,
SourceCollection
)
from .formatted_text import FormattedText
from .collection import Collection
from .album import AlbumType, AlbumStatus
from .lyrics import Lyrics
from .target import Target
from .option import Options from .option import Options
from .parents import MainObject
from .source import Source, SourceCollection
from .target import Target
from ..utils.string_processing import unify
""" """
All Objects dependent All Objects dependent