kodexa 7.4.413230123171__py3-none-any.whl → 7.4.413348390917__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/model/objects.py +12 -36
- kodexa/platform/client.py +2 -116
- {kodexa-7.4.413230123171.dist-info → kodexa-7.4.413348390917.dist-info}/METADATA +1 -1
- {kodexa-7.4.413230123171.dist-info → kodexa-7.4.413348390917.dist-info}/RECORD +6 -6
- {kodexa-7.4.413230123171.dist-info → kodexa-7.4.413348390917.dist-info}/LICENSE +0 -0
- {kodexa-7.4.413230123171.dist-info → kodexa-7.4.413348390917.dist-info}/WHEEL +0 -0
kodexa/model/objects.py
CHANGED
@@ -5142,7 +5142,6 @@ class PageSlugBasedMetadata(BaseModel):
|
|
5142
5142
|
SlugBasedMetadata,
|
5143
5143
|
Action,
|
5144
5144
|
AssistantDefinition,
|
5145
|
-
CredentialDefinition,
|
5146
5145
|
Dashboard,
|
5147
5146
|
DataForm,
|
5148
5147
|
ExtensionPack,
|
@@ -5272,28 +5271,6 @@ class PageDashboard(BaseModel):
|
|
5272
5271
|
empty: Optional[bool] = None
|
5273
5272
|
|
5274
5273
|
|
5275
|
-
class PageCredentialDefinition(BaseModel):
|
5276
|
-
"""
|
5277
|
-
|
5278
|
-
"""
|
5279
|
-
model_config = ConfigDict(
|
5280
|
-
populate_by_name=True,
|
5281
|
-
use_enum_values=True,
|
5282
|
-
arbitrary_types_allowed=True,
|
5283
|
-
protected_namespaces=("model_config",),
|
5284
|
-
)
|
5285
|
-
total_pages: Optional[int] = Field(None, alias="totalPages")
|
5286
|
-
total_elements: Optional[int] = Field(None, alias="totalElements")
|
5287
|
-
size: Optional[int] = None
|
5288
|
-
content: Optional[List[CredentialDefinition]] = None
|
5289
|
-
number: Optional[int] = None
|
5290
|
-
|
5291
|
-
number_of_elements: Optional[int] = Field(None, alias="numberOfElements")
|
5292
|
-
first: Optional[bool] = None
|
5293
|
-
last: Optional[bool] = None
|
5294
|
-
empty: Optional[bool] = None
|
5295
|
-
|
5296
|
-
|
5297
5274
|
class PageAssistantDefinition(BaseModel):
|
5298
5275
|
"""
|
5299
5276
|
|
@@ -5568,17 +5545,6 @@ class AssistantDefinition(ExtensionPackProvided):
|
|
5568
5545
|
)
|
5569
5546
|
|
5570
5547
|
|
5571
|
-
class CredentialDefinition(ExtensionPackProvided):
|
5572
|
-
"""
|
5573
|
-
|
5574
|
-
"""
|
5575
|
-
|
5576
|
-
credential_type: Optional[str] = Field(None, alias="credentialType")
|
5577
|
-
options: Optional[List[Option]] = Field(
|
5578
|
-
None, description="Options for the credential type"
|
5579
|
-
)
|
5580
|
-
|
5581
|
-
|
5582
5548
|
class Dashboard(ExtensionPackProvided):
|
5583
5549
|
"""
|
5584
5550
|
|
@@ -5727,6 +5693,18 @@ class ProjectTemplate(ExtensionPackProvided):
|
|
5727
5693
|
|
5728
5694
|
tags: Optional[List[str]] = Field(None, alias="tags")
|
5729
5695
|
|
5696
|
+
group_taxon_type_features: Dict[str, Any] = Field(
|
5697
|
+
default_factory=dict,
|
5698
|
+
alias="groupTaxonTypeFeatures",
|
5699
|
+
description="Group Taxon Type Feature Defaults"
|
5700
|
+
)
|
5701
|
+
|
5702
|
+
taxon_type_features: Dict[str, Any] = Field(
|
5703
|
+
default_factory=dict,
|
5704
|
+
alias="taxonTypeFeatures",
|
5705
|
+
description="Taxon Type Feature Defaults"
|
5706
|
+
)
|
5707
|
+
|
5730
5708
|
|
5731
5709
|
class Store(ExtensionPackProvided):
|
5732
5710
|
"""
|
@@ -6017,14 +5995,12 @@ PageSlugBasedMetadata.model_rebuild()
|
|
6017
5995
|
PageExtensionPack.model_rebuild()
|
6018
5996
|
PageDataForm.model_rebuild()
|
6019
5997
|
PageDashboard.model_rebuild()
|
6020
|
-
PageCredentialDefinition.model_rebuild()
|
6021
5998
|
PageAssistantDefinition.model_rebuild()
|
6022
5999
|
PageAction.model_rebuild()
|
6023
6000
|
DocumentContentMetadata.model_rebuild()
|
6024
6001
|
ModelContentMetadata.model_rebuild()
|
6025
6002
|
Action.model_rebuild()
|
6026
6003
|
AssistantDefinition.model_rebuild()
|
6027
|
-
CredentialDefinition.model_rebuild()
|
6028
6004
|
Dashboard.model_rebuild()
|
6029
6005
|
DataForm.model_rebuild()
|
6030
6006
|
ExtensionPack.model_rebuild()
|
kodexa/platform/client.py
CHANGED
@@ -53,7 +53,6 @@ from kodexa.model.objects import (
|
|
53
53
|
ProjectTag,
|
54
54
|
ProjectTemplate,
|
55
55
|
Pipeline,
|
56
|
-
CredentialDefinition,
|
57
56
|
DataForm,
|
58
57
|
Dashboard,
|
59
58
|
ModelRuntime,
|
@@ -78,7 +77,6 @@ from kodexa.model.objects import (
|
|
78
77
|
PageStore,
|
79
78
|
PageTaxonomy,
|
80
79
|
PageAssistantDefinition,
|
81
|
-
PageCredentialDefinition,
|
82
80
|
DeploymentOptions,
|
83
81
|
AssistantDefinition,
|
84
82
|
DataException,
|
@@ -1046,21 +1044,6 @@ class PageAssistantDefinitionEndpoint(PageAssistantDefinition, PageEndpoint):
|
|
1046
1044
|
pass
|
1047
1045
|
|
1048
1046
|
|
1049
|
-
class PageCredentialDefinitionEndpoint(PageCredentialDefinition, PageEndpoint):
|
1050
|
-
"""Handles the endpoint for the Page Credential Definition.
|
1051
|
-
|
1052
|
-
This class inherits from the PageCredentialDefinition and PageEndpoint classes.
|
1053
|
-
|
1054
|
-
Attributes:
|
1055
|
-
None
|
1056
|
-
|
1057
|
-
Methods:
|
1058
|
-
None
|
1059
|
-
"""
|
1060
|
-
|
1061
|
-
pass
|
1062
|
-
|
1063
|
-
|
1064
1047
|
class PageUserEndpoint(PageUser, PageEndpoint):
|
1065
1048
|
"""
|
1066
1049
|
This class represents a page user endpoint. It inherits from both PageUser and PageEndpoint classes.
|
@@ -1758,30 +1741,16 @@ class OrganizationEndpoint(Organization, EntityEndpoint):
|
|
1758
1741
|
.set_client(self.client)
|
1759
1742
|
)
|
1760
1743
|
|
1761
|
-
@property
|
1762
|
-
def credentials(self):
|
1763
|
-
"""
|
1764
|
-
Get the credentials endpoint of the organization.
|
1765
|
-
|
1766
|
-
Returns:
|
1767
|
-
CredentialDefinitionsEndpoint: The credentials endpoint of the organization.
|
1768
|
-
"""
|
1769
|
-
return (
|
1770
|
-
CredentialDefinitionsEndpoint()
|
1771
|
-
.set_organization(self)
|
1772
|
-
.set_client(self.client)
|
1773
|
-
)
|
1774
|
-
|
1775
1744
|
@property
|
1776
1745
|
def data_forms(self):
|
1777
1746
|
"""
|
1778
1747
|
Get the data forms endpoint of the organization.
|
1779
1748
|
|
1780
1749
|
Returns:
|
1781
|
-
|
1750
|
+
DataFormsEndpoint: The data forms endpoint of the organization.
|
1782
1751
|
"""
|
1783
1752
|
return (
|
1784
|
-
|
1753
|
+
DataFormsEndpoint()
|
1785
1754
|
.set_organization(self)
|
1786
1755
|
.set_client(self.client)
|
1787
1756
|
)
|
@@ -3598,58 +3567,6 @@ class ProjectTemplatesEndpoint(ComponentEndpoint, ClientEndpoint, OrganizationOw
|
|
3598
3567
|
"""
|
3599
3568
|
return ProjectTemplateEndpoint
|
3600
3569
|
|
3601
|
-
|
3602
|
-
class CredentialDefinitionsEndpoint(
|
3603
|
-
ComponentEndpoint, ClientEndpoint, OrganizationOwned
|
3604
|
-
):
|
3605
|
-
"""Represents a credentials endpoint.
|
3606
|
-
|
3607
|
-
This class is used to represent a credentials endpoint. It inherits from
|
3608
|
-
ComponentEndpoint, ClientEndpoint, and OrganizationOwned classes.
|
3609
|
-
|
3610
|
-
Attributes:
|
3611
|
-
None
|
3612
|
-
"""
|
3613
|
-
|
3614
|
-
"""Represents a credentials endpoint"""
|
3615
|
-
|
3616
|
-
def get_type(self) -> str:
|
3617
|
-
"""Get the type of the endpoint.
|
3618
|
-
|
3619
|
-
This method is used to get the type of the endpoint.
|
3620
|
-
|
3621
|
-
Returns:
|
3622
|
-
str: The type of the endpoint.
|
3623
|
-
"""
|
3624
|
-
return "credentialDefinitions"
|
3625
|
-
|
3626
|
-
def get_page_class(self, object_dict=None):
|
3627
|
-
"""Get the page class of the endpoint.
|
3628
|
-
|
3629
|
-
This method is used to get the page class of the endpoint.
|
3630
|
-
|
3631
|
-
Args:
|
3632
|
-
object_dict (dict, optional): The object dictionary. Defaults to None.
|
3633
|
-
|
3634
|
-
Returns:
|
3635
|
-
PageCredentialDefinitionEndpoint: The page class of the endpoint.
|
3636
|
-
"""
|
3637
|
-
return PageCredentialDefinitionEndpoint
|
3638
|
-
|
3639
|
-
def get_instance_class(self, object_dict=None):
|
3640
|
-
"""Get the instance class of the endpoint.
|
3641
|
-
|
3642
|
-
This method is used to get the instance class of the endpoint.
|
3643
|
-
|
3644
|
-
Args:
|
3645
|
-
object_dict (dict, optional): The object dictionary. Defaults to None.
|
3646
|
-
|
3647
|
-
Returns:
|
3648
|
-
CredentialDefinitionEndpoint: The instance class of the endpoint.
|
3649
|
-
"""
|
3650
|
-
return CredentialDefinitionEndpoint
|
3651
|
-
|
3652
|
-
|
3653
3570
|
class DataFormsEndpoint(ComponentEndpoint, ClientEndpoint, OrganizationOwned):
|
3654
3571
|
"""
|
3655
3572
|
A class used to represent the DataFormsEndpoint.
|
@@ -4027,29 +3944,6 @@ class ActionEndpoint(ComponentInstanceEndpoint, Action):
|
|
4027
3944
|
return "actions"
|
4028
3945
|
|
4029
3946
|
|
4030
|
-
class CredentialDefinitionEndpoint(ComponentInstanceEndpoint, CredentialDefinition):
|
4031
|
-
"""Represents a credential endpoint.
|
4032
|
-
|
4033
|
-
This class is a combination of ComponentInstanceEndpoint and CredentialDefinition.
|
4034
|
-
It is used to represent a credential endpoint.
|
4035
|
-
|
4036
|
-
Attributes:
|
4037
|
-
None
|
4038
|
-
"""
|
4039
|
-
|
4040
|
-
"""Represents a credential endpoint"""
|
4041
|
-
|
4042
|
-
def get_type(self) -> str:
|
4043
|
-
"""Get the type of the endpoint.
|
4044
|
-
|
4045
|
-
This method returns the type of the endpoint which is "credentialDefinitions".
|
4046
|
-
|
4047
|
-
Returns:
|
4048
|
-
str: The type of the endpoint.
|
4049
|
-
"""
|
4050
|
-
return "credentialDefinitions"
|
4051
|
-
|
4052
|
-
|
4053
3947
|
class DataFormEndpoint(ComponentInstanceEndpoint, DataForm):
|
4054
3948
|
"""A class used to represent the endpoint of a data form component instance.
|
4055
3949
|
|
@@ -6536,12 +6430,6 @@ OBJECT_TYPES = {
|
|
6536
6430
|
"type": ModelRuntimeEndpoint,
|
6537
6431
|
"endpoint": ModelRuntimesEndpoint,
|
6538
6432
|
},
|
6539
|
-
"credentialDefinitions": {
|
6540
|
-
"name": "credentialDefinition",
|
6541
|
-
"plural": "credentialDefinitions",
|
6542
|
-
"type": CredentialDefinitionEndpoint,
|
6543
|
-
"endpoint": CredentialDefinitionsEndpoint,
|
6544
|
-
},
|
6545
6433
|
"taxonomies": {
|
6546
6434
|
"name": "taxonomy",
|
6547
6435
|
"plural": "taxonomies",
|
@@ -7359,7 +7247,6 @@ class KodexaClient:
|
|
7359
7247
|
"taxonomy": TaxonomyEndpoint,
|
7360
7248
|
"pipeline": PipelineEndpoint,
|
7361
7249
|
"action": ActionEndpoint,
|
7362
|
-
"credential": CredentialDefinitionEndpoint,
|
7363
7250
|
"projectTemplate": ProjectTemplateEndpoint,
|
7364
7251
|
"modelRuntime": ModelRuntimeEndpoint,
|
7365
7252
|
"extensionPack": ExtensionPackEndpoint,
|
@@ -7453,7 +7340,6 @@ DataStoreEndpoint.model_rebuild()
|
|
7453
7340
|
TaxonomyEndpoint.model_rebuild()
|
7454
7341
|
PipelineEndpoint.model_rebuild()
|
7455
7342
|
ActionEndpoint.model_rebuild()
|
7456
|
-
CredentialDefinitionEndpoint.model_rebuild()
|
7457
7343
|
ProjectTemplateEndpoint.model_rebuild()
|
7458
7344
|
ModelRuntimeEndpoint.model_rebuild()
|
7459
7345
|
ExtensionPackEndpoint.model_rebuild()
|
@@ -13,13 +13,13 @@ kodexa/model/entities/product.py,sha256=StUhTEeLXmc05cj6XnZppQfeJsqCPbX1jdhsysHH
|
|
13
13
|
kodexa/model/entities/product_group.py,sha256=540fRGyUf34h1BzAN1DiWu6rGgvaj3xDFhZ2k-RvSFY,3617
|
14
14
|
kodexa/model/entities/product_subscription.py,sha256=UcmWR-qgLfdV7VCtJNwzgkanoS8nBSL6ngVuxQUK1M8,3810
|
15
15
|
kodexa/model/model.py,sha256=qh1YUew3UgtjU0t4fAwSXYYuzQjXTOZWZkafyFp_w8M,118801
|
16
|
-
kodexa/model/objects.py,sha256=
|
16
|
+
kodexa/model/objects.py,sha256=o2leq-knccct439wW3mJ11N3ILftBA6TRDItjgXQIEc,188884
|
17
17
|
kodexa/model/persistence.py,sha256=HX_uIkGs8bqHwqyE5wB2qMlGIG5ZnjuTu7xMdvKhEzA,72033
|
18
18
|
kodexa/model/utils.py,sha256=6R-3rFiW9irBwj0Mq5yhp7EDXkNUFaeFhr3bWmnlW4g,2961
|
19
19
|
kodexa/pipeline/__init__.py,sha256=sA7f5D6qkdMrpp2xTIeefnrUBI6xxEEWostvxfX_1Cs,236
|
20
20
|
kodexa/pipeline/pipeline.py,sha256=Z4O6UwoISeP_HMlxm6l6kbcvFBDw3Glm7lT4cUibri4,25461
|
21
21
|
kodexa/platform/__init__.py,sha256=1O3oiWMg292NPL_NacKDnK1T3_R6cMorrPRue_9e-O4,216
|
22
|
-
kodexa/platform/client.py,sha256=
|
22
|
+
kodexa/platform/client.py,sha256=Wh_1ia7VxS70LthyZGOQZ9LxAUt7yMBbNGK4GYRH9Vc,232452
|
23
23
|
kodexa/platform/interaction.py,sha256=6zpcwXKNZstUGNS6m4JsoRXAqCZPJHWI-ZN3co8nnF0,1055
|
24
24
|
kodexa/platform/kodexa.py,sha256=tPXHO500q3S75GhKGDcaxO51Viq2PNlHmAzpBZlahgo,34857
|
25
25
|
kodexa/selectors/__init__.py,sha256=xA9-4vpyaAZWPSk3bh2kvDLkdv6XEmm7PjFbpziiTIk,100
|
@@ -44,7 +44,7 @@ kodexa/testing/test_utils.py,sha256=v44p__gE7ia67W7WeHN2HBFCWSCUrCZt7G4xBNCmwf8,
|
|
44
44
|
kodexa/training/__init__.py,sha256=xs2L62YpRkIRfslQwtQZ5Yxjhm7sLzX2TrVX6EuBnZQ,52
|
45
45
|
kodexa/training/train_utils.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
46
46
|
kodexa/utils/__init__.py,sha256=Pnim1o9_db5YEnNvDTxpM7HG-qTlL6n8JwFwOafU9wo,5928
|
47
|
-
kodexa-7.4.
|
48
|
-
kodexa-7.4.
|
49
|
-
kodexa-7.4.
|
50
|
-
kodexa-7.4.
|
47
|
+
kodexa-7.4.413348390917.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
|
48
|
+
kodexa-7.4.413348390917.dist-info/METADATA,sha256=Xzk9SfF2AKMZ9etk6nDOa63ks6900U3RZ2LBl__kVGM,3528
|
49
|
+
kodexa-7.4.413348390917.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
50
|
+
kodexa-7.4.413348390917.dist-info/RECORD,,
|
File without changes
|
File without changes
|