vtexpy 0.0.0b22__tar.gz → 0.0.0b23__tar.gz

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.

Files changed (30) hide show
  1. {vtexpy-0.0.0b22 → vtexpy-0.0.0b23}/PKG-INFO +1 -1
  2. {vtexpy-0.0.0b22 → vtexpy-0.0.0b23}/pyproject.toml +1 -1
  3. {vtexpy-0.0.0b22 → vtexpy-0.0.0b23}/vtex/_vtex.py +7 -1
  4. {vtexpy-0.0.0b22 → vtexpy-0.0.0b23}/LICENSE +0 -0
  5. {vtexpy-0.0.0b22 → vtexpy-0.0.0b23}/README.md +0 -0
  6. {vtexpy-0.0.0b22 → vtexpy-0.0.0b23}/vtex/__init__.py +0 -0
  7. {vtexpy-0.0.0b22 → vtexpy-0.0.0b23}/vtex/_api/__init__.py +0 -0
  8. {vtexpy-0.0.0b22 → vtexpy-0.0.0b23}/vtex/_api/base.py +0 -0
  9. {vtexpy-0.0.0b22 → vtexpy-0.0.0b23}/vtex/_api/catalog.py +0 -0
  10. {vtexpy-0.0.0b22 → vtexpy-0.0.0b23}/vtex/_api/checkout.py +0 -0
  11. {vtexpy-0.0.0b22 → vtexpy-0.0.0b23}/vtex/_api/custom.py +0 -0
  12. {vtexpy-0.0.0b22 → vtexpy-0.0.0b23}/vtex/_api/license_manager.py +0 -0
  13. {vtexpy-0.0.0b22 → vtexpy-0.0.0b23}/vtex/_api/logistics.py +0 -0
  14. {vtexpy-0.0.0b22 → vtexpy-0.0.0b23}/vtex/_api/master_data.py +0 -0
  15. {vtexpy-0.0.0b22 → vtexpy-0.0.0b23}/vtex/_api/orders.py +0 -0
  16. {vtexpy-0.0.0b22 → vtexpy-0.0.0b23}/vtex/_api/payments_gateway.py +0 -0
  17. {vtexpy-0.0.0b22 → vtexpy-0.0.0b23}/vtex/_api/promotions_and_taxes.py +0 -0
  18. {vtexpy-0.0.0b22 → vtexpy-0.0.0b23}/vtex/_api/types/__init__.py +0 -0
  19. {vtexpy-0.0.0b22 → vtexpy-0.0.0b23}/vtex/_api/types/catalog.py +0 -0
  20. {vtexpy-0.0.0b22 → vtexpy-0.0.0b23}/vtex/_api/types/generic.py +0 -0
  21. {vtexpy-0.0.0b22 → vtexpy-0.0.0b23}/vtex/_api/types/license_manager.py +0 -0
  22. {vtexpy-0.0.0b22 → vtexpy-0.0.0b23}/vtex/_config.py +0 -0
  23. {vtexpy-0.0.0b22 → vtexpy-0.0.0b23}/vtex/_constants.py +0 -0
  24. {vtexpy-0.0.0b22 → vtexpy-0.0.0b23}/vtex/_dto.py +0 -0
  25. {vtexpy-0.0.0b22 → vtexpy-0.0.0b23}/vtex/_exceptions.py +0 -0
  26. {vtexpy-0.0.0b22 → vtexpy-0.0.0b23}/vtex/_logging.py +0 -0
  27. {vtexpy-0.0.0b22 → vtexpy-0.0.0b23}/vtex/_sentinels.py +0 -0
  28. {vtexpy-0.0.0b22 → vtexpy-0.0.0b23}/vtex/_types.py +0 -0
  29. {vtexpy-0.0.0b22 → vtexpy-0.0.0b23}/vtex/_utils.py +0 -0
  30. {vtexpy-0.0.0b22 → vtexpy-0.0.0b23}/vtex/py.typed +0 -0
@@ -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
@@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api"
5
5
  [tool.poetry]
6
6
  name = "vtexpy"
7
7
  description = "Unofficial VTEX API's Python SDK"
8
- version = "0.0.0b22"
8
+ version = "0.0.0b23"
9
9
  readme = "README.md"
10
10
  license = "Apache"
11
11
  authors = [
@@ -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
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes