vtexpy 0.0.0b22__py3-none-any.whl → 0.0.0b23__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/_vtex.py CHANGED
@@ -1,5 +1,5 @@
1
1
  from functools import cached_property
2
- from typing import TYPE_CHECKING
2
+ from typing import TYPE_CHECKING, Any
3
3
 
4
4
  from ._config import VTEXConfig
5
5
  from ._logging import CLIENT_LOGGER
@@ -28,6 +28,12 @@ class VTEX:
28
28
  self.logger = CLIENT_LOGGER
29
29
  self.config = config
30
30
 
31
+ def with_config_overrides(self, **kwargs: Any) -> "VTEX":
32
+ if not kwargs:
33
+ return self
34
+
35
+ return VTEX(config=self.config.with_overrides(**kwargs))
36
+
31
37
  @cached_property
32
38
  def custom(self) -> "CustomAPI":
33
39
  from ._api import CustomAPI
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vtexpy
3
- Version: 0.0.0b22
3
+ Version: 0.0.0b23
4
4
  Summary: Unofficial VTEX API's Python SDK
5
5
  Home-page: https://github.com/lvieirajr/vtex-python
6
6
  License: Apache
@@ -22,9 +22,9 @@ vtex/_logging.py,sha256=C1h6Ta1EoXNPdP4U64-3iRCE0Qu-u6XLzSbyBKxkEFg,2226
22
22
  vtex/_sentinels.py,sha256=HLkYBJVHTx9GoyACPO1SuINaGlU2YiqOPuFXUa7iG8A,1120
23
23
  vtex/_types.py,sha256=xrqHzmrc0IhE5fc1aGf0StCm3BQbVFyk3LG4Hd7Wd2Q,631
24
24
  vtex/_utils.py,sha256=slBhhZN3h2S_qopVLGP0MS6nTfsoOcsqaOhLwbCiFwQ,3104
25
- vtex/_vtex.py,sha256=Vt-ERteT70vpXHpe2Q4VlkR5qpz_AS_Ni2OsS0hgDZs,2003
25
+ vtex/_vtex.py,sha256=yr8ICPX0gDpPdcoSDJaokMuwFZWWEQ7Wi8z6XibYdos,2184
26
26
  vtex/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
27
- vtexpy-0.0.0b22.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
28
- vtexpy-0.0.0b22.dist-info/METADATA,sha256=Y4AFwSqaH0keLw3Ufa_QZNhkKj8PvKxVdY7lFDiMpDw,3493
29
- vtexpy-0.0.0b22.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
30
- vtexpy-0.0.0b22.dist-info/RECORD,,
27
+ vtexpy-0.0.0b23.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
28
+ vtexpy-0.0.0b23.dist-info/METADATA,sha256=iPRJUEiDPtWBvrKfoBfvCfEZ4rJcdYylHEr-PnhGdJM,3493
29
+ vtexpy-0.0.0b23.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
30
+ vtexpy-0.0.0b23.dist-info/RECORD,,