kodexa 7.0.9017913951__tar.gz → 7.0.9066988095__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.9017913951 → kodexa-7.0.9066988095}/PKG-INFO +1 -1
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/kodexa/platform/client.py +41 -6
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/pyproject.toml +1 -1
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/LICENSE +0 -0
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/README.md +0 -0
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/kodexa/__init__.py +0 -0
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/kodexa/assistant/__init__.py +0 -0
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/kodexa/assistant/assistant.py +0 -0
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/kodexa/connectors/__init__.py +0 -0
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/kodexa/connectors/connectors.py +0 -0
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/kodexa/model/__init__.py +0 -0
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/kodexa/model/base.py +0 -0
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/kodexa/model/entities/__init__.py +0 -0
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/kodexa/model/entities/product.py +0 -0
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/kodexa/model/entities/product_subscription.py +0 -0
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/kodexa/model/model.py +0 -0
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/kodexa/model/objects.py +0 -0
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/kodexa/model/persistence.py +0 -0
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/kodexa/pipeline/__init__.py +0 -0
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/kodexa/pipeline/pipeline.py +0 -0
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/kodexa/platform/__init__.py +0 -0
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/kodexa/platform/interaction.py +0 -0
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/kodexa/platform/kodexa.py +0 -0
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/kodexa/selectors/__init__.py +0 -0
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/kodexa/selectors/ast.py +0 -0
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/kodexa/selectors/core.py +0 -0
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/kodexa/selectors/lexrules.py +0 -0
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/kodexa/selectors/lextab.py +0 -0
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/kodexa/selectors/lextab.pyi +0 -0
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/kodexa/selectors/parserules.py +0 -0
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/kodexa/selectors/parserules.pyi +0 -0
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/kodexa/selectors/parsetab.py +0 -0
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/kodexa/selectors/parsetab.pyi +0 -0
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/kodexa/spatial/__init__.py +0 -0
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/kodexa/spatial/azure_models.py +0 -0
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/kodexa/spatial/bbox_common.py +0 -0
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/kodexa/spatial/table_form_common.py +0 -0
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/kodexa/steps/__init__.py +0 -0
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/kodexa/steps/common.py +0 -0
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/kodexa/testing/__init__.py +0 -0
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/kodexa/testing/test_components.py +0 -0
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/kodexa/testing/test_utils.py +0 -0
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/kodexa/training/__init__.py +0 -0
- {kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/kodexa/training/train_utils.py +0 -0
@@ -2461,7 +2461,7 @@ class ProjectEndpoint(EntityEndpoint, Project):
|
|
2461
2461
|
data_forms: List["DataFormEndpoint"] = None,
|
2462
2462
|
guidance: List["GuidanceSetEndpoint"] = None,
|
2463
2463
|
dashboards: List["DashboardEndpoint"] = None,
|
2464
|
-
)
|
2464
|
+
):
|
2465
2465
|
"""Update the resources of the project.
|
2466
2466
|
|
2467
2467
|
Args:
|
@@ -2470,9 +2470,6 @@ class ProjectEndpoint(EntityEndpoint, Project):
|
|
2470
2470
|
data_forms (List["DataFormEndpoint"], optional): List of data form endpoints to update.
|
2471
2471
|
guidance (List["GuidanceSetEndpoint"], optional): List of guidance set endpoints to update.
|
2472
2472
|
dashboards (List["DashboardEndpoint"], optional): List of dashboard endpoints to update.
|
2473
|
-
|
2474
|
-
Returns:
|
2475
|
-
ProjectEndpoint: The updated project endpoint.
|
2476
2473
|
"""
|
2477
2474
|
project_resources_update = ProjectResourcesUpdate()
|
2478
2475
|
project_resources_update.store_refs = []
|
@@ -2501,7 +2498,7 @@ class ProjectEndpoint(EntityEndpoint, Project):
|
|
2501
2498
|
dashboard.ref for dashboard in dashboards
|
2502
2499
|
]
|
2503
2500
|
|
2504
|
-
|
2501
|
+
self.client.put(
|
2505
2502
|
f"/api/projects/{self.id}/resources",
|
2506
2503
|
body=json.loads(project_resources_update.json(by_alias=True)),
|
2507
2504
|
)
|
@@ -2585,6 +2582,43 @@ class ProjectEndpoint(EntityEndpoint, Project):
|
|
2585
2582
|
return [ProjectTag.model_validate(tag) for tag in response.json()]
|
2586
2583
|
|
2587
2584
|
|
2585
|
+
class GuidanceSetsEndpoint(EntitiesEndpoint):
|
2586
|
+
"""Represents a message endpoint"""
|
2587
|
+
|
2588
|
+
def get_type(self) -> str:
|
2589
|
+
"""
|
2590
|
+
Get the type of the endpoint.
|
2591
|
+
|
2592
|
+
Returns:
|
2593
|
+
str: The type of the endpoint, in this case "guidance".
|
2594
|
+
"""
|
2595
|
+
return "guidance"
|
2596
|
+
|
2597
|
+
def get_instance_class(self, object_dict=None):
|
2598
|
+
"""
|
2599
|
+
Get the instance class of the endpoint.
|
2600
|
+
|
2601
|
+
Args:
|
2602
|
+
object_dict (dict, optional): An optional dictionary object. Defaults to None.
|
2603
|
+
|
2604
|
+
Returns:
|
2605
|
+
GuidanceSetEndpoint: The instance class of the endpoint.
|
2606
|
+
"""
|
2607
|
+
return GuidanceSetEndpoint
|
2608
|
+
|
2609
|
+
def get_page_class(self, object_dict=None):
|
2610
|
+
"""
|
2611
|
+
Get the page class of the endpoint.
|
2612
|
+
|
2613
|
+
Args:
|
2614
|
+
object_dict (dict, optional): An optional dictionary object. Defaults to None.
|
2615
|
+
|
2616
|
+
Returns:
|
2617
|
+
PageGuidanceSetEndpoint: The page class of the endpoint.
|
2618
|
+
"""
|
2619
|
+
return PageGuidanceSetEndpoint
|
2620
|
+
|
2621
|
+
|
2588
2622
|
class MessagesEndpoint(EntitiesEndpoint):
|
2589
2623
|
"""Represents a message endpoint"""
|
2590
2624
|
|
@@ -2870,7 +2904,7 @@ class ProjectsEndpoint(EntitiesEndpoint):
|
|
2870
2904
|
if self.organization is not None:
|
2871
2905
|
params["filter"].append(f"organization.id: '{self.organization.id}'")
|
2872
2906
|
|
2873
|
-
get_response = self.client.get(f"/api/{self.get_type()}
|
2907
|
+
get_response = self.client.get(f"/api/{self.get_type()}", params=params)
|
2874
2908
|
|
2875
2909
|
return PageProjectEndpoint.model_validate(get_response.json()).set_client(
|
2876
2910
|
self.client
|
@@ -6229,6 +6263,7 @@ class KodexaClient:
|
|
6229
6263
|
self.messages = MessagesEndpoint(self)
|
6230
6264
|
from kodexa.model.entities.product import ProductsEndpoint
|
6231
6265
|
self.products = ProductsEndpoint(self)
|
6266
|
+
self.guidance_sets = GuidanceSetsEndpoint(self)
|
6232
6267
|
|
6233
6268
|
@staticmethod
|
6234
6269
|
def login(url, token):
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "kodexa"
|
3
|
-
version = "7.0.
|
3
|
+
version = "7.0.09066988095"
|
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
|
{kodexa-7.0.9017913951 → kodexa-7.0.9066988095}/kodexa/model/entities/product_subscription.py
RENAMED
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
|