kodexa 7.0.9196984597__py3-none-any.whl → 7.0.9208667113__py3-none-any.whl

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/platform/client.py CHANGED
@@ -2081,6 +2081,38 @@ class ProjectDocumentStoresEndpoint(ProjectResourceEndpoint):
2081
2081
  return DocumentStoreEndpoint
2082
2082
 
2083
2083
 
2084
+ class ProjectDashboardsEndpoint(ProjectResourceEndpoint):
2085
+ """Represents a project dashboards endpoint.
2086
+
2087
+ This class is used to represent a project document stores endpoint in the system.
2088
+ """
2089
+
2090
+ """Represents a project document stores endpoint"""
2091
+
2092
+ def get_type(self) -> str:
2093
+ """Get the type of the endpoint.
2094
+
2095
+ This method is used to get the type of the endpoint.
2096
+
2097
+ Returns:
2098
+ str: The type of the endpoint.
2099
+ """
2100
+ return "dashboards"
2101
+
2102
+ def get_instance_class(self, object_dict=None):
2103
+ """Get the instance class of the project document stores endpoint.
2104
+
2105
+ This method is used to get the instance class of the project document stores endpoint.
2106
+
2107
+ Args:
2108
+ object_dict (dict, optional): The object dictionary. Defaults to None.
2109
+
2110
+ Returns:
2111
+ DocumentStoreEndpoint: The instance class of the project document stores endpoint.
2112
+ """
2113
+ return DashboardEndpoint
2114
+
2115
+
2084
2116
  class GuidanceSetEndpoint(ComponentInstanceEndpoint, GuidanceSet):
2085
2117
 
2086
2118
  def get_type(self) -> str:
@@ -2517,6 +2549,15 @@ class ProjectEndpoint(EntityEndpoint, Project):
2517
2549
  body=json.loads(project_resources_update.json(by_alias=True)),
2518
2550
  )
2519
2551
 
2552
+ @property
2553
+ def dashboards(self) -> ProjectDashboardsEndpoint:
2554
+ """Get the document stores endpoint of the project.
2555
+
2556
+ Returns:
2557
+ ProjectDocumentStoresEndpoint: The document stores endpoint of the project.
2558
+ """
2559
+ return ProjectDashboardsEndpoint().set_client(self.client).set_project(self)
2560
+
2520
2561
  @property
2521
2562
  def document_stores(self) -> ProjectDocumentStoresEndpoint:
2522
2563
  """Get the document stores endpoint of the project.
@@ -2554,7 +2595,7 @@ class ProjectEndpoint(EntityEndpoint, Project):
2554
2595
  return ProjectTaxonomiesEndpoint().set_client(self.client).set_project(self)
2555
2596
 
2556
2597
  @property
2557
- def guidance(self) -> "ProjectGuidanceEndpoint":
2598
+ def guidance(self) -> "ProjectGuidanceSetsEndpoint":
2558
2599
  """Get the guidance sets endpoint of the project.
2559
2600
 
2560
2601
  Returns:
@@ -2596,7 +2637,6 @@ class ProjectEndpoint(EntityEndpoint, Project):
2596
2637
  return [ProjectTag.model_validate(tag) for tag in response.json()]
2597
2638
 
2598
2639
 
2599
-
2600
2640
  class MessagesEndpoint(EntitiesEndpoint):
2601
2641
  """Represents a message endpoint"""
2602
2642
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: kodexa
3
- Version: 7.0.9196984597
3
+ Version: 7.0.9208667113
4
4
  Summary: Python SDK for the Kodexa Platform
5
5
  Author: Austin Redenbaugh
6
6
  Author-email: austin@kodexa.com
@@ -14,7 +14,7 @@ kodexa/model/persistence.py,sha256=sx5FwTSsWMdAZpAs0-6PqyULHkQyNQClApUKJZ-ly8M,6
14
14
  kodexa/pipeline/__init__.py,sha256=sA7f5D6qkdMrpp2xTIeefnrUBI6xxEEWostvxfX_1Cs,236
15
15
  kodexa/pipeline/pipeline.py,sha256=ZYpJAWcwV4YRK589DUhU0vXGQlkNSj4J2TsGbYqTLjo,25221
16
16
  kodexa/platform/__init__.py,sha256=1O3oiWMg292NPL_NacKDnK1T3_R6cMorrPRue_9e-O4,216
17
- kodexa/platform/client.py,sha256=OJ9m5z6s7k6pRSnaVrhZ1WkhhN8k5HO_c0St8-w-cIo,218350
17
+ kodexa/platform/client.py,sha256=3v8nesILVSvqn6myWscJ7zwVP2M9J4x_DPQ00Le9TU0,219663
18
18
  kodexa/platform/interaction.py,sha256=6zpcwXKNZstUGNS6m4JsoRXAqCZPJHWI-ZN3co8nnF0,1055
19
19
  kodexa/platform/kodexa.py,sha256=Bvf6x43FWsFuAuQ4N8TvjSZq6niEtBTESmFCWVPASeQ,34024
20
20
  kodexa/selectors/__init__.py,sha256=xA9-4vpyaAZWPSk3bh2kvDLkdv6XEmm7PjFbpziiTIk,100
@@ -38,7 +38,7 @@ kodexa/testing/test_components.py,sha256=g5lP-GY0nTHuH5cIEw45vIejEeBaWkPKQGHL36j
38
38
  kodexa/testing/test_utils.py,sha256=DrLCkHxdb6AbZ-X3WmTMbQmnVIm55VEBL8MjtUK9POs,14021
39
39
  kodexa/training/__init__.py,sha256=xs2L62YpRkIRfslQwtQZ5Yxjhm7sLzX2TrVX6EuBnZQ,52
40
40
  kodexa/training/train_utils.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
41
- kodexa-7.0.9196984597.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
42
- kodexa-7.0.9196984597.dist-info/METADATA,sha256=coEjcXvX1uni_4hb2NuRn5xt1n51Z3V-GmIuSKkVOWA,3486
43
- kodexa-7.0.9196984597.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
44
- kodexa-7.0.9196984597.dist-info/RECORD,,
41
+ kodexa-7.0.9208667113.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
42
+ kodexa-7.0.9208667113.dist-info/METADATA,sha256=MiWCFbVgEB7GEygFsQcPN0sJet3jqwYakSe27IPLrx8,3486
43
+ kodexa-7.0.9208667113.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
44
+ kodexa-7.0.9208667113.dist-info/RECORD,,