23 lines
494 B
Python
23 lines
494 B
Python
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",
|
|
]
|