mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-12-25 06:00:24 +00:00
Move transports into their own package (#1247)
This moves all transport implementations into a new `transports` package for cleaner main package & easier to understand project structure.
This commit is contained in:
@@ -9,7 +9,6 @@ import aiohttp
|
||||
import pytest
|
||||
from yarl import URL
|
||||
|
||||
from kasa.aestransport import AesTransport
|
||||
from kasa.credentials import Credentials
|
||||
from kasa.deviceconfig import DeviceConfig
|
||||
from kasa.exceptions import (
|
||||
@@ -21,14 +20,15 @@ from kasa.exceptions import (
|
||||
)
|
||||
from kasa.httpclient import HttpClient
|
||||
from kasa.iotprotocol import IotProtocol
|
||||
from kasa.klaptransport import (
|
||||
from kasa.protocol import DEFAULT_CREDENTIALS, get_default_credentials
|
||||
from kasa.smartprotocol import SmartProtocol
|
||||
from kasa.transports.aestransport import AesTransport
|
||||
from kasa.transports.klaptransport import (
|
||||
KlapEncryptionSession,
|
||||
KlapTransport,
|
||||
KlapTransportV2,
|
||||
_sha256,
|
||||
)
|
||||
from kasa.protocol import DEFAULT_CREDENTIALS, get_default_credentials
|
||||
from kasa.smartprotocol import SmartProtocol
|
||||
|
||||
DUMMY_QUERY = {"foobar": {"foo": "bar", "bar": "foo"}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user