vtexpy 0.0.0b27__py3-none-any.whl → 0.0.0b28__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.
Potentially problematic release.
This version of vtexpy might be problematic. Click here for more details.
- vtex/_api/base.py +10 -0
- vtex/_api/orders.py +1 -1
- vtex/_api/payments_gateway.py +1 -1
- {vtexpy-0.0.0b27.dist-info → vtexpy-0.0.0b28.dist-info}/METADATA +1 -1
- {vtexpy-0.0.0b27.dist-info → vtexpy-0.0.0b28.dist-info}/RECORD +7 -7
- {vtexpy-0.0.0b27.dist-info → vtexpy-0.0.0b28.dist-info}/LICENSE +0 -0
- {vtexpy-0.0.0b27.dist-info → vtexpy-0.0.0b28.dist-info}/WHEEL +0 -0
vtex/_api/base.py
CHANGED
|
@@ -129,6 +129,16 @@ class BaseAPI:
|
|
|
129
129
|
)
|
|
130
130
|
):
|
|
131
131
|
sleep(1)
|
|
132
|
+
self.logger.info(
|
|
133
|
+
f"{rate_limiter} limited {request_config.account_name} on "
|
|
134
|
+
f"{endpoint}",
|
|
135
|
+
extra={
|
|
136
|
+
"endpoint": endpoint,
|
|
137
|
+
"account_name": request_config.account_name,
|
|
138
|
+
"rate_limiter": rate_limiter,
|
|
139
|
+
"rate_limit": rate_limit,
|
|
140
|
+
},
|
|
141
|
+
)
|
|
132
142
|
|
|
133
143
|
try:
|
|
134
144
|
response = client.request(
|
vtex/_api/orders.py
CHANGED
|
@@ -88,7 +88,7 @@ class OrdersAPI(BaseAPI):
|
|
|
88
88
|
environment=self.ENVIRONMENT,
|
|
89
89
|
params=params,
|
|
90
90
|
config=self.client.config.with_overrides(**kwargs),
|
|
91
|
-
rate_limit=parse("
|
|
91
|
+
rate_limit=parse("4500 per minute"),
|
|
92
92
|
response_class=VTEXPaginatedItemsResponse[Any, Any],
|
|
93
93
|
)
|
|
94
94
|
|
vtex/_api/payments_gateway.py
CHANGED
|
@@ -37,7 +37,7 @@ class PaymentsGatewayAPI(BaseAPI):
|
|
|
37
37
|
endpoint=f"/api/pvt/transactions/{transaction_id}/interactions",
|
|
38
38
|
environment=self.ENVIRONMENT,
|
|
39
39
|
config=self.client.config.with_overrides(**kwargs),
|
|
40
|
-
rate_limit=parse("
|
|
40
|
+
rate_limit=parse("3500 per minute"),
|
|
41
41
|
response_class=VTEXItemsResponse[Any, Any],
|
|
42
42
|
)
|
|
43
43
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
vtex/__init__.py,sha256=SLnqpZa19ISSQ9LDaCVLDAj-OxFlgVkQyEknydu20VU,636
|
|
2
2
|
vtex/_api/__init__.py,sha256=2OarRhTDq1Oj65v7WkMr3Bi7EAnQMPm2Ypgv9flzE6c,385
|
|
3
|
-
vtex/_api/base.py,sha256=
|
|
3
|
+
vtex/_api/base.py,sha256=DwX6kz9ChDNP8V32xmLt9mE91xDPz_NhMs2qL8WZ-Cw,8742
|
|
4
4
|
vtex/_api/catalog.py,sha256=UaVWI9Vhhu6wHejO851hVSDmcLUDtfwcnsGasZGEKiw,4661
|
|
5
5
|
vtex/_api/checkout.py,sha256=ViFJq2GZRAA6yyjaFC3rz0oMYKxzBIsi8tzGKCWRxQ0,1693
|
|
6
6
|
vtex/_api/custom.py,sha256=3yIwTj1Ikf30oq0GzdNz0P9APYxjBeoRvdlbh0rT9gs,2930
|
|
7
7
|
vtex/_api/license_manager.py,sha256=GAdRpizeGUFem-up-SYNzehs5uBY0elTElJ9bEQUlFo,2805
|
|
8
8
|
vtex/_api/logistics.py,sha256=bd55wipbnql3OFnDCBsjP0-jp7OY6FP10Yz5acOsG2o,5052
|
|
9
9
|
vtex/_api/master_data.py,sha256=HGoWr908iQYb0kzq_KNvKyWKtaNQ9vTv7CXxvKey0AM,2046
|
|
10
|
-
vtex/_api/orders.py,sha256=
|
|
11
|
-
vtex/_api/payments_gateway.py,sha256=
|
|
10
|
+
vtex/_api/orders.py,sha256=kkWm4qCiJPfZrdRDu-UEgq23WO7ov7dwcC4jcej4giU,5211
|
|
11
|
+
vtex/_api/payments_gateway.py,sha256=FkNoX38qWjhhDxRmFo50oUBdxSJLkKXNIrFxaNlOyhM,3879
|
|
12
12
|
vtex/_api/pricing.py,sha256=gZX9MmUKsj0iPjJKT2-Ko9dzT6rZR_DR4ruqs1c9IdY,535
|
|
13
13
|
vtex/_api/promotions_and_taxes.py,sha256=wtNxTrc36u10AMbOq2NMtOVp1HLzrBWxqJDmBYpdXXY,1893
|
|
14
14
|
vtex/_api/types/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -25,7 +25,7 @@ vtex/_types.py,sha256=xrqHzmrc0IhE5fc1aGf0StCm3BQbVFyk3LG4Hd7Wd2Q,631
|
|
|
25
25
|
vtex/_utils.py,sha256=ngC2rRdhBO5cjAAByS0_2LMeXKsI6rnfiHGP96U0m88,3215
|
|
26
26
|
vtex/_vtex.py,sha256=IBPVQ__xiQGJEoht4oCnd-pAYKNJDrKoU06yieQL84o,2342
|
|
27
27
|
vtex/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
28
|
-
vtexpy-0.0.
|
|
29
|
-
vtexpy-0.0.
|
|
30
|
-
vtexpy-0.0.
|
|
31
|
-
vtexpy-0.0.
|
|
28
|
+
vtexpy-0.0.0b28.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
29
|
+
vtexpy-0.0.0b28.dist-info/METADATA,sha256=xjaeDENnYPAZItGKrnU8rsspdKFA-Di3Daa8BYUKNDg,3528
|
|
30
|
+
vtexpy-0.0.0b28.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
31
|
+
vtexpy-0.0.0b28.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|