mirror of
https://github.com/controllerzz/carbus_lib.git
synced 2026-07-14 07:50:13 +03:00
save
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
from .client import UdsClient
|
||||
from .server import UdsServer
|
||||
|
||||
try:
|
||||
from .types import (
|
||||
UdsRequest,
|
||||
UdsResponse,
|
||||
UdsPositiveResponse,
|
||||
UdsNegativeResponse,
|
||||
ResponseCode,
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
"UdsClient",
|
||||
"UdsServer",
|
||||
]
|
||||
except ImportError:
|
||||
# если types.py нет или переименован — хотя бы клиент и сервер доступны
|
||||
__all__ = [
|
||||
"UdsClient",
|
||||
"UdsServer",
|
||||
]
|
||||
Reference in New Issue
Block a user