kodexa 7.4.413230034878__py3-none-any.whl → 7.4.413230123171__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 CHANGED
@@ -2932,8 +2932,9 @@ class Project(BaseModel):
2932
2932
 
2933
2933
  class TaskStatusType(str, Enum):
2934
2934
  """Enum for task status types"""
2935
- UNRESOLVED = "UNRESOLVED"
2936
- RESOLVED = "RESOLVED"
2935
+ TODO = "TODO"
2936
+ IN_PROGRESS = "IN_PROGRESS"
2937
+ DONE = "DONE"
2937
2938
 
2938
2939
 
2939
2940
  class TaskStatus(BaseModel):
kodexa/platform/client.py CHANGED
@@ -1179,7 +1179,7 @@ class PageTaskEndpoint(PageTask, PageEndpoint):
1179
1179
  Represents a page of tasks.
1180
1180
  """
1181
1181
  def get_type(self) -> Optional[str]:
1182
- return "tasks"
1182
+ return "task"
1183
1183
 
1184
1184
  class PageTaskActivityEndpoint(PageEndpoint):
1185
1185
  """
@@ -4228,7 +4228,8 @@ class TaxonomyEndpoint(ComponentInstanceEndpoint, Taxonomy):
4228
4228
 
4229
4229
  Args:
4230
4230
  taxons (list): A list of taxon objects to search through.
4231
- path (str): The path of the taxon to find.
4231
+ parts (list): A list of strings representing the path to the taxon.
4232
+ use_label (bool, optional): Whether to use the label or name of the taxon. Defaults to False.
4232
4233
 
4233
4234
  Returns:
4234
4235
  Taxon: The taxon object if found, None otherwise.
@@ -6648,7 +6649,7 @@ def resolve_object_type(obj_type):
6648
6649
  if len(hits) == 0:
6649
6650
  raise Exception(f"Unable to find object type {obj_type}")
6650
6651
 
6651
- raise Exception(f"Too many potential matches for object type ({','.join(keys)}")
6652
+ raise Exception(f"Too many potential matches for object type ({','.join(keys)})")
6652
6653
 
6653
6654
 
6654
6655
  class ExtractionEngineEndpoint:
@@ -7381,7 +7382,8 @@ class KodexaClient:
7381
7382
  "product": ProductEndpoint,
7382
7383
  "task": TaskEndpoint,
7383
7384
  "productSubscription": ProductSubscriptionEndpoint,
7384
- "checkResponse": CheckResponseEndpoint
7385
+ "checkResponse": CheckResponseEndpoint,
7386
+ "taskTemplate": TaskTemplateEndpoint,
7385
7387
  }
7386
7388
 
7387
7389
  if component_type in known_components:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: kodexa
3
- Version: 7.4.413230034878
3
+ Version: 7.4.413230123171
4
4
  Summary: Python SDK for the Kodexa Platform
5
5
  Author: Austin Redenbaugh
6
6
  Author-email: austin@kodexa.com
@@ -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=l9HJPVL0O7W2uWo02SW6-QMPMmtm8WhRRHVwFjS1Usg,189564
16
+ kodexa/model/objects.py,sha256=ligt2jxLbJnzOiR2V27f3QIO_j43TuJhQ9Iob5aZB_Q,189576
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=odEggW0k-Y8R4jOcY3gSiDzrHnfcTihIQTMs0hhtcso,235436
22
+ kodexa/platform/client.py,sha256=gIABKNGblmmnGBwLT0uwQa4DoFhkn0A1Gzdsjo6Jj2g,235622
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.413230034878.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
48
- kodexa-7.4.413230034878.dist-info/METADATA,sha256=341wLi8iNQG9pSg-6HBja_sT8GOPL83WAezjPoDRX_o,3528
49
- kodexa-7.4.413230034878.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
50
- kodexa-7.4.413230034878.dist-info/RECORD,,
47
+ kodexa-7.4.413230123171.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
48
+ kodexa-7.4.413230123171.dist-info/METADATA,sha256=c4C2CT1D-o6NoMtomRPMk--QtsUXRJtF9bp_a1yMgi0,3528
49
+ kodexa-7.4.413230123171.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
50
+ kodexa-7.4.413230123171.dist-info/RECORD,,