kodexa 7.0.9197579706__py3-none-any.whl → 7.0.9208807211__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 +82 -1
- {kodexa-7.0.9197579706.dist-info → kodexa-7.0.9208807211.dist-info}/METADATA +1 -1
- {kodexa-7.0.9197579706.dist-info → kodexa-7.0.9208807211.dist-info}/RECORD +5 -5
- {kodexa-7.0.9197579706.dist-info → kodexa-7.0.9208807211.dist-info}/LICENSE +0 -0
- {kodexa-7.0.9197579706.dist-info → kodexa-7.0.9208807211.dist-info}/WHEEL +0 -0
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:
|
@@ -2133,6 +2165,38 @@ class PagePromptEndpoint(PagePrompt, PageEndpoint):
|
|
2133
2165
|
pass
|
2134
2166
|
|
2135
2167
|
|
2168
|
+
class ProjectDataFormsEndpoint(ProjectResourceEndpoint):
|
2169
|
+
"""Represents a project data forms endpoint.
|
2170
|
+
|
2171
|
+
This class is used to represent a project taxonomies endpoint in the system.
|
2172
|
+
"""
|
2173
|
+
|
2174
|
+
"""Represents a project taxonomies endpoint"""
|
2175
|
+
|
2176
|
+
def get_type(self) -> str:
|
2177
|
+
"""Get the type of the endpoint.
|
2178
|
+
|
2179
|
+
This method is used to get the type of the endpoint.
|
2180
|
+
|
2181
|
+
Returns:
|
2182
|
+
str: The type of the endpoint.
|
2183
|
+
"""
|
2184
|
+
return "dataForms"
|
2185
|
+
|
2186
|
+
def get_instance_class(self, object_dict=None):
|
2187
|
+
"""Get the instance class of the project data form endpoint.
|
2188
|
+
|
2189
|
+
This method is used to get the instance class of the project dataform endpoint.
|
2190
|
+
|
2191
|
+
Args:
|
2192
|
+
object_dict (dict, optional): The object dictionary. Defaults to None.
|
2193
|
+
|
2194
|
+
Returns:
|
2195
|
+
TaxonomyEndpoint: The instance class of the project taxonomies endpoint.
|
2196
|
+
"""
|
2197
|
+
return DataFormEndpoint
|
2198
|
+
|
2199
|
+
|
2136
2200
|
class ProjectTaxonomiesEndpoint(ProjectResourceEndpoint):
|
2137
2201
|
"""Represents a project taxonomies endpoint.
|
2138
2202
|
|
@@ -2517,6 +2581,15 @@ class ProjectEndpoint(EntityEndpoint, Project):
|
|
2517
2581
|
body=json.loads(project_resources_update.json(by_alias=True)),
|
2518
2582
|
)
|
2519
2583
|
|
2584
|
+
@property
|
2585
|
+
def dashboards(self) -> ProjectDashboardsEndpoint:
|
2586
|
+
"""Get the document stores endpoint of the project.
|
2587
|
+
|
2588
|
+
Returns:
|
2589
|
+
ProjectDocumentStoresEndpoint: The document stores endpoint of the project.
|
2590
|
+
"""
|
2591
|
+
return ProjectDashboardsEndpoint().set_client(self.client).set_project(self)
|
2592
|
+
|
2520
2593
|
@property
|
2521
2594
|
def document_stores(self) -> ProjectDocumentStoresEndpoint:
|
2522
2595
|
"""Get the document stores endpoint of the project.
|
@@ -2562,6 +2635,15 @@ class ProjectEndpoint(EntityEndpoint, Project):
|
|
2562
2635
|
"""
|
2563
2636
|
return ProjectGuidanceSetsEndpoint().set_client(self.client).set_project(self)
|
2564
2637
|
|
2638
|
+
@property
|
2639
|
+
def data_forms(self) -> "ProjectDataFormsEndpoint":
|
2640
|
+
"""Get the guidance sets endpoint of the project.
|
2641
|
+
|
2642
|
+
Returns:
|
2643
|
+
GuidanceSetsEndpoint: The guidance sets endpoint of the project.
|
2644
|
+
"""
|
2645
|
+
return ProjectDataFormsEndpoint().set_client(self.client).set_project(self)
|
2646
|
+
|
2565
2647
|
@property
|
2566
2648
|
def assistants(self) -> ProjectAssistantsEndpoint:
|
2567
2649
|
"""Get the assistants endpoint of the project.
|
@@ -2596,7 +2678,6 @@ class ProjectEndpoint(EntityEndpoint, Project):
|
|
2596
2678
|
return [ProjectTag.model_validate(tag) for tag in response.json()]
|
2597
2679
|
|
2598
2680
|
|
2599
|
-
|
2600
2681
|
class MessagesEndpoint(EntitiesEndpoint):
|
2601
2682
|
"""Represents a message endpoint"""
|
2602
2683
|
|
@@ -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=
|
17
|
+
kodexa/platform/client.py,sha256=73aTTeGiYw7vUTuGKoR8vZQ68KiE2IYIEUozSN7_cxU,220924
|
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.
|
42
|
-
kodexa-7.0.
|
43
|
-
kodexa-7.0.
|
44
|
-
kodexa-7.0.
|
41
|
+
kodexa-7.0.9208807211.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
|
42
|
+
kodexa-7.0.9208807211.dist-info/METADATA,sha256=nFf-eKlmXw6cUXLZtdF-WgAOWjo1oVXF6TKV63ga3Ns,3486
|
43
|
+
kodexa-7.0.9208807211.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
44
|
+
kodexa-7.0.9208807211.dist-info/RECORD,,
|
File without changes
|
File without changes
|