mirror of
https://github.com/malmeloo/FindMy.py.git
synced 2026-04-18 01:53:58 +02:00
refactor: combine utils into single import internally
This commit is contained in:
@@ -1,6 +1,14 @@
|
||||
"""Utility functions and classes. Intended for internal use."""
|
||||
|
||||
from .http import HttpResponse, HttpSession
|
||||
from .parsers import decode_plist
|
||||
from . import abc, crypto, files, http, parsers, plist, session, types
|
||||
|
||||
__all__ = ("HttpResponse", "HttpSession", "decode_plist")
|
||||
__all__ = (
|
||||
"abc",
|
||||
"crypto",
|
||||
"files",
|
||||
"http",
|
||||
"parsers",
|
||||
"plist",
|
||||
"session",
|
||||
"types",
|
||||
)
|
||||
|
||||
@@ -5,7 +5,7 @@ from __future__ import annotations
|
||||
import random
|
||||
from typing import TYPE_CHECKING, Any, Generic, Self, TypeVar, Union
|
||||
|
||||
from findmy.util.abc import Closable, Serializable
|
||||
from .abc import Closable, Serializable
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from pathlib import Path
|
||||
|
||||
Reference in New Issue
Block a user