ul-data-logger-api-sdk 3.3.0__tar.gz → 3.3.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ul_data_logger_api_sdk-3.3.0 → ul_data_logger_api_sdk-3.3.1}/PKG-INFO +1 -1
- {ul_data_logger_api_sdk-3.3.0 → ul_data_logger_api_sdk-3.3.1}/data_logger_api_sdk.py +4 -3
- {ul_data_logger_api_sdk-3.3.0 → ul_data_logger_api_sdk-3.3.1}/pyproject.toml +1 -1
- {ul_data_logger_api_sdk-3.3.0 → ul_data_logger_api_sdk-3.3.1}/types/api_base_stations.py +6 -0
- {ul_data_logger_api_sdk-3.3.0 → ul_data_logger_api_sdk-3.3.1}/.gitignore +0 -0
- {ul_data_logger_api_sdk-3.3.0 → ul_data_logger_api_sdk-3.3.1}/__init__.py +0 -0
- {ul_data_logger_api_sdk-3.3.0 → ul_data_logger_api_sdk-3.3.1}/data_logger_sdk_config.py +0 -0
- {ul_data_logger_api_sdk-3.3.0 → ul_data_logger_api_sdk-3.3.1}/py.typed +0 -0
- {ul_data_logger_api_sdk-3.3.0 → ul_data_logger_api_sdk-3.3.1}/types/__init__.py +0 -0
- {ul_data_logger_api_sdk-3.3.0 → ul_data_logger_api_sdk-3.3.1}/types/api_bs_traffic_stats.py +0 -0
- {ul_data_logger_api_sdk-3.3.0 → ul_data_logger_api_sdk-3.3.1}/types/api_device_data_history.py +0 -0
- {ul_data_logger_api_sdk-3.3.0 → ul_data_logger_api_sdk-3.3.1}/types/api_last_bs_data_by_device_macs.py +0 -0
- {ul_data_logger_api_sdk-3.3.0 → ul_data_logger_api_sdk-3.3.1}/types/api_packet_types.py +0 -0
- {ul_data_logger_api_sdk-3.3.0 → ul_data_logger_api_sdk-3.3.1}/types/api_protocol_types.py +0 -0
|
@@ -17,6 +17,7 @@ from data_logger_api_sdk.types.api_base_stations import (
|
|
|
17
17
|
ApiBaseStationDevicesResponse,
|
|
18
18
|
ApiBaseStationLogsStatForIntervalsResponse,
|
|
19
19
|
ApiBaseStationLogsStatResponse,
|
|
20
|
+
ApiBaseStationLogDetailResponse,
|
|
20
21
|
ApiBaseStationLogResponse,
|
|
21
22
|
ApiBaseStationLogsListResult,
|
|
22
23
|
ApiBaseStationsListResult,
|
|
@@ -247,12 +248,12 @@ class DataLoggerApiSdk:
|
|
|
247
248
|
self,
|
|
248
249
|
base_station_id: UUID,
|
|
249
250
|
log_id: UUID,
|
|
250
|
-
) ->
|
|
251
|
-
"""GET /base-stations/<uuid>/logs/<uuid> — конкретный лог
|
|
251
|
+
) -> ApiBaseStationLogDetailResponse:
|
|
252
|
+
"""GET /base-stations/<uuid>/logs/<uuid> — конкретный лог БС с сырым JSON пакета."""
|
|
252
253
|
return self._request_payload_once(
|
|
253
254
|
ApiMethod.GET,
|
|
254
255
|
f"/base-stations/{base_station_id}/logs/{log_id}",
|
|
255
|
-
|
|
256
|
+
ApiBaseStationLogDetailResponse,
|
|
256
257
|
)
|
|
257
258
|
|
|
258
259
|
def get_base_station_system_logs(
|
|
@@ -84,6 +84,12 @@ class ApiBaseStationLogResponse(JsonApiResponsePayload):
|
|
|
84
84
|
external_document_id: UUID4 | None = None
|
|
85
85
|
|
|
86
86
|
|
|
87
|
+
class ApiBaseStationLogDetailResponse(ApiBaseStationLogResponse):
|
|
88
|
+
"""Ответ GET /base-stations/<uuid>/logs/<uuid> — лог с сырым JSON пакета (ApiBsLogDetailResponse в DL)."""
|
|
89
|
+
|
|
90
|
+
data: Dict[str, Any] | None = None
|
|
91
|
+
|
|
92
|
+
|
|
87
93
|
class ApiBaseStationSystemLogResponse(JsonApiResponsePayload):
|
|
88
94
|
"""Элемент ответа GET /base-stations/<uuid>/system-logs (ApiBsSystemLogsResponse)."""
|
|
89
95
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ul_data_logger_api_sdk-3.3.0 → ul_data_logger_api_sdk-3.3.1}/types/api_device_data_history.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|