Fixed acknowledgments
This commit is contained in:
@@ -21,12 +21,19 @@ from xsdata.formats.dataclass.serializers.config import SerializerConfig
|
||||
from xsdata_pydantic.bindings import XmlParser, XmlSerializer
|
||||
|
||||
from alpine_bits_python.alpine_bits_helpers import (
|
||||
create_res_notif_push_message, create_res_retrieve_response)
|
||||
create_res_notif_push_message,
|
||||
create_res_retrieve_response,
|
||||
)
|
||||
|
||||
from .db import AckedRequest, Customer, Reservation
|
||||
from .generated.alpinebits import (OtaNotifReportRq, OtaNotifReportRs,
|
||||
OtaPingRq, OtaPingRs, OtaReadRq,
|
||||
WarningStatus)
|
||||
from .generated.alpinebits import (
|
||||
OtaNotifReportRq,
|
||||
OtaNotifReportRs,
|
||||
OtaPingRq,
|
||||
OtaPingRs,
|
||||
OtaReadRq,
|
||||
WarningStatus,
|
||||
)
|
||||
|
||||
# Configure logging
|
||||
logging.basicConfig(level=logging.INFO)
|
||||
@@ -518,7 +525,7 @@ class ReadAction(AlpineBitsAction):
|
||||
select(Reservation.id)
|
||||
.join(
|
||||
AckedRequest,
|
||||
Reservation.unique_id.like(str(AckedRequest.unique_id) + "%"),
|
||||
Reservation.md5_unique_id == AckedRequest.unique_id,
|
||||
)
|
||||
.filter(AckedRequest.client_id == client_info.client_id)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user