kodexa 7.4.416607913655__py3-none-any.whl → 7.4.416637374146__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/base.py CHANGED
@@ -14,5 +14,5 @@ StandardDateTime = Annotated[
14
14
  PlainSerializer(
15
15
  lambda v: v.strftime("%Y-%m-%dT%H:%M:%S.%f")[:-3] + "Z" if not isinstance(v,str) else v, return_type=str
16
16
  ),
17
- WithJsonSchema({"type": "datetime"}, mode="serialization"),
17
+ WithJsonSchema({"type": "string", "format": "date-time"}, mode="serialization"),
18
18
  ]
kodexa/model/objects.py CHANGED
@@ -2889,6 +2889,18 @@ class ProjectStatus(BaseModel):
2889
2889
  icon: Optional[str] = None
2890
2890
 
2891
2891
 
2892
+ class ProjectTaskOptions(BaseModel):
2893
+ model_config = ConfigDict(
2894
+ populate_by_name=True,
2895
+ use_enum_values=True,
2896
+ arbitrary_types_allowed=True,
2897
+ protected_namespaces=("model_config",),
2898
+ )
2899
+
2900
+ show_take_next: bool = Field(default=False, alias="showTakeNext")
2901
+ show_new_task: bool = Field(default=False, alias="showNewTask")
2902
+
2903
+
2892
2904
  class ProjectOptions(BaseModel):
2893
2905
  model_config = ConfigDict(
2894
2906
  populate_by_name=True,
@@ -2897,8 +2909,8 @@ class ProjectOptions(BaseModel):
2897
2909
  protected_namespaces=("model_config",),
2898
2910
  )
2899
2911
 
2900
- options: List[Option] = Field(None, description="The options for the project")
2901
- properties: Dict[str, Any] = Field(None, description="The properties for the project")
2912
+ options: List[Option] = Field(default_factory=list, description="The options available for this project")
2913
+ properties: Dict[str, Any] = Field(default_factory=dict, description="The properties defined for this project, based on the options")
2902
2914
 
2903
2915
  group_taxon_type_features: Dict[str, Any] = Field(
2904
2916
  default_factory=dict,
@@ -2912,6 +2924,8 @@ class ProjectOptions(BaseModel):
2912
2924
  description="Taxon Type Feature Defaults"
2913
2925
  )
2914
2926
 
2927
+ task_options: ProjectTaskOptions = Field(default_factory=ProjectTaskOptions, alias="taskOptions")
2928
+
2915
2929
 
2916
2930
  class NodePosition(BaseModel):
2917
2931
  model_config = ConfigDict(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: kodexa
3
- Version: 7.4.416607913655
3
+ Version: 7.4.416637374146
4
4
  Summary: Python SDK for the Kodexa Platform
5
5
  Author: Austin Redenbaugh
6
6
  Author-email: austin@kodexa.com
@@ -6,14 +6,14 @@ kodexa/connectors/connectors.py,sha256=FpUZDkSyHld2b9eYRuVOWzaFtuGoaRuPXXicJB7TH
6
6
  kodexa/dataclasses/__init__.py,sha256=TuSMJAG9rMr5FHjBk66yFnlRmCMvrkBVnD7bORRmi38,20287
7
7
  kodexa/dataclasses/templates/llm_data_class.j2,sha256=YWjStW136chV_59JM3AYis3i-0jdrqDvLXsISUW9zDU,660
8
8
  kodexa/model/__init__.py,sha256=rtLXYJBxB-rnukhslN9rlqoB3--1H3253HyHGbD_Gc8,796
9
- kodexa/model/base.py,sha256=CaZK8nMhT1LdCpt4aLhebJGcorjq9qRID1FjnXnP14M,521
9
+ kodexa/model/base.py,sha256=xZVKvWKSvLR1UntyPN0QaV_1PHcJwXz8xOJrYlBhRQ0,542
10
10
  kodexa/model/entities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
11
  kodexa/model/entities/check_response.py,sha256=eqBHxO6G2OAziL3p9bHGI-oiPkAG82H6Choc8wyvtM4,3949
12
12
  kodexa/model/entities/product.py,sha256=StUhTEeLXmc05cj6XnZppQfeJsqCPbX1jdhsysHH--Q,5787
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=o93SDgw8mj28LWbwJB78PF_Oim8qeCTH1a9x_GDc7yg,120895
16
- kodexa/model/objects.py,sha256=yicqJZx38uEDgzvmMgiTiGKEwlBqGA7vxLfqDqd0KEI,203449
16
+ kodexa/model/objects.py,sha256=2lBck2D54yGkgX9KcHP_T3jJS3KAF218cnROfRwr3Do,203988
17
17
  kodexa/model/persistence.py,sha256=jUgQ8xwsAFIoZ_bEynxCDEWhUII42eN0e0Mum0dkQPg,72043
18
18
  kodexa/model/utils.py,sha256=YEG3f8YzBil06D0P3_dfx2S9GnHREzyrjnlWwQ7oPlU,3038
19
19
  kodexa/pipeline/__init__.py,sha256=sA7f5D6qkdMrpp2xTIeefnrUBI6xxEEWostvxfX_1Cs,236
@@ -45,7 +45,7 @@ kodexa/testing/test_utils.py,sha256=v44p__gE7ia67W7WeHN2HBFCWSCUrCZt7G4xBNCmwf8,
45
45
  kodexa/training/__init__.py,sha256=xs2L62YpRkIRfslQwtQZ5Yxjhm7sLzX2TrVX6EuBnZQ,52
46
46
  kodexa/training/train_utils.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
47
47
  kodexa/utils/__init__.py,sha256=Pnim1o9_db5YEnNvDTxpM7HG-qTlL6n8JwFwOafU9wo,5928
48
- kodexa-7.4.416607913655.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
49
- kodexa-7.4.416607913655.dist-info/METADATA,sha256=zyVP1fRVS247JWYBAU5QGcN2F0Um5hbLgbg-a3kp2o8,2916
50
- kodexa-7.4.416607913655.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
51
- kodexa-7.4.416607913655.dist-info/RECORD,,
48
+ kodexa-7.4.416637374146.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
49
+ kodexa-7.4.416637374146.dist-info/METADATA,sha256=_f_EIe9HY6-mIDX5MHqHpcFuw8EjFCosQU73sYRgLEs,2916
50
+ kodexa-7.4.416637374146.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
51
+ kodexa-7.4.416637374146.dist-info/RECORD,,