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.
Files changed (44) hide show
  1. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/PKG-INFO +1 -1
  2. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/model/entities/product_subscription.py +3 -3
  3. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/platform/client.py +5 -3
  4. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/pyproject.toml +1 -1
  5. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/LICENSE +0 -0
  6. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/README.md +0 -0
  7. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/__init__.py +0 -0
  8. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/assistant/__init__.py +0 -0
  9. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/assistant/assistant.py +0 -0
  10. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/connectors/__init__.py +0 -0
  11. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/connectors/connectors.py +0 -0
  12. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/model/__init__.py +0 -0
  13. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/model/base.py +0 -0
  14. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/model/entities/__init__.py +0 -0
  15. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/model/entities/product.py +0 -0
  16. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/model/model.py +0 -0
  17. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/model/objects.py +0 -0
  18. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/model/persistence.py +0 -0
  19. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/pipeline/__init__.py +0 -0
  20. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/pipeline/pipeline.py +0 -0
  21. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/platform/__init__.py +0 -0
  22. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/platform/interaction.py +0 -0
  23. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/platform/kodexa.py +0 -0
  24. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/selectors/__init__.py +0 -0
  25. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/selectors/ast.py +0 -0
  26. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/selectors/core.py +0 -0
  27. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/selectors/lexrules.py +0 -0
  28. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/selectors/lextab.py +0 -0
  29. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/selectors/lextab.pyi +0 -0
  30. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/selectors/parserules.py +0 -0
  31. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/selectors/parserules.pyi +0 -0
  32. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/selectors/parsetab.py +0 -0
  33. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/selectors/parsetab.pyi +0 -0
  34. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/spatial/__init__.py +0 -0
  35. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/spatial/azure_models.py +0 -0
  36. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/spatial/bbox_common.py +0 -0
  37. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/spatial/table_form_common.py +0 -0
  38. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/steps/__init__.py +0 -0
  39. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/steps/common.py +0 -0
  40. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/testing/__init__.py +0 -0
  41. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/testing/test_components.py +0 -0
  42. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/testing/test_utils.py +0 -0
  43. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/training/__init__.py +0 -0
  44. {kodexa-7.0.8899281188 → kodexa-7.0.8902157011}/kodexa/training/train_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: kodexa
3
- Version: 7.0.8899281188
3
+ Version: 7.0.8902157011
4
4
  Summary: Python SDK for the Kodexa Platform
5
5
  Author: Austin Redenbaugh
6
6
  Author-email: austin@kodexa.com
@@ -46,7 +46,7 @@ class ProductSubscriptionEndpoint(ProductSubscription, EntityEndpoint):
46
46
  Returns:
47
47
  str: The type of the endpoint.
48
48
  """
49
- return "product_subscriptions"
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 "product_subscription"
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 "product_subscriptions"
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.organization.id}'",
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, subscription_id: str) -> None:
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/{subscription_id}"
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.08899281188"
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