vtexpy 0.0.0b11__tar.gz → 0.0.0b12__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.
- {vtexpy-0.0.0b11 → vtexpy-0.0.0b12}/PKG-INFO +1 -1
- {vtexpy-0.0.0b11 → vtexpy-0.0.0b12}/pyproject.toml +1 -1
- {vtexpy-0.0.0b11 → vtexpy-0.0.0b12}/vtex/_api/custom.py +8 -5
- {vtexpy-0.0.0b11 → vtexpy-0.0.0b12}/vtex/_config.py +4 -1
- {vtexpy-0.0.0b11 → vtexpy-0.0.0b12}/LICENSE +0 -0
- {vtexpy-0.0.0b11 → vtexpy-0.0.0b12}/README.md +0 -0
- {vtexpy-0.0.0b11 → vtexpy-0.0.0b12}/vtex/__init__.py +0 -0
- {vtexpy-0.0.0b11 → vtexpy-0.0.0b12}/vtex/_api/__init__.py +0 -0
- {vtexpy-0.0.0b11 → vtexpy-0.0.0b12}/vtex/_api/base.py +0 -0
- {vtexpy-0.0.0b11 → vtexpy-0.0.0b12}/vtex/_api/catalog.py +0 -0
- {vtexpy-0.0.0b11 → vtexpy-0.0.0b12}/vtex/_api/checkout.py +0 -0
- {vtexpy-0.0.0b11 → vtexpy-0.0.0b12}/vtex/_api/license_manager.py +0 -0
- {vtexpy-0.0.0b11 → vtexpy-0.0.0b12}/vtex/_api/logistics.py +0 -0
- {vtexpy-0.0.0b11 → vtexpy-0.0.0b12}/vtex/_api/master_data.py +0 -0
- {vtexpy-0.0.0b11 → vtexpy-0.0.0b12}/vtex/_api/orders.py +0 -0
- {vtexpy-0.0.0b11 → vtexpy-0.0.0b12}/vtex/_api/payments_gateway.py +0 -0
- {vtexpy-0.0.0b11 → vtexpy-0.0.0b12}/vtex/_api/promotions_and_taxes.py +0 -0
- {vtexpy-0.0.0b11 → vtexpy-0.0.0b12}/vtex/_api/types/__init__.py +0 -0
- {vtexpy-0.0.0b11 → vtexpy-0.0.0b12}/vtex/_api/types/license_manager.py +0 -0
- {vtexpy-0.0.0b11 → vtexpy-0.0.0b12}/vtex/_constants.py +0 -0
- {vtexpy-0.0.0b11 → vtexpy-0.0.0b12}/vtex/_dto.py +0 -0
- {vtexpy-0.0.0b11 → vtexpy-0.0.0b12}/vtex/_exceptions.py +0 -0
- {vtexpy-0.0.0b11 → vtexpy-0.0.0b12}/vtex/_logging.py +0 -0
- {vtexpy-0.0.0b11 → vtexpy-0.0.0b12}/vtex/_sentinels.py +0 -0
- {vtexpy-0.0.0b11 → vtexpy-0.0.0b12}/vtex/_types.py +0 -0
- {vtexpy-0.0.0b11 → vtexpy-0.0.0b12}/vtex/_utils.py +0 -0
- {vtexpy-0.0.0b11 → vtexpy-0.0.0b12}/vtex/_vtex.py +0 -0
- {vtexpy-0.0.0b11 → vtexpy-0.0.0b12}/vtex/py.typed +0 -0
|
@@ -68,15 +68,18 @@ class CustomAPI(BaseAPI):
|
|
|
68
68
|
def get_main_seller(self) -> str:
|
|
69
69
|
return "1"
|
|
70
70
|
|
|
71
|
-
def get_market_place_sellers(self) -> List[str]:
|
|
71
|
+
def get_market_place_sellers(self, include_inactive: bool = False) -> List[str]:
|
|
72
72
|
return [
|
|
73
73
|
seller["seller_id"]
|
|
74
|
-
for seller in self.client.catalog.list_sellers(
|
|
75
|
-
if seller["
|
|
74
|
+
for seller in self.client.catalog.list_sellers().items
|
|
75
|
+
if seller["seller_type"] == 1
|
|
76
|
+
and seller["seller_id"] != "1"
|
|
77
|
+
and (seller["is_active"] or include_inactive)
|
|
76
78
|
]
|
|
77
79
|
|
|
78
|
-
def get_franchise_sellers(self) -> List[str]:
|
|
80
|
+
def get_franchise_sellers(self, include_inactive: bool = False) -> List[str]:
|
|
79
81
|
return [
|
|
80
82
|
seller["seller_id"]
|
|
81
|
-
for seller in self.client.catalog.list_sellers(
|
|
83
|
+
for seller in self.client.catalog.list_sellers().items
|
|
84
|
+
if seller["seller_type"] == 2 and (seller["is_active"] or include_inactive)
|
|
82
85
|
]
|
|
@@ -71,7 +71,10 @@ class Config:
|
|
|
71
71
|
retry_backoff_min: Union[float, int, UndefinedSentinel] = UNDEFINED,
|
|
72
72
|
retry_backoff_max: Union[float, int, UndefinedSentinel] = UNDEFINED,
|
|
73
73
|
retry_backoff_exponential: Union[
|
|
74
|
-
bool,
|
|
74
|
+
bool,
|
|
75
|
+
int,
|
|
76
|
+
float,
|
|
77
|
+
UndefinedSentinel,
|
|
75
78
|
] = UNDEFINED,
|
|
76
79
|
retry_statuses: Union[List[int], UndefinedSentinel] = UNDEFINED,
|
|
77
80
|
retry_logs: Union[bool, UndefinedSentinel] = UNDEFINED,
|
|
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
|
|
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
|