kodexa 7.0.8899281188__tar.gz → 7.0.8902157011__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.
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/PKG-INFO +1 -1
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/model/entities/product_subscription.py +3 -3
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/platform/client.py +5 -3
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/pyproject.toml +1 -1
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/LICENSE +0 -0
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/README.md +0 -0
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/__init__.py +0 -0
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/assistant/__init__.py +0 -0
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/assistant/assistant.py +0 -0
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/connectors/__init__.py +0 -0
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/connectors/connectors.py +0 -0
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/model/__init__.py +0 -0
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/model/base.py +0 -0
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/model/entities/__init__.py +0 -0
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/model/entities/product.py +0 -0
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/model/model.py +0 -0
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/model/objects.py +0 -0
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/model/persistence.py +0 -0
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/pipeline/__init__.py +0 -0
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/pipeline/pipeline.py +0 -0
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/platform/__init__.py +0 -0
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/platform/interaction.py +0 -0
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/platform/kodexa.py +0 -0
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/selectors/__init__.py +0 -0
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/selectors/ast.py +0 -0
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/selectors/core.py +0 -0
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/selectors/lexrules.py +0 -0
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/selectors/lextab.py +0 -0
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/selectors/lextab.pyi +0 -0
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/selectors/parserules.py +0 -0
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/selectors/parserules.pyi +0 -0
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/selectors/parsetab.py +0 -0
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/selectors/parsetab.pyi +0 -0
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/spatial/__init__.py +0 -0
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/spatial/azure_models.py +0 -0
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/spatial/bbox_common.py +0 -0
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/spatial/table_form_common.py +0 -0
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/steps/__init__.py +0 -0
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/steps/common.py +0 -0
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/testing/__init__.py +0 -0
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/testing/test_components.py +0 -0
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/testing/test_utils.py +0 -0
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/training/__init__.py +0 -0
- {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/training/train_utils.py +0 -0
{kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/model/entities/product_subscription.py
RENAMED
@@ -46,7 +46,7 @@ class ProductSubscriptionEndpoint(ProductSubscription, EntityEndpoint):
|
|
46
46
|
Returns:
|
47
47
|
str: The type of the endpoint.
|
48
48
|
"""
|
49
|
-
return "
|
49
|
+
return "productSubscription"
|
50
50
|
|
51
51
|
|
52
52
|
class PageProductSubscription(BaseModel):
|
@@ -73,7 +73,7 @@ class PageProductSubscription(BaseModel):
|
|
73
73
|
|
74
74
|
class PageProductSubscriptionEndpoint(PageProductSubscription, PageEndpoint):
|
75
75
|
def get_type(self) -> Optional[str]:
|
76
|
-
return "
|
76
|
+
return "productSubscription"
|
77
77
|
|
78
78
|
|
79
79
|
class ProductSubscriptionsEndpoint(EntitiesEndpoint):
|
@@ -93,7 +93,7 @@ class ProductSubscriptionsEndpoint(EntitiesEndpoint):
|
|
93
93
|
Returns:
|
94
94
|
str: The type of the endpoint.
|
95
95
|
"""
|
96
|
-
return "
|
96
|
+
return "productSubscriptions"
|
97
97
|
|
98
98
|
def get_instance_class(self, object_dict=None):
|
99
99
|
"""Get the instance class of the endpoint
|
@@ -1643,21 +1643,23 @@ class OrganizationEndpoint(Organization, EntityEndpoint):
|
|
1643
1643
|
"""
|
1644
1644
|
url = f"/api/productSubscriptions"
|
1645
1645
|
params = {
|
1646
|
-
filter: f"organization.id: '{self.
|
1646
|
+
"filter": f"organization.id: '{self.id}'",
|
1647
|
+
"page": page,
|
1648
|
+
"pageSize": page_size
|
1647
1649
|
}
|
1648
1650
|
response = self.client.get(url, params=params)
|
1649
1651
|
|
1650
1652
|
from kodexa.model.entities.product_subscription import PageProductSubscriptionEndpoint
|
1651
1653
|
return PageProductSubscriptionEndpoint.model_validate(response.json()).set_client(self.client)
|
1652
1654
|
|
1653
|
-
def remove_subscription(self,
|
1655
|
+
def remove_subscription(self, subscription: "ProductSubscription") -> None:
|
1654
1656
|
"""
|
1655
1657
|
Remove a subscription from the organization.
|
1656
1658
|
|
1657
1659
|
Args:
|
1658
1660
|
subscription_id (str): The id of the subscription to remove.
|
1659
1661
|
"""
|
1660
|
-
url = f"/api/productSubscriptions/{
|
1662
|
+
url = f"/api/productSubscriptions/{subscription.id}"
|
1661
1663
|
self.client.delete(url)
|
1662
1664
|
|
1663
1665
|
def add_subscription(self, product: "Product") -> None:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "kodexa"
|
3
|
-
version = "7.0.
|
3
|
+
version = "7.0.08902157011"
|
4
4
|
description = "Python SDK for the Kodexa Platform"
|
5
5
|
authors = ["Austin Redenbaugh <austin@kodexa.com>", "Philip Dodds <philip@kodexa.com>", "Romar Cablao <rcablao@kodexa.com>", "Amadea Paula Dodds <amadeapaula@kodexa.com>"]
|
6
6
|
readme = "README.md"
|
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
|
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
|