From 4e6f43a8bbd6b5df487026f036e3f57019ec120a Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Wed, 21 Apr 2021 14:43:41 +0200 Subject: [PATCH] new tradenote schema --- ereuse_devicehub/resources/action/schemas.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ereuse_devicehub/resources/action/schemas.py b/ereuse_devicehub/resources/action/schemas.py index a8956ba8..7165060b 100644 --- a/ereuse_devicehub/resources/action/schemas.py +++ b/ereuse_devicehub/resources/action/schemas.py @@ -455,6 +455,10 @@ class Reserve(Organize): class CancelReservation(Organize): __doc__ = m.CancelReservation.__doc__ +class TradeNote(ActionWithMultipleDevices): + __doc__ = m.TradeNote.__doc__ + trade = NestedOn('Trade', only_query='id') + class Confirm(ActionWithMultipleDevices): __doc__ = m.Confirm.__doc__