karrio-canadapost 2025.5rc14__py3-none-any.whl → 2025.5rc16__py3-none-any.whl
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.
- karrio/mappers/canadapost/proxy.py +7 -1
- {karrio_canadapost-2025.5rc14.dist-info → karrio_canadapost-2025.5rc16.dist-info}/METADATA +1 -1
- {karrio_canadapost-2025.5rc14.dist-info → karrio_canadapost-2025.5rc16.dist-info}/RECORD +6 -6
- {karrio_canadapost-2025.5rc14.dist-info → karrio_canadapost-2025.5rc16.dist-info}/WHEEL +0 -0
- {karrio_canadapost-2025.5rc14.dist-info → karrio_canadapost-2025.5rc16.dist-info}/entry_points.txt +0 -0
- {karrio_canadapost-2025.5rc14.dist-info → karrio_canadapost-2025.5rc16.dist-info}/top_level.txt +0 -0
|
@@ -169,6 +169,11 @@ class Proxy(proxy.Proxy):
|
|
|
169
169
|
"Authorization": f"Basic {self.settings.authorization}",
|
|
170
170
|
"Accept-language": f"{self.settings.language}-CA",
|
|
171
171
|
},
|
|
172
|
+
decoder=lambda _: (
|
|
173
|
+
_
|
|
174
|
+
if lib.text(_)
|
|
175
|
+
else '<message>Shipment cancelled</message>'
|
|
176
|
+
),
|
|
172
177
|
)
|
|
173
178
|
if payload["refunded"]
|
|
174
179
|
else payload["response"]
|
|
@@ -188,7 +193,8 @@ class Proxy(proxy.Proxy):
|
|
|
188
193
|
)
|
|
189
194
|
|
|
190
195
|
return lib.Deserializable(
|
|
191
|
-
responses,
|
|
196
|
+
responses,
|
|
197
|
+
lambda ___: [(_, lib.to_element(__)) for _, __ in ___],
|
|
192
198
|
)
|
|
193
199
|
|
|
194
200
|
def schedule_pickup(self, request: lib.Serializable) -> lib.Deserializable:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
karrio/mappers/canadapost/__init__.py,sha256=l2QCRrKKsOToc8Q3YHgsLKK3fDDqYDSDJWI_kZxSgC0,158
|
|
2
2
|
karrio/mappers/canadapost/mapper.py,sha256=asYfH9mAO5d1E4Zf4zZwYwa2Q-oRRpDpprWaJrDy1co,3612
|
|
3
|
-
karrio/mappers/canadapost/proxy.py,sha256=
|
|
3
|
+
karrio/mappers/canadapost/proxy.py,sha256=PA-KLsDPjggg37iTu8_e-ATOMuptx-Tzv5soP7OJKC4,15366
|
|
4
4
|
karrio/mappers/canadapost/settings.py,sha256=Dq2BI7n4HEkZ4juXiQEvYAwJebW18SyOCuDebQ5zqCo,553
|
|
5
5
|
karrio/plugins/canadapost/__init__.py,sha256=H2AnAPrkvQmfVdtSBumzOnjwnrym_YWU-4zRBvkSQlg,765
|
|
6
6
|
karrio/providers/canadapost/__init__.py,sha256=3UB1PI83_GZt2e0mQf_9lIye1vXjUwuMH-_sUkqIFNk,791
|
|
@@ -34,8 +34,8 @@ karrio/schemas/canadapost/rating.py,sha256=Iaoagbm6L6A62GwI4PRB_2ZGZ1WpIbtogn9vg
|
|
|
34
34
|
karrio/schemas/canadapost/serviceinfo.py,sha256=gV0CYy7rcoTcVOYmKL9nLCqdVeQVERK8_vNvk9jn8eM,60134
|
|
35
35
|
karrio/schemas/canadapost/shipment.py,sha256=5xbnYyC8Mufsv2DJ11wk45yx1e2fK84UO-_3SSt5i-k,525576
|
|
36
36
|
karrio/schemas/canadapost/track.py,sha256=Va7-OB0sztIz9pu0VaTKaNDMUVPC1AXCTPDePdyX84Q,150548
|
|
37
|
-
karrio_canadapost-2025.
|
|
38
|
-
karrio_canadapost-2025.
|
|
39
|
-
karrio_canadapost-2025.
|
|
40
|
-
karrio_canadapost-2025.
|
|
41
|
-
karrio_canadapost-2025.
|
|
37
|
+
karrio_canadapost-2025.5rc16.dist-info/METADATA,sha256=n1OjE4Ag70uPDzcT_wzVjnKkNVnvOgIJP_GZWLOL58M,1020
|
|
38
|
+
karrio_canadapost-2025.5rc16.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
39
|
+
karrio_canadapost-2025.5rc16.dist-info/entry_points.txt,sha256=dU9l-mw14-Lg7pHChydFReVeE2OV8wwOM15AQQkbhvw,65
|
|
40
|
+
karrio_canadapost-2025.5rc16.dist-info/top_level.txt,sha256=FZCY8Nwft8oEGHdl--xku8P3TrnOxu5dETEU_fWpRSM,20
|
|
41
|
+
karrio_canadapost-2025.5rc16.dist-info/RECORD,,
|
|
File without changes
|
{karrio_canadapost-2025.5rc14.dist-info → karrio_canadapost-2025.5rc16.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{karrio_canadapost-2025.5rc14.dist-info → karrio_canadapost-2025.5rc16.dist-info}/top_level.txt
RENAMED
|
File without changes
|