kodexa 7.4.412795515848__tar.gz → 7.4.412833907659__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/PKG-INFO +1 -1
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/model/objects.py +3 -1
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/platform/client.py +7 -2
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/pyproject.toml +1 -1
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/LICENSE +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/README.md +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/__init__.py +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/assistant/__init__.py +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/assistant/assistant.py +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/connectors/__init__.py +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/connectors/connectors.py +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/dataclasses/__init__.py +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/dataclasses/templates/llm_data_class.j2 +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/model/__init__.py +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/model/base.py +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/model/entities/__init__.py +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/model/entities/check_response.py +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/model/entities/product.py +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/model/entities/product_group.py +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/model/entities/product_subscription.py +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/model/model.py +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/model/persistence.py +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/model/utils.py +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/pipeline/__init__.py +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/pipeline/pipeline.py +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/platform/__init__.py +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/platform/interaction.py +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/platform/kodexa.py +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/selectors/__init__.py +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/selectors/ast.py +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/selectors/core.py +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/selectors/lexrules.py +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/selectors/lextab.py +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/selectors/lextab.pyi +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/selectors/parserules.py +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/selectors/parserules.pyi +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/selectors/parsetab.py +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/selectors/parsetab.pyi +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/spatial/__init__.py +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/spatial/azure_models.py +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/spatial/bbox_common.py +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/spatial/table_form_common.py +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/steps/__init__.py +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/steps/common.py +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/testing/__init__.py +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/testing/test_components.py +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/testing/test_utils.py +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/training/__init__.py +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/training/train_utils.py +0 -0
- {kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/utils/__init__.py +0 -0
@@ -822,7 +822,7 @@ class SelectionOption(BaseModel):
|
|
822
822
|
label: Optional[str] = None
|
823
823
|
id: Optional[str] = None
|
824
824
|
description: Optional[str] = None
|
825
|
-
lexical_relations: Optional[List[LexicalRelation]] = Field(
|
825
|
+
lexical_relations: Optional[List[LexicalRelation]] = Field(default_factory=list, alias="lexicalRelations")
|
826
826
|
|
827
827
|
|
828
828
|
class SlugBasedMetadata1(BaseModel):
|
@@ -2645,6 +2645,8 @@ class Taxon(BaseModel):
|
|
2645
2645
|
expression: Optional[str] = None
|
2646
2646
|
enable_fallback_expression: Optional[bool] = Field(None, alias="enableFallbackExpression")
|
2647
2647
|
fallback_expression: Optional[str] = Field(None, alias="fallbackExpression")
|
2648
|
+
enable_serialization_expression: Optional[bool] = Field(None, alias="enableSerializationExpression")
|
2649
|
+
serialization_expression: Optional[str] = Field(None, alias="serializationExpression")
|
2648
2650
|
nullable: Optional[bool] = None
|
2649
2651
|
null_value: Optional[str] = Field(None, alias="nullValue")
|
2650
2652
|
denormalize_to_children: Optional[bool] = Field(False, alias="denormalizeToChildren")
|
@@ -4577,7 +4577,7 @@ class DocumentFamilyEndpoint(DocumentFamily, ClientEndpoint):
|
|
4577
4577
|
|
4578
4578
|
def unlock(self):
|
4579
4579
|
"""
|
4580
|
-
|
4580
|
+
Unlock the document family.
|
4581
4581
|
"""
|
4582
4582
|
url = f"/api/stores/{self.store_ref.replace(':', '/')}/families/{self.id}/unlock"
|
4583
4583
|
response = self.client.put(url)
|
@@ -4680,6 +4680,7 @@ class DocumentFamilyEndpoint(DocumentFamily, ClientEndpoint):
|
|
4680
4680
|
mixin: Optional[str] = None,
|
4681
4681
|
label: Optional[str] = None,
|
4682
4682
|
timeout: int = 60,
|
4683
|
+
polling_delay_in_seconds: int = 5,
|
4683
4684
|
) -> "DocumentFamilyEndpoint":
|
4684
4685
|
"""
|
4685
4686
|
Wait for the document family to be ready.
|
@@ -4688,6 +4689,7 @@ class DocumentFamilyEndpoint(DocumentFamily, ClientEndpoint):
|
|
4688
4689
|
mixin (Optional[str]): The mixin. Defaults to None.
|
4689
4690
|
label (Optional[str]): The label. Defaults to None.
|
4690
4691
|
timeout (int): The timeout. Defaults to 60.
|
4692
|
+
polling_delay_in_seconds (int): The polling delay in seconds. Defaults to 5. 5 is the minimum value.
|
4691
4693
|
|
4692
4694
|
Returns:
|
4693
4695
|
DocumentFamilyEndpoint: The updated document family endpoint.
|
@@ -4696,6 +4698,9 @@ class DocumentFamilyEndpoint(DocumentFamily, ClientEndpoint):
|
|
4696
4698
|
"Waiting for mixin and/or label to be available on document family %s",
|
4697
4699
|
self.id,
|
4698
4700
|
)
|
4701
|
+
if polling_delay_in_seconds < 5:
|
4702
|
+
polling_delay_in_seconds = 5
|
4703
|
+
|
4699
4704
|
start = time.time()
|
4700
4705
|
while time.time() - start < timeout:
|
4701
4706
|
url = f"/api/stores/{self.store_ref.replace(':', '/')}/families/{self.id}"
|
@@ -4709,7 +4714,7 @@ class DocumentFamilyEndpoint(DocumentFamily, ClientEndpoint):
|
|
4709
4714
|
):
|
4710
4715
|
return updated_document_family
|
4711
4716
|
|
4712
|
-
time.sleep(
|
4717
|
+
time.sleep(polling_delay_in_seconds)
|
4713
4718
|
|
4714
4719
|
raise Exception(f"Not available on document family {self.id}")
|
4715
4720
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "kodexa"
|
3
|
-
version = "7.4.
|
3
|
+
version = "7.4.412833907659"
|
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
|
{kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/kodexa/dataclasses/templates/llm_data_class.j2
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{kodexa-7.4.412795515848 → kodexa-7.4.412833907659}/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
|
File without changes
|