kodexa 6.3.37337260243__py3-none-any.whl → 7.0.1a7664024353__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
@@ -9,6 +9,13 @@ from kodexa.model.base import StandardDateTime
9
9
 
10
10
 
11
11
  class ExceptionResponse(BaseModel):
12
+ """
13
+ This class represents the response structure for exceptions in the application.
14
+
15
+ Attributes:
16
+ date_time (Optional[StandardDateTime]): The date and time when the exception occurred.
17
+ message (Optional[str]): The error message.
18
+ incident_id (Optional[str]): The ID of the incident associated with the"""
12
19
  model_config = ConfigDict(
13
20
  populate_by_name=True,
14
21
  use_enum_values=True,
@@ -28,6 +35,9 @@ class ExceptionResponse(BaseModel):
28
35
 
29
36
 
30
37
  class StatusType(BaseModel):
38
+ """
39
+
40
+ """
31
41
  model_config = ConfigDict(
32
42
  populate_by_name=True,
33
43
  use_enum_values=True,
@@ -40,6 +50,9 @@ class StatusType(BaseModel):
40
50
 
41
51
 
42
52
  class StackTraceItem(BaseModel):
53
+ """
54
+
55
+ """
43
56
  model_config = ConfigDict(
44
57
  populate_by_name=True,
45
58
  use_enum_values=True,
@@ -57,6 +70,14 @@ class StackTraceItem(BaseModel):
57
70
 
58
71
 
59
72
  class StackTraceItem1(BaseModel):
73
+ """
74
+
75
+ :class:`StackTraceItem1` represents a stack trace item.
76
+
77
+ Attributes:
78
+ model_config (ConfigDict): Configuration dictionary for the model.
79
+ class_loader_name (str, optional): The name of the class loader used.
80
+ module_name (str, optional): The name of the module"""
60
81
  model_config = ConfigDict(
61
82
  populate_by_name=True,
62
83
  use_enum_values=True,
@@ -74,6 +95,9 @@ class StackTraceItem1(BaseModel):
74
95
 
75
96
 
76
97
  class Cause(BaseModel):
98
+ """
99
+
100
+ """
77
101
  model_config = ConfigDict(
78
102
  populate_by_name=True,
79
103
  use_enum_values=True,
@@ -86,6 +110,9 @@ class Cause(BaseModel):
86
110
 
87
111
 
88
112
  class StackTraceItem2(BaseModel):
113
+ """
114
+
115
+ """
89
116
  model_config = ConfigDict(
90
117
  populate_by_name=True,
91
118
  use_enum_values=True,
@@ -103,6 +130,9 @@ class StackTraceItem2(BaseModel):
103
130
 
104
131
 
105
132
  class SuppressedItem(BaseModel):
133
+ """
134
+
135
+ """
106
136
  model_config = ConfigDict(
107
137
  populate_by_name=True,
108
138
  use_enum_values=True,
@@ -116,6 +146,9 @@ class SuppressedItem(BaseModel):
116
146
 
117
147
 
118
148
  class ThrowableProblem(BaseModel):
149
+ """
150
+
151
+ """
119
152
  model_config = ConfigDict(
120
153
  populate_by_name=True,
121
154
  use_enum_values=True,
@@ -136,6 +169,9 @@ class ThrowableProblem(BaseModel):
136
169
 
137
170
 
138
171
  class FavoriteLink(BaseModel):
172
+ """
173
+
174
+ """
139
175
  model_config = ConfigDict(
140
176
  populate_by_name=True,
141
177
  use_enum_values=True,
@@ -146,6 +182,9 @@ class FavoriteLink(BaseModel):
146
182
 
147
183
 
148
184
  class UserStorage(BaseModel):
185
+ """
186
+
187
+ """
149
188
  model_config = ConfigDict(
150
189
  populate_by_name=True,
151
190
  use_enum_values=True,
@@ -156,6 +195,9 @@ class UserStorage(BaseModel):
156
195
 
157
196
 
158
197
  class CompletePasswordReset(BaseModel):
198
+ """
199
+
200
+ """
159
201
  model_config = ConfigDict(
160
202
  populate_by_name=True,
161
203
  use_enum_values=True,
@@ -167,6 +209,9 @@ class CompletePasswordReset(BaseModel):
167
209
 
168
210
 
169
211
  class Organization(BaseModel):
212
+ """
213
+
214
+ """
170
215
  model_config = ConfigDict(
171
216
  populate_by_name=True,
172
217
  use_enum_values=True,
@@ -186,6 +231,9 @@ class Organization(BaseModel):
186
231
 
187
232
 
188
233
  class Team(BaseModel):
234
+ """
235
+
236
+ """
189
237
  model_config = ConfigDict(
190
238
  populate_by_name=True,
191
239
  use_enum_values=True,
@@ -203,6 +251,9 @@ class Team(BaseModel):
203
251
 
204
252
 
205
253
  class AssistantImplementation(BaseModel):
254
+ """
255
+
256
+ """
206
257
  model_config = ConfigDict(
207
258
  populate_by_name=True,
208
259
  use_enum_values=True,
@@ -218,6 +269,9 @@ class AssistantImplementation(BaseModel):
218
269
 
219
270
 
220
271
  class AssistantTaxonomy(BaseModel):
272
+ """
273
+
274
+ """
221
275
  model_config = ConfigDict(
222
276
  populate_by_name=True,
223
277
  use_enum_values=True,
@@ -232,6 +286,9 @@ class AssistantTaxonomy(BaseModel):
232
286
 
233
287
 
234
288
  class Avatar(BaseModel):
289
+ """
290
+
291
+ """
235
292
  model_config = ConfigDict(
236
293
  populate_by_name=True,
237
294
  use_enum_values=True,
@@ -243,6 +300,9 @@ class Avatar(BaseModel):
243
300
 
244
301
 
245
302
  class Card(BaseModel):
303
+ """
304
+
305
+ """
246
306
  model_config = ConfigDict(
247
307
  populate_by_name=True,
248
308
  use_enum_values=True,
@@ -256,6 +316,9 @@ class Card(BaseModel):
256
316
 
257
317
 
258
318
  class ColumnState(BaseModel):
319
+ """
320
+
321
+ """
259
322
  model_config = ConfigDict(
260
323
  populate_by_name=True,
261
324
  use_enum_values=True,
@@ -272,6 +335,9 @@ class ColumnState(BaseModel):
272
335
 
273
336
 
274
337
  class ContainerResources(BaseModel):
338
+ """
339
+
340
+ """
275
341
  model_config = ConfigDict(
276
342
  populate_by_name=True,
277
343
  use_enum_values=True,
@@ -283,6 +349,9 @@ class ContainerResources(BaseModel):
283
349
 
284
350
 
285
351
  class ContentMetadata(BaseModel):
352
+ """
353
+
354
+ """
286
355
  model_config = ConfigDict(
287
356
  populate_by_name=True,
288
357
  use_enum_values=True,
@@ -297,6 +366,9 @@ class ContentMetadata(BaseModel):
297
366
 
298
367
 
299
368
  class DashboardWidget(BaseModel):
369
+ """
370
+
371
+ """
300
372
  model_config = ConfigDict(
301
373
  populate_by_name=True,
302
374
  use_enum_values=True,
@@ -311,6 +383,9 @@ class DashboardWidget(BaseModel):
311
383
 
312
384
 
313
385
  class DataFormSource(BaseModel):
386
+ """
387
+
388
+ """
314
389
  model_config = ConfigDict(
315
390
  populate_by_name=True,
316
391
  use_enum_values=True,
@@ -324,6 +399,9 @@ class DataFormSource(BaseModel):
324
399
 
325
400
 
326
401
  class DataFormView(BaseModel):
402
+ """
403
+
404
+ """
327
405
  model_config = ConfigDict(
328
406
  populate_by_name=True,
329
407
  use_enum_values=True,
@@ -341,6 +419,15 @@ class DataFormView(BaseModel):
341
419
 
342
420
 
343
421
  class DeploymentType(Enum):
422
+ """
423
+ Represents the types of deployment options available.
424
+
425
+ Attributes:
426
+ kubernetes (str): Represents a Kubernetes deployment.
427
+ aws_lambda (str): Represents an AWS Lambda deployment.
428
+ azure_cloud_function (str): Represents an Azure Cloud Function deployment.
429
+ none (str): Represents no deployment type.
430
+ """
344
431
  kubernetes = "KUBERNETES"
345
432
  aws_lambda = "AWS_LAMBDA"
346
433
  azure_cloud_function = "AZURE_CLOUD_FUNCTION"
@@ -348,6 +435,9 @@ class DeploymentType(Enum):
348
435
 
349
436
 
350
437
  class DocumentColumn(BaseModel):
438
+ """
439
+
440
+ """
351
441
  model_config = ConfigDict(
352
442
  populate_by_name=True,
353
443
  use_enum_values=True,
@@ -361,6 +451,9 @@ class DocumentColumn(BaseModel):
361
451
 
362
452
 
363
453
  class DocumentMetadataProperty(BaseModel):
454
+ """
455
+
456
+ """
364
457
  model_config = ConfigDict(
365
458
  populate_by_name=True,
366
459
  use_enum_values=True,
@@ -373,6 +466,9 @@ class DocumentMetadataProperty(BaseModel):
373
466
 
374
467
 
375
468
  class Status(Enum):
469
+ """
470
+
471
+ """
376
472
  pending = "PENDING"
377
473
  building = "BUILDING"
378
474
  built = "BUILT"
@@ -385,6 +481,9 @@ class Status(Enum):
385
481
 
386
482
 
387
483
  class ExtensionPackSource(BaseModel):
484
+ """
485
+
486
+ """
388
487
  model_config = ConfigDict(
389
488
  populate_by_name=True,
390
489
  use_enum_values=True,
@@ -395,6 +494,9 @@ class ExtensionPackSource(BaseModel):
395
494
 
396
495
 
397
496
  class MatchLabel(BaseModel):
497
+ """
498
+
499
+ """
398
500
  model_config = ConfigDict(
399
501
  populate_by_name=True,
400
502
  use_enum_values=True,
@@ -406,6 +508,9 @@ class MatchLabel(BaseModel):
406
508
 
407
509
 
408
510
  class MetadataTag(BaseModel):
511
+ """
512
+
513
+ """
409
514
  model_config = ConfigDict(
410
515
  populate_by_name=True,
411
516
  use_enum_values=True,
@@ -422,7 +527,7 @@ class MetadataTag(BaseModel):
422
527
 
423
528
  class State(Enum):
424
529
  """
425
- The state of the model in this store
530
+
426
531
  """
427
532
 
428
533
  pending = "PENDING"
@@ -437,7 +542,7 @@ class State(Enum):
437
542
 
438
543
  class DeploymentType1(Enum):
439
544
  """
440
- The deployment to use, local means that the model runtime can be re-used across models, while container means that the model store must be deployed with the model runtime
545
+
441
546
  """
442
547
 
443
548
  local = "LOCAL"
@@ -445,6 +550,9 @@ class DeploymentType1(Enum):
445
550
 
446
551
 
447
552
  class OverlayCondition(BaseModel):
553
+ """
554
+
555
+ """
448
556
  model_config = ConfigDict(
449
557
  populate_by_name=True,
450
558
  use_enum_values=True,
@@ -456,7 +564,7 @@ class OverlayCondition(BaseModel):
456
564
 
457
565
  class StepType(Enum):
458
566
  """
459
- The type of step (ACTION or MODEL)
567
+
460
568
  """
461
569
 
462
570
  action = "ACTION"
@@ -464,6 +572,9 @@ class StepType(Enum):
464
572
 
465
573
 
466
574
  class PipelineStepMetadata(BaseModel):
575
+ """
576
+
577
+ """
467
578
  model_config = ConfigDict(
468
579
  populate_by_name=True,
469
580
  use_enum_values=True,
@@ -485,6 +596,9 @@ class PipelineStepMetadata(BaseModel):
485
596
 
486
597
 
487
598
  class PossibleValue(BaseModel):
599
+ """
600
+
601
+ """
488
602
  model_config = ConfigDict(
489
603
  populate_by_name=True,
490
604
  use_enum_values=True,
@@ -496,7 +610,32 @@ class PossibleValue(BaseModel):
496
610
  description: Optional[str] = None
497
611
 
498
612
 
613
+ class ProjectGuidance(BaseModel):
614
+ """
615
+
616
+ """
617
+ model_config = ConfigDict(
618
+ populate_by_name=True,
619
+ use_enum_values=True,
620
+ arbitrary_types_allowed=True,
621
+ protected_namespaces=("model_config",),
622
+ )
623
+ """
624
+ The guidance that will be created with the project template
625
+ """
626
+
627
+ slug: Optional[str] = None
628
+ name: Optional[str] = None
629
+ description: Optional[str] = None
630
+ template_ref: Optional[str] = Field(None, alias="templateRef")
631
+ ref: Optional[str] = None
632
+ guidance: Optional[List[Guidance]] = Field(None, alias="guidance")
633
+
634
+
499
635
  class ProjectDashboard(BaseModel):
636
+ """
637
+
638
+ """
500
639
  model_config = ConfigDict(
501
640
  populate_by_name=True,
502
641
  use_enum_values=True,
@@ -517,6 +656,9 @@ class ProjectDashboard(BaseModel):
517
656
 
518
657
 
519
658
  class StoreType(Enum):
659
+ """
660
+
661
+ """
520
662
  document = "DOCUMENT"
521
663
  table = "TABLE"
522
664
  dictionary = "DICTIONARY"
@@ -524,11 +666,17 @@ class StoreType(Enum):
524
666
 
525
667
 
526
668
  class StorePurpose(Enum):
669
+ """
670
+
671
+ """
527
672
  operational = "OPERATIONAL"
528
673
  training = "TRAINING"
529
674
 
530
675
 
531
676
  class ProjectStore(BaseModel):
677
+ """
678
+
679
+ """
532
680
  model_config = ConfigDict(
533
681
  populate_by_name=True,
534
682
  use_enum_values=True,
@@ -562,7 +710,7 @@ class ProjectStore(BaseModel):
562
710
 
563
711
  class TaxonomyType(Enum):
564
712
  """
565
- The type of taxonomy
713
+
566
714
  """
567
715
 
568
716
  content = "CONTENT"
@@ -573,7 +721,7 @@ class TaxonomyType(Enum):
573
721
 
574
722
  class Category(Enum):
575
723
  """
576
- The category of project template
724
+
577
725
  """
578
726
 
579
727
  task = "TASK"
@@ -584,11 +732,17 @@ class Category(Enum):
584
732
 
585
733
 
586
734
  class Purpose(Enum):
735
+ """
736
+
737
+ """
587
738
  suggestion = "SUGGESTION"
588
739
  source = "SOURCE"
589
740
 
590
741
 
591
742
  class RelatedTaxon(BaseModel):
743
+ """
744
+
745
+ """
592
746
  model_config = ConfigDict(
593
747
  populate_by_name=True,
594
748
  use_enum_values=True,
@@ -605,6 +759,9 @@ class RelatedTaxon(BaseModel):
605
759
 
606
760
 
607
761
  class ScheduleDefinition(BaseModel):
762
+ """
763
+
764
+ """
608
765
  model_config = ConfigDict(
609
766
  populate_by_name=True,
610
767
  use_enum_values=True,
@@ -622,6 +779,9 @@ class ScheduleDefinition(BaseModel):
622
779
 
623
780
 
624
781
  class SelectionOption(BaseModel):
782
+ """
783
+
784
+ """
625
785
  model_config = ConfigDict(
626
786
  populate_by_name=True,
627
787
  use_enum_values=True,
@@ -638,6 +798,9 @@ class SelectionOption(BaseModel):
638
798
 
639
799
 
640
800
  class SlugBasedMetadata1(BaseModel):
801
+ """
802
+
803
+ """
641
804
  model_config = ConfigDict(
642
805
  populate_by_name=True,
643
806
  use_enum_values=True,
@@ -705,6 +868,9 @@ class SlugBasedMetadata1(BaseModel):
705
868
 
706
869
 
707
870
  class StepImplementation(BaseModel):
871
+ """
872
+
873
+ """
708
874
  model_config = ConfigDict(
709
875
  populate_by_name=True,
710
876
  use_enum_values=True,
@@ -715,27 +881,10 @@ class StepImplementation(BaseModel):
715
881
  class_: Optional[str] = Field(None, alias="class")
716
882
 
717
883
 
718
- class StoreType1(Enum):
719
- """
720
- The type of object the store will contain
884
+ class StoreViewOptions(BaseModel):
721
885
  """
722
886
 
723
- document = "DOCUMENT"
724
- table = "TABLE"
725
- dictionary = "DICTIONARY"
726
- model = "MODEL"
727
-
728
-
729
- class StorePurpose1(Enum):
730
- """
731
- The purpose of the store (used by UI and assistants to understand how to interact with the store events)
732
887
  """
733
-
734
- operational = "OPERATIONAL"
735
- training = "TRAINING"
736
-
737
-
738
- class StoreViewOptions(BaseModel):
739
888
  model_config = ConfigDict(
740
889
  populate_by_name=True,
741
890
  use_enum_values=True,
@@ -764,6 +913,16 @@ class StoreViewOptions(BaseModel):
764
913
 
765
914
 
766
915
  class OptionTab(BaseModel):
916
+ """
917
+
918
+ Class OptionTab
919
+
920
+ This class represents an option tab that can be used in a UI for configuring models.
921
+
922
+ Attributes:
923
+ - `model_config` (ConfigDict): A dictionary that stores the model configuration.
924
+ - `name` (Optional[str]): The name of the option tab.
925
+ - `description` (Optional[str]): The description of the option"""
767
926
  model_config = ConfigDict(
768
927
  populate_by_name=True,
769
928
  use_enum_values=True,
@@ -780,7 +939,15 @@ class OptionTab(BaseModel):
780
939
 
781
940
  class ValuePath(Enum):
782
941
  """
783
- Where to get the value for this taxon when extracting
942
+ Enum class representing different types of value paths.
943
+
944
+ :cvar value_or_all_content: Represents a value or all content.
945
+ :cvar value_only: Represents a value only.
946
+ :cvar all_content: Represents all content.
947
+ :cvar data_path: Represents a data path.
948
+ :cvar metadata: Represents metadata.
949
+ :cvar expression: Represents an expression.
950
+ :cvar script: Represents a script.
784
951
  """
785
952
 
786
953
  value_or_all_content = "VALUE_OR_ALL_CONTENT"
@@ -793,8 +960,12 @@ class ValuePath(Enum):
793
960
 
794
961
 
795
962
  class MetadataValue(Enum):
796
- """
797
- If the type is metadata this will be the metadata option
963
+ """Enumeration representing different metadata values.
964
+
965
+ Attributes:
966
+ filename (str): The filename metadata value.
967
+ transaction_uuid (str): The transaction UUID metadata value.
968
+ created_datetime (str): The created datetime metadata value.
798
969
  """
799
970
 
800
971
  filename = "FILENAME"
@@ -804,8 +975,21 @@ class MetadataValue(Enum):
804
975
 
805
976
  class TaxonType(Enum):
806
977
  """
807
- Expected data type to coalesce to (defaults to STRING)
808
- """
978
+ An enumeration representing different types of taxonomic data.
979
+
980
+ The TaxonType class defines constants for various taxonomic data types, including strings, dates, numbers,
981
+ and more.
982
+
983
+ Usage:
984
+ Use the TaxonType enumeration to represent the type of taxonomic data in your code.
985
+
986
+ Example:
987
+ ::
988
+
989
+ taxon_type = TaxonType.string
990
+ if taxon_type == TaxonType.date:
991
+ print("This is a date type")
992
+ elif taxon"""
809
993
 
810
994
  string = "STRING"
811
995
  date = "DATE"
@@ -823,7 +1007,13 @@ class TaxonType(Enum):
823
1007
 
824
1008
  class TaxonomyType1(Enum):
825
1009
  """
826
- The type of taxonomy
1010
+ Represents the taxonomy types for classification.
1011
+
1012
+ The possible values are:
1013
+ - content: Represents the content taxonomy type.
1014
+ - classification: Represents the classification taxonomy type.
1015
+ - processing: Represents the processing taxonomy type.
1016
+ - model: Represents the model taxonomy type.
827
1017
  """
828
1018
 
829
1019
  content = "CONTENT"
@@ -833,6 +1023,9 @@ class TaxonomyType1(Enum):
833
1023
 
834
1024
 
835
1025
  class ViewPreset(BaseModel):
1026
+ """
1027
+
1028
+ """
836
1029
  model_config = ConfigDict(
837
1030
  populate_by_name=True,
838
1031
  use_enum_values=True,
@@ -850,6 +1043,9 @@ class ViewPreset(BaseModel):
850
1043
 
851
1044
 
852
1045
  class ReprocessRequest(BaseModel):
1046
+ """
1047
+
1048
+ """
853
1049
  model_config = ConfigDict(
854
1050
  populate_by_name=True,
855
1051
  use_enum_values=True,
@@ -862,6 +1058,9 @@ class ReprocessRequest(BaseModel):
862
1058
 
863
1059
 
864
1060
  class AssistantSchedule(BaseModel):
1061
+ """
1062
+
1063
+ """
865
1064
  model_config = ConfigDict(
866
1065
  populate_by_name=True,
867
1066
  use_enum_values=True,
@@ -876,11 +1075,24 @@ class AssistantSchedule(BaseModel):
876
1075
 
877
1076
 
878
1077
  class StatusType1(Enum):
1078
+ """
1079
+ Enumeration class representing the status types.
1080
+
1081
+ Each status type has a string value associated with it.
1082
+
1083
+ :ivar unresolved: The unresolved status type.
1084
+ :vartype unresolved: StatusType1
1085
+ :ivar resolved: The resolved status type.
1086
+ :vartype resolved: StatusType1
1087
+ """
879
1088
  unresolved = "UNRESOLVED"
880
1089
  resolved = "RESOLVED"
881
1090
 
882
1091
 
883
1092
  class AttributeStatus(BaseModel):
1093
+ """
1094
+
1095
+ """
884
1096
  model_config = ConfigDict(
885
1097
  populate_by_name=True,
886
1098
  use_enum_values=True,
@@ -898,9 +1110,7 @@ class AttributeStatus(BaseModel):
898
1110
 
899
1111
 
900
1112
  class ContentType(Enum):
901
- """
902
- The type of content
903
- """
1113
+ """A class representing the content type of a document or native file."""
904
1114
 
905
1115
  document = "DOCUMENT"
906
1116
  native = "NATIVE"
@@ -908,8 +1118,23 @@ class ContentType(Enum):
908
1118
 
909
1119
  class ActorType(Enum):
910
1120
  """
911
- The type of actor
912
- """
1121
+ The ActorType class is an enumeration that represents different types of actors in a system.
1122
+
1123
+ Usage:
1124
+ Use the ActorType enum to specify the type of an actor in your system.
1125
+
1126
+ Attributes:
1127
+ - user: Represents a user actor.
1128
+ - assistant: Represents an assistant actor.
1129
+ - access_token: Represents an access token actor.
1130
+ - api: Represents an API actor.
1131
+
1132
+ Example:
1133
+ actor = ActorType.user
1134
+ print(actor) # Output: ActorType.user
1135
+
1136
+ Notes:
1137
+ - The values of the ActorType enum are"""
913
1138
 
914
1139
  user = "USER"
915
1140
  assistant = "ASSISTANT"
@@ -918,6 +1143,9 @@ class ActorType(Enum):
918
1143
 
919
1144
 
920
1145
  class DocumentActor(BaseModel):
1146
+ """
1147
+
1148
+ """
921
1149
  model_config = ConfigDict(
922
1150
  populate_by_name=True,
923
1151
  use_enum_values=True,
@@ -939,11 +1167,19 @@ class DocumentActor(BaseModel):
939
1167
 
940
1168
 
941
1169
  class StatusType2(Enum):
1170
+ """Module containing the `StatusType2` class.
1171
+
1172
+ This class represents the status types for a particular issue or task.
1173
+
1174
+ """
942
1175
  unresolved = "UNRESOLVED"
943
1176
  resolved = "RESOLVED"
944
1177
 
945
1178
 
946
1179
  class DocumentStatus(BaseModel):
1180
+ """
1181
+
1182
+ """
947
1183
  model_config = ConfigDict(
948
1184
  populate_by_name=True,
949
1185
  use_enum_values=True,
@@ -963,13 +1199,18 @@ class DocumentStatus(BaseModel):
963
1199
 
964
1200
  class TransitionType(Enum):
965
1201
  """
966
- The type of transition
1202
+ Defines the different types of transitions.
1203
+
1204
+ :cvar derived: The transition is derived from previous data.
967
1205
  """
968
1206
 
969
1207
  derived = "DERIVED"
970
1208
 
971
1209
 
972
1210
  class DocumentTransition(BaseModel):
1211
+ """
1212
+
1213
+ """
973
1214
  model_config = ConfigDict(
974
1215
  populate_by_name=True,
975
1216
  use_enum_values=True,
@@ -1005,6 +1246,25 @@ class DocumentTransition(BaseModel):
1005
1246
 
1006
1247
 
1007
1248
  class Status1(Enum):
1249
+ """
1250
+
1251
+ The Status1 Enumeration Class
1252
+ ------------------------
1253
+
1254
+ This class represents a set of possible statuses.
1255
+
1256
+ Attributes:
1257
+ pending (str): The pending status.
1258
+ running (str): The running status.
1259
+ succeeded (str): The succeeded status.
1260
+ failed (str): The failed status.
1261
+ requested (str): The requested status.
1262
+ skipped (str): The skipped status.
1263
+ cancelling (str): The cancelling status.
1264
+ cancelled (str): The cancelled status.
1265
+ pending_reprocessing (str): The pending reprocessing status.
1266
+
1267
+ """
1008
1268
  pending = "PENDING"
1009
1269
  running = "RUNNING"
1010
1270
  succeeded = "SUCCEEDED"
@@ -1017,6 +1277,20 @@ class Status1(Enum):
1017
1277
 
1018
1278
 
1019
1279
  class Status2(Enum):
1280
+ """
1281
+
1282
+ :class:`Status2` Enum
1283
+
1284
+ Enumeration class representing the status of a task. The possible values are:
1285
+
1286
+ - `pending`: The task is pending and has not started yet.
1287
+ - `running`: The task is currently running.
1288
+ - `succeeded`: The task has successfully completed.
1289
+ - `failed`: The task has failed to complete.
1290
+ - `requested`: The task has been requested to start but has not yet started.
1291
+ - `skipped`: The task has been skipped.
1292
+ - `cancelling`: The task is currently being cancelled.
1293
+ """
1020
1294
  pending = "PENDING"
1021
1295
  running = "RUNNING"
1022
1296
  succeeded = "SUCCEEDED"
@@ -1029,6 +1303,9 @@ class Status2(Enum):
1029
1303
 
1030
1304
 
1031
1305
  class Status3(Enum):
1306
+ """
1307
+
1308
+ """
1032
1309
  pending = "PENDING"
1033
1310
  running = "RUNNING"
1034
1311
  succeeded = "SUCCEEDED"
@@ -1041,17 +1318,47 @@ class Status3(Enum):
1041
1318
 
1042
1319
 
1043
1320
  class StepType1(Enum):
1321
+ """
1322
+ Enumerates the possible step types for a specific class.
1323
+
1324
+ :class: StepType1
1325
+
1326
+ Attributes:
1327
+ action (str): Constant representing an action step type.
1328
+ model (str): Constant representing a model step type.
1329
+ """
1044
1330
  action = "ACTION"
1045
1331
  model = "MODEL"
1046
1332
 
1047
1333
 
1048
1334
  class Type(Enum):
1335
+ """
1336
+ A class representing different types.
1337
+
1338
+ Attributes:
1339
+ document_store (str): Represents the type for document store.
1340
+ taxonomy_store (str): Represents the type for taxonomy store.
1341
+ data_store (str): Represents the type for data store.
1342
+
1343
+ Examples:
1344
+ The `document_store` attribute can be accessed as follows:
1345
+
1346
+ >>> Type.document_store
1347
+ <Type.document_store: 'DOCUMENT_STORE'>
1348
+
1349
+ The `taxonomy_store` attribute can be accessed as follows:
1350
+
1351
+ >>> Type.taxonomy_store
1352
+ <Type.taxonomy_store"""
1049
1353
  document_store = "DOCUMENT_STORE"
1050
1354
  taxonomy_store = "TAXONOMY_STORE"
1051
1355
  data_store = "DATA_STORE"
1052
1356
 
1053
1357
 
1054
1358
  class ExecutionTarget(BaseModel):
1359
+ """
1360
+
1361
+ """
1055
1362
  model_config = ConfigDict(
1056
1363
  populate_by_name=True,
1057
1364
  use_enum_values=True,
@@ -1068,6 +1375,9 @@ class ExecutionTarget(BaseModel):
1068
1375
 
1069
1376
 
1070
1377
  class ExecutionTargets(BaseModel):
1378
+ """
1379
+
1380
+ """
1071
1381
  model_config = ConfigDict(
1072
1382
  populate_by_name=True,
1073
1383
  use_enum_values=True,
@@ -1078,6 +1388,9 @@ class ExecutionTargets(BaseModel):
1078
1388
 
1079
1389
 
1080
1390
  class Label(BaseModel):
1391
+ """
1392
+
1393
+ """
1081
1394
  model_config = ConfigDict(
1082
1395
  populate_by_name=True,
1083
1396
  use_enum_values=True,
@@ -1099,6 +1412,9 @@ class Label(BaseModel):
1099
1412
 
1100
1413
 
1101
1414
  class ProjectTag(BaseModel):
1415
+ """
1416
+
1417
+ """
1102
1418
  model_config = ConfigDict(
1103
1419
  populate_by_name=True,
1104
1420
  use_enum_values=True,
@@ -1115,6 +1431,9 @@ class ProjectTag(BaseModel):
1115
1431
 
1116
1432
 
1117
1433
  class PathExtractedData(BaseModel):
1434
+ """
1435
+
1436
+ """
1118
1437
  model_config = ConfigDict(
1119
1438
  populate_by_name=True,
1120
1439
  use_enum_values=True,
@@ -1130,6 +1449,9 @@ class PathExtractedData(BaseModel):
1130
1449
 
1131
1450
 
1132
1451
  class ProjectMemory(BaseModel):
1452
+ """
1453
+
1454
+ """
1133
1455
  model_config = ConfigDict(
1134
1456
  populate_by_name=True,
1135
1457
  use_enum_values=True,
@@ -1140,6 +1462,9 @@ class ProjectMemory(BaseModel):
1140
1462
 
1141
1463
 
1142
1464
  class ProjectMetadata(BaseModel):
1465
+ """
1466
+
1467
+ """
1143
1468
  model_config = ConfigDict(
1144
1469
  populate_by_name=True,
1145
1470
  use_enum_values=True,
@@ -1150,11 +1475,28 @@ class ProjectMetadata(BaseModel):
1150
1475
 
1151
1476
 
1152
1477
  class State1(Enum):
1478
+ """
1479
+ .. py:class:: State1(Enum)
1480
+
1481
+ Enumeration class representing different states.
1482
+
1483
+ The ``State1`` class is an enumeration that represents different states. It is implemented as an enum in Python.
1484
+ The available states are "open" and "closed".
1485
+
1486
+ The states are defined with corresponding string values, allowing for easy comparison and assignment.
1487
+
1488
+ :cvar open: Represents the "OPEN" state.
1489
+ :vartype open: str
1490
+ :cvar closed: Represents the "CLOSED" state.
1491
+ :v"""
1153
1492
  open = "OPEN"
1154
1493
  closed = "CLOSED"
1155
1494
 
1156
1495
 
1157
1496
  class Session(BaseModel):
1497
+ """
1498
+
1499
+ """
1158
1500
  model_config = ConfigDict(
1159
1501
  populate_by_name=True,
1160
1502
  use_enum_values=True,
@@ -1171,6 +1513,17 @@ class Session(BaseModel):
1171
1513
 
1172
1514
 
1173
1515
  class Status4(Enum):
1516
+ """
1517
+
1518
+ :class:`Status4` is an enumeration class that represents different status values.
1519
+
1520
+ Attributes:
1521
+ * :attr:`Status4.pending`: Represents the "PENDING" status.
1522
+ * :attr:`Status4.running`: Represents the "RUNNING" status.
1523
+ * :attr:`Status4.succeeded`: Represents the "SUCCEEDED" status.
1524
+ * :attr:`Status4.failed`: Represents the "FAILED" status.
1525
+ * :attr:`Status4.requested`: Represents the "REQUESTED" status.
1526
+ * :"""
1174
1527
  pending = "PENDING"
1175
1528
  running = "RUNNING"
1176
1529
  succeeded = "SUCCEEDED"
@@ -1183,6 +1536,9 @@ class Status4(Enum):
1183
1536
 
1184
1537
 
1185
1538
  class StatusDetails(BaseModel):
1539
+ """
1540
+
1541
+ """
1186
1542
  model_config = ConfigDict(
1187
1543
  populate_by_name=True,
1188
1544
  use_enum_values=True,
@@ -1197,6 +1553,9 @@ class StatusDetails(BaseModel):
1197
1553
 
1198
1554
 
1199
1555
  class ValidationError(BaseModel):
1556
+ """
1557
+
1558
+ """
1200
1559
  model_config = ConfigDict(
1201
1560
  populate_by_name=True,
1202
1561
  use_enum_values=True,
@@ -1213,6 +1572,9 @@ class ValidationError(BaseModel):
1213
1572
 
1214
1573
 
1215
1574
  class ValidationResults(BaseModel):
1575
+ """
1576
+
1577
+ """
1216
1578
  model_config = ConfigDict(
1217
1579
  populate_by_name=True,
1218
1580
  use_enum_values=True,
@@ -1223,6 +1585,9 @@ class ValidationResults(BaseModel):
1223
1585
 
1224
1586
 
1225
1587
  class BulkCopy(BaseModel):
1588
+ """
1589
+
1590
+ """
1226
1591
  model_config = ConfigDict(
1227
1592
  populate_by_name=True,
1228
1593
  use_enum_values=True,
@@ -1235,6 +1600,9 @@ class BulkCopy(BaseModel):
1235
1600
 
1236
1601
 
1237
1602
  class FamilyRename(BaseModel):
1603
+ """
1604
+
1605
+ """
1238
1606
  model_config = ConfigDict(
1239
1607
  populate_by_name=True,
1240
1608
  use_enum_values=True,
@@ -1245,6 +1613,9 @@ class FamilyRename(BaseModel):
1245
1613
 
1246
1614
 
1247
1615
  class ContentFeature(BaseModel):
1616
+ """
1617
+
1618
+ """
1248
1619
  model_config = ConfigDict(
1249
1620
  populate_by_name=True,
1250
1621
  use_enum_values=True,
@@ -1258,6 +1629,9 @@ class ContentFeature(BaseModel):
1258
1629
 
1259
1630
 
1260
1631
  class NodeFeatures(BaseModel):
1632
+ """
1633
+
1634
+ """
1261
1635
  model_config = ConfigDict(
1262
1636
  populate_by_name=True,
1263
1637
  use_enum_values=True,
@@ -1269,6 +1643,9 @@ class NodeFeatures(BaseModel):
1269
1643
 
1270
1644
 
1271
1645
  class DataException(BaseModel):
1646
+ """
1647
+
1648
+ """
1272
1649
  model_config = ConfigDict(
1273
1650
  populate_by_name=True,
1274
1651
  use_enum_values=True,
@@ -1296,6 +1673,9 @@ class DataException(BaseModel):
1296
1673
 
1297
1674
 
1298
1675
  class DataLineage(BaseModel):
1676
+ """
1677
+
1678
+ """
1299
1679
  model_config = ConfigDict(
1300
1680
  populate_by_name=True,
1301
1681
  use_enum_values=True,
@@ -1309,6 +1689,9 @@ class DataLineage(BaseModel):
1309
1689
 
1310
1690
 
1311
1691
  class WorkflowDefinition(BaseModel):
1692
+ """
1693
+
1694
+ """
1312
1695
  model_config = ConfigDict(
1313
1696
  populate_by_name=True,
1314
1697
  use_enum_values=True,
@@ -1320,6 +1703,9 @@ class WorkflowDefinition(BaseModel):
1320
1703
 
1321
1704
 
1322
1705
  class ProjectResourcesUpdate(BaseModel):
1706
+ """
1707
+
1708
+ """
1323
1709
  model_config = ConfigDict(
1324
1710
  populate_by_name=True,
1325
1711
  use_enum_values=True,
@@ -1333,12 +1719,18 @@ class ProjectResourcesUpdate(BaseModel):
1333
1719
 
1334
1720
 
1335
1721
  class Role1(Enum):
1722
+ """
1723
+
1724
+ """
1336
1725
  owner = "OWNER"
1337
1726
  read = "READ"
1338
1727
  write = "WRITE"
1339
1728
 
1340
1729
 
1341
1730
  class DeploymentType2(Enum):
1731
+ """
1732
+
1733
+ """
1342
1734
  kubernetes = "KUBERNETES"
1343
1735
  aws_lambda = "AWS_LAMBDA"
1344
1736
  azure_cloud_function = "AZURE_CLOUD_FUNCTION"
@@ -1346,6 +1738,9 @@ class DeploymentType2(Enum):
1346
1738
 
1347
1739
 
1348
1740
  class DeploymentOptions(BaseModel):
1741
+ """
1742
+
1743
+ """
1349
1744
  model_config = ConfigDict(
1350
1745
  populate_by_name=True,
1351
1746
  use_enum_values=True,
@@ -1362,13 +1757,19 @@ class DeploymentOptions(BaseModel):
1362
1757
  child_process: Optional[bool] = Field(None, alias="childProcess")
1363
1758
 
1364
1759
 
1365
- class SourceType(Enum):
1760
+ class SourceType(Enum):
1761
+ """
1762
+
1763
+ """
1366
1764
  data_object = "DATA_OBJECT"
1367
1765
  data_attribute = "DATA_ATTRIBUTE"
1368
1766
  fixed = "FIXED"
1369
1767
 
1370
1768
 
1371
1769
  class DataFormSourceParameter(BaseModel):
1770
+ """
1771
+
1772
+ """
1372
1773
  model_config = ConfigDict(
1373
1774
  populate_by_name=True,
1374
1775
  use_enum_values=True,
@@ -1380,6 +1781,9 @@ class DataFormSourceParameter(BaseModel):
1380
1781
 
1381
1782
 
1382
1783
  class DataFormProviderExchange(BaseModel):
1784
+ """
1785
+
1786
+ """
1383
1787
  model_config = ConfigDict(
1384
1788
  populate_by_name=True,
1385
1789
  use_enum_values=True,
@@ -1392,6 +1796,9 @@ class DataFormProviderExchange(BaseModel):
1392
1796
 
1393
1797
 
1394
1798
  class PlatformConfiguration(BaseModel):
1799
+ """
1800
+
1801
+ """
1395
1802
  model_config = ConfigDict(
1396
1803
  populate_by_name=True,
1397
1804
  use_enum_values=True,
@@ -1426,6 +1833,9 @@ class PlatformConfiguration(BaseModel):
1426
1833
 
1427
1834
 
1428
1835
  class UserActivation(BaseModel):
1836
+ """
1837
+
1838
+ """
1429
1839
  model_config = ConfigDict(
1430
1840
  populate_by_name=True,
1431
1841
  use_enum_values=True,
@@ -1438,6 +1848,9 @@ class UserActivation(BaseModel):
1438
1848
 
1439
1849
 
1440
1850
  class ModelTraining(BaseModel):
1851
+ """
1852
+
1853
+ """
1441
1854
  model_config = ConfigDict(
1442
1855
  populate_by_name=True,
1443
1856
  use_enum_values=True,
@@ -1466,6 +1879,9 @@ class ModelTraining(BaseModel):
1466
1879
 
1467
1880
 
1468
1881
  class Status5(Enum):
1882
+ """
1883
+
1884
+ """
1469
1885
  pending = "PENDING"
1470
1886
  running = "RUNNING"
1471
1887
  succeeded = "SUCCEEDED"
@@ -1478,6 +1894,9 @@ class Status5(Enum):
1478
1894
 
1479
1895
 
1480
1896
  class BaseEvent1(BaseModel):
1897
+ """
1898
+
1899
+ """
1481
1900
  model_config = ConfigDict(
1482
1901
  populate_by_name=True,
1483
1902
  use_enum_values=True,
@@ -1488,11 +1907,17 @@ class BaseEvent1(BaseModel):
1488
1907
 
1489
1908
 
1490
1909
  class ObjectEventType(Enum):
1910
+ """
1911
+
1912
+ """
1491
1913
  new_object = "NEW_OBJECT"
1492
1914
  derived_object = "DERIVED_OBJECT"
1493
1915
 
1494
1916
 
1495
1917
  class ExecutionEventType(Enum):
1918
+ """
1919
+
1920
+ """
1496
1921
  start_execution = "START_EXECUTION"
1497
1922
  step_update = "STEP_UPDATE"
1498
1923
  assistant_event = "ASSISTANT_EVENT"
@@ -1501,6 +1926,9 @@ class ExecutionEventType(Enum):
1501
1926
 
1502
1927
 
1503
1928
  class Status6(Enum):
1929
+ """
1930
+
1931
+ """
1504
1932
  pending = "PENDING"
1505
1933
  running = "RUNNING"
1506
1934
  succeeded = "SUCCEEDED"
@@ -1513,6 +1941,9 @@ class Status6(Enum):
1513
1941
 
1514
1942
 
1515
1943
  class ExecutionLogEntry(BaseModel):
1944
+ """
1945
+
1946
+ """
1516
1947
  model_config = ConfigDict(
1517
1948
  populate_by_name=True,
1518
1949
  use_enum_values=True,
@@ -1529,6 +1960,9 @@ class ExecutionLogEntry(BaseModel):
1529
1960
 
1530
1961
 
1531
1962
  class LoginRequest(BaseModel):
1963
+ """
1964
+
1965
+ """
1532
1966
  model_config = ConfigDict(
1533
1967
  populate_by_name=True,
1534
1968
  use_enum_values=True,
@@ -1540,6 +1974,9 @@ class LoginRequest(BaseModel):
1540
1974
 
1541
1975
 
1542
1976
  class RegisterUser(BaseModel):
1977
+ """
1978
+
1979
+ """
1543
1980
  model_config = ConfigDict(
1544
1981
  populate_by_name=True,
1545
1982
  use_enum_values=True,
@@ -1552,6 +1989,9 @@ class RegisterUser(BaseModel):
1552
1989
 
1553
1990
 
1554
1991
  class PasswordReset(BaseModel):
1992
+ """
1993
+
1994
+ """
1555
1995
  model_config = ConfigDict(
1556
1996
  populate_by_name=True,
1557
1997
  use_enum_values=True,
@@ -1562,6 +2002,9 @@ class PasswordReset(BaseModel):
1562
2002
 
1563
2003
 
1564
2004
  class PasswordChange(BaseModel):
2005
+ """
2006
+
2007
+ """
1565
2008
  model_config = ConfigDict(
1566
2009
  populate_by_name=True,
1567
2010
  use_enum_values=True,
@@ -1573,6 +2016,9 @@ class PasswordChange(BaseModel):
1573
2016
 
1574
2017
 
1575
2018
  class PlatformOverview(BaseModel):
2019
+ """
2020
+
2021
+ """
1576
2022
  model_config = ConfigDict(
1577
2023
  populate_by_name=True,
1578
2024
  use_enum_values=True,
@@ -1617,6 +2063,9 @@ class PlatformOverview(BaseModel):
1617
2063
 
1618
2064
 
1619
2065
  class QueryContext(BaseModel):
2066
+ """
2067
+
2068
+ """
1620
2069
  model_config = ConfigDict(
1621
2070
  populate_by_name=True,
1622
2071
  use_enum_values=True,
@@ -1635,6 +2084,9 @@ class QueryContext(BaseModel):
1635
2084
 
1636
2085
 
1637
2086
  class SortObject(BaseModel):
2087
+ """
2088
+
2089
+ """
1638
2090
  model_config = ConfigDict(
1639
2091
  populate_by_name=True,
1640
2092
  use_enum_values=True,
@@ -1647,6 +2099,9 @@ class SortObject(BaseModel):
1647
2099
 
1648
2100
 
1649
2101
  class SearchEntity(BaseModel):
2102
+ """
2103
+
2104
+ """
1650
2105
  model_config = ConfigDict(
1651
2106
  populate_by_name=True,
1652
2107
  use_enum_values=True,
@@ -1665,12 +2120,18 @@ class SearchEntity(BaseModel):
1665
2120
 
1666
2121
 
1667
2122
  class EventType(Enum):
2123
+ """
2124
+
2125
+ """
1668
2126
  created = "CREATED"
1669
2127
  deleted = "DELETED"
1670
2128
  updated = "UPDATED"
1671
2129
 
1672
2130
 
1673
2131
  class DataAttributeValues(BaseModel):
2132
+ """
2133
+
2134
+ """
1674
2135
  model_config = ConfigDict(
1675
2136
  populate_by_name=True,
1676
2137
  use_enum_values=True,
@@ -1692,6 +2153,9 @@ class DataAttributeValues(BaseModel):
1692
2153
 
1693
2154
 
1694
2155
  class BulkDelete(BaseModel):
2156
+ """
2157
+
2158
+ """
1695
2159
  model_config = ConfigDict(
1696
2160
  populate_by_name=True,
1697
2161
  use_enum_values=True,
@@ -1703,6 +2167,9 @@ class BulkDelete(BaseModel):
1703
2167
 
1704
2168
 
1705
2169
  class User(BaseModel):
2170
+ """
2171
+
2172
+ """
1706
2173
  model_config = ConfigDict(
1707
2174
  populate_by_name=True,
1708
2175
  use_enum_values=True,
@@ -1733,6 +2200,9 @@ class User(BaseModel):
1733
2200
 
1734
2201
 
1735
2202
  class DeploymentMetadata(BaseModel):
2203
+ """
2204
+
2205
+ """
1736
2206
  model_config = ConfigDict(
1737
2207
  populate_by_name=True,
1738
2208
  use_enum_values=True,
@@ -1761,10 +2231,16 @@ class DeploymentMetadata(BaseModel):
1761
2231
 
1762
2232
 
1763
2233
  class DockerSource(ExtensionPackSource):
2234
+ """
2235
+
2236
+ """
1764
2237
  location: Optional[str] = None
1765
2238
 
1766
2239
 
1767
2240
  class DocumentMetadataDefaults(BaseModel):
2241
+ """
2242
+
2243
+ """
1768
2244
  model_config = ConfigDict(
1769
2245
  populate_by_name=True,
1770
2246
  use_enum_values=True,
@@ -1777,6 +2253,9 @@ class DocumentMetadataDefaults(BaseModel):
1777
2253
 
1778
2254
 
1779
2255
  class ExtensionPackProvided(BaseModel):
2256
+ """
2257
+
2258
+ """
1780
2259
  model_config = ConfigDict(
1781
2260
  populate_by_name=True,
1782
2261
  use_enum_values=True,
@@ -1852,6 +2331,9 @@ class ExtensionPackProvided(BaseModel):
1852
2331
 
1853
2332
 
1854
2333
  class Option(BaseModel):
2334
+ """
2335
+
2336
+ """
1855
2337
  model_config = ConfigDict(
1856
2338
  populate_by_name=True,
1857
2339
  use_enum_values=True,
@@ -1885,6 +2367,9 @@ class Option(BaseModel):
1885
2367
 
1886
2368
 
1887
2369
  class Overlay(BaseModel):
2370
+ """
2371
+
2372
+ """
1888
2373
  model_config = ConfigDict(
1889
2374
  populate_by_name=True,
1890
2375
  use_enum_values=True,
@@ -1901,6 +2386,9 @@ class Overlay(BaseModel):
1901
2386
 
1902
2387
 
1903
2388
  class PipelineImplementationMetadata(BaseModel):
2389
+ """
2390
+
2391
+ """
1904
2392
  model_config = ConfigDict(
1905
2393
  populate_by_name=True,
1906
2394
  use_enum_values=True,
@@ -1918,12 +2406,7 @@ class PipelineImplementationMetadata(BaseModel):
1918
2406
 
1919
2407
  class ConnectionType(Enum):
1920
2408
  """
1921
- The type of assistant subscription, ie.
1922
- STORE,
1923
- DOCUMENT_FAMILY,
1924
- DATA_OBJECT,
1925
- WORKSPACE,
1926
- CHANNEL,
2409
+
1927
2410
  """
1928
2411
  STORE = "STORE"
1929
2412
  DOCUMENT_FAMILY = "DOCUMENT_FAMILY"
@@ -1933,6 +2416,9 @@ class ConnectionType(Enum):
1933
2416
 
1934
2417
 
1935
2418
  class ProjectAssistantConnection(BaseModel):
2419
+ """
2420
+
2421
+ """
1936
2422
  model_config = ConfigDict(
1937
2423
  populate_by_name=True,
1938
2424
  use_enum_values=True,
@@ -1953,6 +2439,9 @@ class ProjectAssistantConnection(BaseModel):
1953
2439
 
1954
2440
 
1955
2441
  class ProjectAssistant(BaseModel):
2442
+ """
2443
+
2444
+ """
1956
2445
  model_config = ConfigDict(
1957
2446
  populate_by_name=True,
1958
2447
  use_enum_values=True,
@@ -1979,6 +2468,9 @@ class ProjectAssistant(BaseModel):
1979
2468
 
1980
2469
 
1981
2470
  class Taxon(BaseModel):
2471
+ """
2472
+
2473
+ """
1982
2474
  model_config = ConfigDict(
1983
2475
  populate_by_name=True,
1984
2476
  use_enum_values=True,
@@ -2112,17 +2604,12 @@ class Taxon(BaseModel):
2112
2604
  alias="postExpression",
2113
2605
  description="An expression that is applied post extraction of the data",
2114
2606
  )
2115
- default_attribute_status_id: Optional[str] = Field(
2116
- None,
2117
- alias="defaultAttributeStatusId",
2118
- description="Default attribute status ID",
2119
- )
2120
2607
  semantic_definition: Optional[str] = Field(
2121
2608
  None,
2122
2609
  alias="semanticDefinition",
2123
2610
  description="The semantic definition of the taxon",
2124
2611
  )
2125
- examples: Optional[List[str]] = Field(
2612
+ examples: Optional[List[GuidanceTagResult]] = Field(
2126
2613
  None,
2127
2614
  description="A list of examples of the taxon values, used to understand the taxon",
2128
2615
  )
@@ -2132,8 +2619,19 @@ class Taxon(BaseModel):
2132
2619
  description="A list of synonyms of the taxon values, used to understand the taxon",
2133
2620
  )
2134
2621
 
2622
+ def update_path(self, parent_path=None):
2623
+ if parent_path is None:
2624
+ parent_path = ""
2625
+ self.path = parent_path + self.name
2626
+ if self.children is not None:
2627
+ for child in self.children:
2628
+ child.update_path(self.path + "/")
2629
+
2135
2630
 
2136
2631
  class ContentObject(BaseModel):
2632
+ """
2633
+
2634
+ """
2137
2635
  model_config = ConfigDict(
2138
2636
  populate_by_name=True,
2139
2637
  use_enum_values=True,
@@ -2161,6 +2659,9 @@ class ContentObject(BaseModel):
2161
2659
 
2162
2660
 
2163
2661
  class DocumentAssignment(BaseModel):
2662
+ """
2663
+
2664
+ """
2164
2665
  model_config = ConfigDict(
2165
2666
  populate_by_name=True,
2166
2667
  use_enum_values=True,
@@ -2180,6 +2681,9 @@ class DocumentAssignment(BaseModel):
2180
2681
 
2181
2682
 
2182
2683
  class ExceptionDetails(BaseModel):
2684
+ """
2685
+
2686
+ """
2183
2687
  model_config = ConfigDict(
2184
2688
  populate_by_name=True,
2185
2689
  use_enum_values=True,
@@ -2204,6 +2708,9 @@ class ExceptionDetails(BaseModel):
2204
2708
 
2205
2709
 
2206
2710
  class ExecutionStep(BaseModel):
2711
+ """
2712
+
2713
+ """
2207
2714
  model_config = ConfigDict(
2208
2715
  populate_by_name=True,
2209
2716
  use_enum_values=True,
@@ -2231,6 +2738,9 @@ class ExecutionStep(BaseModel):
2231
2738
 
2232
2739
 
2233
2740
  class ProjectStatus(BaseModel):
2741
+ """
2742
+
2743
+ """
2234
2744
  model_config = ConfigDict(
2235
2745
  populate_by_name=True,
2236
2746
  use_enum_values=True,
@@ -2249,6 +2759,9 @@ class ProjectStatus(BaseModel):
2249
2759
 
2250
2760
 
2251
2761
  class Project(BaseModel):
2762
+ """
2763
+
2764
+ """
2252
2765
  model_config = ConfigDict(
2253
2766
  populate_by_name=True,
2254
2767
  use_enum_values=True,
@@ -2290,20 +2803,10 @@ class Project(BaseModel):
2290
2803
  owner: Optional[User] = None
2291
2804
 
2292
2805
 
2293
- class TaxonLink(BaseModel):
2294
- model_config = ConfigDict(
2295
- populate_by_name=True,
2296
- use_enum_values=True,
2297
- arbitrary_types_allowed=True,
2298
- protected_namespaces=("model_config",),
2299
- )
2300
- node_uuids: Optional[List[str]] = Field(None, alias="nodeUuids")
2301
- content_object: Optional[ContentObject] = Field(None, alias="contentObject")
2302
- path: Optional[str] = None
2303
- owner_uri: Optional[str] = Field(None, alias="ownerUri")
2304
-
2305
-
2306
2806
  class FeatureSet(BaseModel):
2807
+ """
2808
+
2809
+ """
2307
2810
  model_config = ConfigDict(
2308
2811
  populate_by_name=True,
2309
2812
  use_enum_values=True,
@@ -2315,6 +2818,9 @@ class FeatureSet(BaseModel):
2315
2818
 
2316
2819
 
2317
2820
  class DocumentViewState(BaseModel):
2821
+ """
2822
+
2823
+ """
2318
2824
  model_config = ConfigDict(
2319
2825
  populate_by_name=True,
2320
2826
  use_enum_values=True,
@@ -2330,6 +2836,9 @@ class DocumentViewState(BaseModel):
2330
2836
 
2331
2837
 
2332
2838
  class DataFormState(BaseModel):
2839
+ """
2840
+
2841
+ """
2333
2842
  model_config = ConfigDict(
2334
2843
  populate_by_name=True,
2335
2844
  use_enum_values=True,
@@ -2346,6 +2855,9 @@ class DataFormState(BaseModel):
2346
2855
 
2347
2856
 
2348
2857
  class WorkspaceStorage(BaseModel):
2858
+ """
2859
+
2860
+ """
2349
2861
  model_config = ConfigDict(
2350
2862
  populate_by_name=True,
2351
2863
  use_enum_values=True,
@@ -2364,6 +2876,9 @@ class WorkspaceStorage(BaseModel):
2364
2876
 
2365
2877
 
2366
2878
  class Workspace(BaseModel):
2879
+ """
2880
+
2881
+ """
2367
2882
  model_config = ConfigDict(
2368
2883
  populate_by_name=True,
2369
2884
  use_enum_values=True,
@@ -2378,13 +2893,15 @@ class Workspace(BaseModel):
2378
2893
  project: Optional[Project] = None
2379
2894
  name: Optional[str] = None
2380
2895
  description: Optional[str] = None
2381
- channel: Optional[Channel] = None
2382
2896
  workspace_storage: Optional[WorkspaceStorage] = Field(
2383
2897
  None, alias="workspaceStorage"
2384
2898
  )
2385
2899
 
2386
2900
 
2387
2901
  class ProjectWorkspace(BaseModel):
2902
+ """
2903
+
2904
+ """
2388
2905
  model_config = ConfigDict(
2389
2906
  populate_by_name=True,
2390
2907
  use_enum_values=True,
@@ -2399,6 +2916,9 @@ class ProjectWorkspace(BaseModel):
2399
2916
 
2400
2917
 
2401
2918
  class Channel(BaseModel):
2919
+ """
2920
+
2921
+ """
2402
2922
  model_config = ConfigDict(
2403
2923
  populate_by_name=True,
2404
2924
  use_enum_values=True,
@@ -2411,9 +2931,13 @@ class Channel(BaseModel):
2411
2931
  created_on: Optional[StandardDateTime] = Field(None, alias="createdOn")
2412
2932
  updated_on: Optional[StandardDateTime] = Field(None, alias="updatedOn")
2413
2933
  workspace: Optional[Workspace] = None
2934
+ name: Optional[str] = None
2414
2935
 
2415
2936
 
2416
2937
  class MessageBlock(BaseModel):
2938
+ """
2939
+
2940
+ """
2417
2941
  model_config = ConfigDict(
2418
2942
  populate_by_name=True,
2419
2943
  use_enum_values=True,
@@ -2424,10 +2948,13 @@ class MessageBlock(BaseModel):
2424
2948
  type: Optional[str] = None
2425
2949
  properties: Optional[Dict[str, Any]] = None
2426
2950
  channel: Optional[Channel] = None
2427
- children: Optional[List[MessageBlock]] = Field(None, alias="messageBlock")
2951
+ children: Optional[List[MessageBlock]] = Field(None, alias="children")
2428
2952
 
2429
2953
 
2430
2954
  class MessageFeedbackResponse(BaseModel):
2955
+ """
2956
+
2957
+ """
2431
2958
  model_config = ConfigDict(
2432
2959
  populate_by_name=True,
2433
2960
  use_enum_values=True,
@@ -2442,6 +2969,9 @@ class MessageFeedbackResponse(BaseModel):
2442
2969
 
2443
2970
 
2444
2971
  class MessageFeedbackOption(BaseModel):
2972
+ """
2973
+
2974
+ """
2445
2975
  model_config = ConfigDict(
2446
2976
  populate_by_name=True,
2447
2977
  use_enum_values=True,
@@ -2460,6 +2990,9 @@ class MessageFeedbackOption(BaseModel):
2460
2990
 
2461
2991
 
2462
2992
  class MessageFeedback(BaseModel):
2993
+ """
2994
+
2995
+ """
2463
2996
  model_config = ConfigDict(
2464
2997
  populate_by_name=True,
2465
2998
  use_enum_values=True,
@@ -2470,6 +3003,9 @@ class MessageFeedback(BaseModel):
2470
3003
 
2471
3004
 
2472
3005
  class Message(BaseModel):
3006
+ """
3007
+
3008
+ """
2473
3009
  model_config = ConfigDict(
2474
3010
  populate_by_name=True,
2475
3011
  use_enum_values=True,
@@ -2491,7 +3027,11 @@ class Message(BaseModel):
2491
3027
  context: Optional[MessageContext] = None
2492
3028
  force_to_sender: Optional[bool] = Field(False, alias="forceToSender")
2493
3029
 
3030
+
2494
3031
  class DataAttribute(BaseModel):
3032
+ """
3033
+
3034
+ """
2495
3035
  model_config = ConfigDict(
2496
3036
  populate_by_name=True,
2497
3037
  use_enum_values=True,
@@ -2528,7 +3068,11 @@ class DataAttribute(BaseModel):
2528
3068
  data_obj_id: Optional[str] = Field(None, alias="dataObjId")
2529
3069
  label: Optional[str] = None
2530
3070
 
3071
+
2531
3072
  class Role(BaseModel):
3073
+ """
3074
+
3075
+ """
2532
3076
  model_config = ConfigDict(
2533
3077
  populate_by_name=True,
2534
3078
  use_enum_values=True,
@@ -2550,6 +3094,9 @@ class Role(BaseModel):
2550
3094
 
2551
3095
 
2552
3096
  class Membership(BaseModel):
3097
+ """
3098
+
3099
+ """
2553
3100
  model_config = ConfigDict(
2554
3101
  populate_by_name=True,
2555
3102
  use_enum_values=True,
@@ -2567,6 +3114,9 @@ class Membership(BaseModel):
2567
3114
 
2568
3115
 
2569
3116
  class DataFormSourceMethod(BaseModel):
3117
+ """
3118
+
3119
+ """
2570
3120
  model_config = ConfigDict(
2571
3121
  populate_by_name=True,
2572
3122
  use_enum_values=True,
@@ -2578,6 +3128,9 @@ class DataFormSourceMethod(BaseModel):
2578
3128
 
2579
3129
 
2580
3130
  class PageableObject(BaseModel):
3131
+ """
3132
+
3133
+ """
2581
3134
  model_config = ConfigDict(
2582
3135
  populate_by_name=True,
2583
3136
  use_enum_values=True,
@@ -2592,6 +3145,9 @@ class PageableObject(BaseModel):
2592
3145
 
2593
3146
 
2594
3147
  class PageTeam(BaseModel):
3148
+ """
3149
+
3150
+ """
2595
3151
  model_config = ConfigDict(
2596
3152
  populate_by_name=True,
2597
3153
  use_enum_values=True,
@@ -2611,6 +3167,9 @@ class PageTeam(BaseModel):
2611
3167
 
2612
3168
 
2613
3169
  class PageModelTraining(BaseModel):
3170
+ """
3171
+
3172
+ """
2614
3173
  model_config = ConfigDict(
2615
3174
  populate_by_name=True,
2616
3175
  use_enum_values=True,
@@ -2630,6 +3189,9 @@ class PageModelTraining(BaseModel):
2630
3189
 
2631
3190
 
2632
3191
  class PageDataAttribute(BaseModel):
3192
+ """
3193
+
3194
+ """
2633
3195
  model_config = ConfigDict(
2634
3196
  populate_by_name=True,
2635
3197
  use_enum_values=True,
@@ -2649,6 +3211,9 @@ class PageDataAttribute(BaseModel):
2649
3211
 
2650
3212
 
2651
3213
  class PageSession(BaseModel):
3214
+ """
3215
+
3216
+ """
2652
3217
  model_config = ConfigDict(
2653
3218
  populate_by_name=True,
2654
3219
  use_enum_values=True,
@@ -2668,6 +3233,9 @@ class PageSession(BaseModel):
2668
3233
 
2669
3234
 
2670
3235
  class PageRole(BaseModel):
3236
+ """
3237
+
3238
+ """
2671
3239
  model_config = ConfigDict(
2672
3240
  populate_by_name=True,
2673
3241
  use_enum_values=True,
@@ -2687,6 +3255,9 @@ class PageRole(BaseModel):
2687
3255
 
2688
3256
 
2689
3257
  class PageProject(BaseModel):
3258
+ """
3259
+
3260
+ """
2690
3261
  model_config = ConfigDict(
2691
3262
  populate_by_name=True,
2692
3263
  use_enum_values=True,
@@ -2706,6 +3277,9 @@ class PageProject(BaseModel):
2706
3277
 
2707
3278
 
2708
3279
  class PageAssistant(BaseModel):
3280
+ """
3281
+
3282
+ """
2709
3283
  model_config = ConfigDict(
2710
3284
  populate_by_name=True,
2711
3285
  use_enum_values=True,
@@ -2725,6 +3299,9 @@ class PageAssistant(BaseModel):
2725
3299
 
2726
3300
 
2727
3301
  class PageWorkspace(BaseModel):
3302
+ """
3303
+
3304
+ """
2728
3305
  model_config = ConfigDict(
2729
3306
  populate_by_name=True,
2730
3307
  use_enum_values=True,
@@ -2744,6 +3321,9 @@ class PageWorkspace(BaseModel):
2744
3321
 
2745
3322
 
2746
3323
  class PageMessage(BaseModel):
3324
+ """
3325
+
3326
+ """
2747
3327
  model_config = ConfigDict(
2748
3328
  populate_by_name=True,
2749
3329
  use_enum_values=True,
@@ -2763,6 +3343,9 @@ class PageMessage(BaseModel):
2763
3343
 
2764
3344
 
2765
3345
  class PageChannel(BaseModel):
3346
+ """
3347
+
3348
+ """
2766
3349
  model_config = ConfigDict(
2767
3350
  populate_by_name=True,
2768
3351
  use_enum_values=True,
@@ -2782,6 +3365,9 @@ class PageChannel(BaseModel):
2782
3365
 
2783
3366
 
2784
3367
  class PageOrganization(BaseModel):
3368
+ """
3369
+
3370
+ """
2785
3371
  model_config = ConfigDict(
2786
3372
  populate_by_name=True,
2787
3373
  use_enum_values=True,
@@ -2801,6 +3387,9 @@ class PageOrganization(BaseModel):
2801
3387
 
2802
3388
 
2803
3389
  class PageMembership(BaseModel):
3390
+ """
3391
+
3392
+ """
2804
3393
  model_config = ConfigDict(
2805
3394
  populate_by_name=True,
2806
3395
  use_enum_values=True,
@@ -2820,6 +3409,9 @@ class PageMembership(BaseModel):
2820
3409
 
2821
3410
 
2822
3411
  class PageExecutionLogEntry(BaseModel):
3412
+ """
3413
+
3414
+ """
2823
3415
  model_config = ConfigDict(
2824
3416
  populate_by_name=True,
2825
3417
  use_enum_values=True,
@@ -2839,6 +3431,9 @@ class PageExecutionLogEntry(BaseModel):
2839
3431
 
2840
3432
 
2841
3433
  class CustomEvent(BaseModel):
3434
+ """
3435
+
3436
+ """
2842
3437
  model_config = ConfigDict(
2843
3438
  populate_by_name=True,
2844
3439
  use_enum_values=True,
@@ -2884,6 +3479,9 @@ class CustomEvent(BaseModel):
2884
3479
 
2885
3480
 
2886
3481
  class ObjectMetadata(BaseModel):
3482
+ """
3483
+
3484
+ """
2887
3485
  model_config = ConfigDict(
2888
3486
  populate_by_name=True,
2889
3487
  use_enum_values=True,
@@ -2894,6 +3492,9 @@ class ObjectMetadata(BaseModel):
2894
3492
 
2895
3493
 
2896
3494
  class ProjectTaxonomy(BaseModel):
3495
+ """
3496
+
3497
+ """
2897
3498
  model_config = ConfigDict(
2898
3499
  populate_by_name=True,
2899
3500
  use_enum_values=True,
@@ -2919,6 +3520,9 @@ class ProjectTaxonomy(BaseModel):
2919
3520
 
2920
3521
 
2921
3522
  class ContentException(BaseModel):
3523
+ """
3524
+
3525
+ """
2922
3526
  model_config = ConfigDict(
2923
3527
  populate_by_name=True,
2924
3528
  use_enum_values=True,
@@ -2935,9 +3539,9 @@ class ContentException(BaseModel):
2935
3539
  created_on: Optional[StandardDateTime] = Field(None, alias="createdOn")
2936
3540
  updated_on: Optional[StandardDateTime] = Field(None, alias="updatedOn")
2937
3541
  tag: Optional[str] = None
2938
- message: str
2939
- exception_type: str = Field(..., alias="exceptionType")
2940
- severity: str
3542
+ message: Optional[str] = None
3543
+ exception_type: Optional[str] = Field(None, alias="exceptionType")
3544
+ severity: Optional[str] = None
2941
3545
  exception_details: Optional[str] = Field(None, alias="exceptionDetails")
2942
3546
  group_uuid: Optional[str] = Field(None, alias="groupUuid")
2943
3547
  tag_uuid: Optional[str] = Field(None, alias="tagUuid")
@@ -2945,6 +3549,9 @@ class ContentException(BaseModel):
2945
3549
 
2946
3550
 
2947
3551
  class ExecutionPipeline(BaseModel):
3552
+ """
3553
+
3554
+ """
2948
3555
  model_config = ConfigDict(
2949
3556
  populate_by_name=True,
2950
3557
  use_enum_values=True,
@@ -2959,6 +3566,9 @@ class ExecutionPipeline(BaseModel):
2959
3566
 
2960
3567
 
2961
3568
  class DataFormSourceDefinition(BaseModel):
3569
+ """
3570
+
3571
+ """
2962
3572
  model_config = ConfigDict(
2963
3573
  populate_by_name=True,
2964
3574
  use_enum_values=True,
@@ -2971,6 +3581,9 @@ class DataFormSourceDefinition(BaseModel):
2971
3581
 
2972
3582
 
2973
3583
  class PageUser(BaseModel):
3584
+ """
3585
+
3586
+ """
2974
3587
  model_config = ConfigDict(
2975
3588
  populate_by_name=True,
2976
3589
  use_enum_values=True,
@@ -2990,6 +3603,9 @@ class PageUser(BaseModel):
2990
3603
 
2991
3604
 
2992
3605
  class Execution(BaseModel):
3606
+ """
3607
+
3608
+ """
2993
3609
  model_config = ConfigDict(
2994
3610
  populate_by_name=True,
2995
3611
  use_enum_values=True,
@@ -3022,6 +3638,9 @@ class Execution(BaseModel):
3022
3638
 
3023
3639
 
3024
3640
  class ExecutionSnapshot(BaseModel):
3641
+ """
3642
+
3643
+ """
3025
3644
  model_config = ConfigDict(
3026
3645
  populate_by_name=True,
3027
3646
  use_enum_values=True,
@@ -3054,6 +3673,9 @@ class ExecutionSnapshot(BaseModel):
3054
3673
 
3055
3674
 
3056
3675
  class PageExecution(BaseModel):
3676
+ """
3677
+
3678
+ """
3057
3679
  model_config = ConfigDict(
3058
3680
  populate_by_name=True,
3059
3681
  use_enum_values=True,
@@ -3073,6 +3695,9 @@ class PageExecution(BaseModel):
3073
3695
 
3074
3696
 
3075
3697
  class ContentMetadata1(BaseModel):
3698
+ """
3699
+
3700
+ """
3076
3701
  model_config = ConfigDict(
3077
3702
  populate_by_name=True,
3078
3703
  use_enum_values=True,
@@ -3083,6 +3708,9 @@ class ContentMetadata1(BaseModel):
3083
3708
 
3084
3709
 
3085
3710
  class SlugBasedMetadata(BaseModel):
3711
+ """
3712
+
3713
+ """
3086
3714
  model_config = ConfigDict(
3087
3715
  populate_by_name=True,
3088
3716
  use_enum_values=True,
@@ -3093,6 +3721,9 @@ class SlugBasedMetadata(BaseModel):
3093
3721
 
3094
3722
 
3095
3723
  class LabelStatistics(BaseModel):
3724
+ """
3725
+
3726
+ """
3096
3727
  model_config = ConfigDict(
3097
3728
  populate_by_name=True,
3098
3729
  use_enum_values=True,
@@ -3125,6 +3756,9 @@ class LabelStatistics(BaseModel):
3125
3756
 
3126
3757
 
3127
3758
  class DocumentFamily(BaseModel):
3759
+ """
3760
+
3761
+ """
3128
3762
  model_config = ConfigDict(
3129
3763
  populate_by_name=True,
3130
3764
  use_enum_values=True,
@@ -3203,7 +3837,11 @@ class DocumentFamily(BaseModel):
3203
3837
  description="The statistics about the labels in the document family",
3204
3838
  )
3205
3839
 
3840
+
3206
3841
  class DocumentFamilyStatistics(BaseModel):
3842
+ """
3843
+
3844
+ """
3207
3845
  model_config = ConfigDict(
3208
3846
  populate_by_name=True,
3209
3847
  use_enum_values=True,
@@ -3221,6 +3859,9 @@ class DocumentFamilyStatistics(BaseModel):
3221
3859
 
3222
3860
 
3223
3861
  class ExecutionAssistant(BaseModel):
3862
+ """
3863
+
3864
+ """
3224
3865
  model_config = ConfigDict(
3225
3866
  populate_by_name=True,
3226
3867
  use_enum_values=True,
@@ -3251,6 +3892,9 @@ class ExecutionAssistant(BaseModel):
3251
3892
 
3252
3893
 
3253
3894
  class ExecutionOverview(BaseModel):
3895
+ """
3896
+
3897
+ """
3254
3898
  model_config = ConfigDict(
3255
3899
  populate_by_name=True,
3256
3900
  use_enum_values=True,
@@ -3262,6 +3906,9 @@ class ExecutionOverview(BaseModel):
3262
3906
 
3263
3907
 
3264
3908
  class DataObject(BaseModel):
3909
+ """
3910
+
3911
+ """
3265
3912
  model_config = ConfigDict(
3266
3913
  populate_by_name=True,
3267
3914
  use_enum_values=True,
@@ -3291,6 +3938,9 @@ class DataObject(BaseModel):
3291
3938
 
3292
3939
 
3293
3940
  class Assistant(BaseModel):
3941
+ """
3942
+
3943
+ """
3294
3944
  model_config = ConfigDict(
3295
3945
  populate_by_name=True,
3296
3946
  use_enum_values=True,
@@ -3325,6 +3975,9 @@ class Assistant(BaseModel):
3325
3975
 
3326
3976
 
3327
3977
  class AssistantExecution(BaseModel):
3978
+ """
3979
+
3980
+ """
3328
3981
  model_config = ConfigDict(
3329
3982
  populate_by_name=True,
3330
3983
  use_enum_values=True,
@@ -3357,6 +4010,9 @@ class AssistantExecution(BaseModel):
3357
4010
 
3358
4011
 
3359
4012
  class AssistantExecutionResponse(BaseModel):
4013
+ """
4014
+
4015
+ """
3360
4016
  model_config = ConfigDict(
3361
4017
  populate_by_name=True,
3362
4018
  use_enum_values=True,
@@ -3368,6 +4024,9 @@ class AssistantExecutionResponse(BaseModel):
3368
4024
 
3369
4025
 
3370
4026
  class AssistantResponsePipeline(BaseModel):
4027
+ """
4028
+
4029
+ """
3371
4030
  model_config = ConfigDict(
3372
4031
  populate_by_name=True,
3373
4032
  use_enum_values=True,
@@ -3395,10 +4054,16 @@ class BaseEvent(
3395
4054
  ]
3396
4055
  ]
3397
4056
  ):
4057
+ """
4058
+
4059
+ """
3398
4060
  pass
3399
4061
 
3400
4062
 
3401
4063
  class MessageContext(BaseModel):
4064
+ """
4065
+
4066
+ """
3402
4067
  model_config = ConfigDict(
3403
4068
  populate_by_name=True,
3404
4069
  use_enum_values=True,
@@ -3407,16 +4072,20 @@ class MessageContext(BaseModel):
3407
4072
  )
3408
4073
 
3409
4074
  active_features: Optional[FeatureSet] = Field(None, alias="activeFeatures")
4075
+ active_data: Optional[List[dict[str, Any]]] = Field(None, alias="activeData")
3410
4076
  content_object_id: Optional[str] = Field(None, alias="contentObjectId")
3411
4077
  store_ref: Optional[str] = Field(None, alias="storeRef")
3412
4078
  document_family_id: Optional[str] = Field(None, alias="documentFamilyId")
3413
4079
  selected_node_uuids: Optional[List[str]] = Field(None, alias="selectedNodeUuids")
3414
4080
  page: Optional[int] = None
3415
4081
  message_template: Optional[MessageTemplate] = Field(None, alias="messageTemplate")
3416
- message_feedback_response: Optional[MessageFeedbackResponse] = Field(None, alias="messageFeedbackResponse")
4082
+ message_feedback_response: Optional[MessageFeedbackResponse] = Field(None, alias="feedbackOption")
3417
4083
 
3418
4084
 
3419
4085
  class MessageEvent(BaseModel):
4086
+ """
4087
+
4088
+ """
3420
4089
  model_config = ConfigDict(
3421
4090
  populate_by_name=True,
3422
4091
  use_enum_values=True,
@@ -3427,6 +4096,9 @@ class MessageEvent(BaseModel):
3427
4096
 
3428
4097
 
3429
4098
  class ChannelEvent(BaseModel):
4099
+ """
4100
+
4101
+ """
3430
4102
  model_config = ConfigDict(
3431
4103
  populate_by_name=True,
3432
4104
  use_enum_values=True,
@@ -3439,6 +4111,9 @@ class ChannelEvent(BaseModel):
3439
4111
 
3440
4112
 
3441
4113
  class ExecutionEvent(BaseModel):
4114
+ """
4115
+
4116
+ """
3442
4117
  model_config = ConfigDict(
3443
4118
  populate_by_name=True,
3444
4119
  use_enum_values=True,
@@ -3471,6 +4146,9 @@ class ExecutionEvent(BaseModel):
3471
4146
 
3472
4147
 
3473
4148
  class PageTaxonomy(BaseModel):
4149
+ """
4150
+
4151
+ """
3474
4152
  model_config = ConfigDict(
3475
4153
  populate_by_name=True,
3476
4154
  use_enum_values=True,
@@ -3489,7 +4167,127 @@ class PageTaxonomy(BaseModel):
3489
4167
  empty: Optional[bool] = None
3490
4168
 
3491
4169
 
4170
+ class GuidanceTagResult(BaseModel):
4171
+ """
4172
+
4173
+ """
4174
+ value: Optional[str] = None
4175
+ line_uuid: Optional[str] = Field(None, alias="lineUuid")
4176
+
4177
+
4178
+ class UserSelection(BaseModel):
4179
+
4180
+ text: Optional[str] = None
4181
+ line_uuid: Optional[str] = Field(None, alias="lineUuid")
4182
+
4183
+
4184
+ class Guidance(BaseModel):
4185
+ """
4186
+
4187
+ """
4188
+ guidance_type: Optional[str] = Field(None, alias="guidanceType")
4189
+ taxonomy_ref: Optional[str] = Field(None, alias="taxonomyRef")
4190
+ document_name: Optional[str] = Field(None, alias="documentName")
4191
+ document_type: Optional[str] = Field(None, alias="documentType")
4192
+ sample_text: Optional[str] = Field(None, alias="sampleText")
4193
+ sample_result: Optional[Dict[str, List[GuidanceTagResult]]] = Field(None, alias="sampleResult")
4194
+ active: Optional[bool] = None
4195
+ applicable_tags: Optional[List[str]] = Field(None, alias="applicableTags")
4196
+ priority: Optional[int] = 1
4197
+ user_instructions: Optional[str] = Field(None, alias="userInstructions")
4198
+ user_instructions_properties: Optional[Dict[str, Any]] = Field(None, alias="userInstructionsProperties")
4199
+
4200
+ # users selected text, text and line_uuid
4201
+ user_selection: Optional[List[UserSelection]] = Field(None, alias="userSelection")
4202
+
4203
+ compiled_guidance: Optional[Dict[str, Any]] = Field(None, alias="compiledGuidance")
4204
+
4205
+
4206
+ class GuidanceSet(ExtensionPackProvided):
4207
+ """
4208
+
4209
+ """
4210
+ guidance: List[Guidance] = Field(None, description="The guidance in the set")
4211
+
4212
+
4213
+ class PageGuidanceSet(BaseModel):
4214
+ """
4215
+
4216
+ """
4217
+ model_config = ConfigDict(
4218
+ populate_by_name=True,
4219
+ use_enum_values=True,
4220
+ arbitrary_types_allowed=True,
4221
+ protected_namespaces=("model_config",),
4222
+ )
4223
+ total_pages: Optional[int] = Field(None, alias="totalPages")
4224
+ total_elements: Optional[int] = Field(None, alias="totalElements")
4225
+ size: Optional[int] = None
4226
+ content: Optional[List[GuidanceSet]] = None
4227
+ number: Optional[int] = None
4228
+
4229
+ number_of_elements: Optional[int] = Field(None, alias="numberOfElements")
4230
+ first: Optional[bool] = None
4231
+ last: Optional[bool] = None
4232
+ empty: Optional[bool] = None
4233
+
4234
+
4235
+ class TemplateType(Enum):
4236
+ """
4237
+
4238
+ """
4239
+ fstring = "FSTRING"
4240
+ mustache = "MUSTACHE"
4241
+
4242
+
4243
+ class Prompt(ExtensionPackProvided):
4244
+ """
4245
+
4246
+ """
4247
+ prompt_template: Optional[str] = Field(
4248
+ None, description="The prompt template", alias="promptTemplate"
4249
+ )
4250
+ options: Optional[List[Option]] = Field(
4251
+ None, description="Options for the prompt"
4252
+ )
4253
+ template_type: Optional[TemplateType] = Field(None, alias="templateType")
4254
+
4255
+ def render(self, properties):
4256
+ if self.template_type == "FSTRING":
4257
+ return self.prompt_template.format(**properties)
4258
+ elif self.template_type == "MUSTACHE":
4259
+ import chevron
4260
+ return chevron.render(self.prompt_template, properties)
4261
+ else:
4262
+ raise Exception(f"Unknown template type {self.template_type}")
4263
+
4264
+
4265
+ class PagePrompt(BaseModel):
4266
+ """
4267
+
4268
+ """
4269
+ model_config = ConfigDict(
4270
+ populate_by_name=True,
4271
+ use_enum_values=True,
4272
+ arbitrary_types_allowed=True,
4273
+ protected_namespaces=("model_config",),
4274
+ )
4275
+ total_pages: Optional[int] = Field(None, alias="totalPages")
4276
+ total_elements: Optional[int] = Field(None, alias="totalElements")
4277
+ size: Optional[int] = None
4278
+ content: Optional[List[Prompt]] = None
4279
+ number: Optional[int] = None
4280
+
4281
+ number_of_elements: Optional[int] = Field(None, alias="numberOfElements")
4282
+ first: Optional[bool] = None
4283
+ last: Optional[bool] = None
4284
+ empty: Optional[bool] = None
4285
+
4286
+
3492
4287
  class PageStore(BaseModel):
4288
+ """
4289
+
4290
+ """
3493
4291
  model_config = ConfigDict(
3494
4292
  populate_by_name=True,
3495
4293
  use_enum_values=True,
@@ -3509,6 +4307,9 @@ class PageStore(BaseModel):
3509
4307
 
3510
4308
 
3511
4309
  class PageDocumentFamily(BaseModel):
4310
+ """
4311
+
4312
+ """
3512
4313
  model_config = ConfigDict(
3513
4314
  populate_by_name=True,
3514
4315
  use_enum_values=True,
@@ -3528,6 +4329,9 @@ class PageDocumentFamily(BaseModel):
3528
4329
 
3529
4330
 
3530
4331
  class SearchContent(BaseModel):
4332
+ """
4333
+
4334
+ """
3531
4335
  model_config = ConfigDict(
3532
4336
  populate_by_name=True,
3533
4337
  use_enum_values=True,
@@ -3575,6 +4379,9 @@ class SearchContent(BaseModel):
3575
4379
 
3576
4380
 
3577
4381
  class StoreMetadata(BaseModel):
4382
+ """
4383
+
4384
+ """
3578
4385
  model_config = ConfigDict(
3579
4386
  populate_by_name=True,
3580
4387
  use_enum_values=True,
@@ -3610,6 +4417,9 @@ class StoreMetadata(BaseModel):
3610
4417
 
3611
4418
 
3612
4419
  class PlatformEvent(BaseModel):
4420
+ """
4421
+
4422
+ """
3613
4423
  model_config = ConfigDict(
3614
4424
  populate_by_name=True,
3615
4425
  use_enum_values=True,
@@ -3636,6 +4446,9 @@ class PlatformEvent(BaseModel):
3636
4446
 
3637
4447
 
3638
4448
  class PageDataObject(BaseModel):
4449
+ """
4450
+
4451
+ """
3639
4452
  model_config = ConfigDict(
3640
4453
  populate_by_name=True,
3641
4454
  use_enum_values=True,
@@ -3655,6 +4468,9 @@ class PageDataObject(BaseModel):
3655
4468
 
3656
4469
 
3657
4470
  class AuditEvent(BaseModel):
4471
+ """
4472
+
4473
+ """
3658
4474
  model_config = ConfigDict(
3659
4475
  populate_by_name=True,
3660
4476
  use_enum_values=True,
@@ -3681,6 +4497,9 @@ class AuditEvent(BaseModel):
3681
4497
 
3682
4498
 
3683
4499
  class PageAuditEvent(BaseModel):
4500
+ """
4501
+
4502
+ """
3684
4503
  model_config = ConfigDict(
3685
4504
  populate_by_name=True,
3686
4505
  use_enum_values=True,
@@ -3700,6 +4519,9 @@ class PageAuditEvent(BaseModel):
3700
4519
 
3701
4520
 
3702
4521
  class PageRuleSet(BaseModel):
4522
+ """
4523
+
4524
+ """
3703
4525
  model_config = ConfigDict(
3704
4526
  populate_by_name=True,
3705
4527
  use_enum_values=True,
@@ -3719,6 +4541,9 @@ class PageRuleSet(BaseModel):
3719
4541
 
3720
4542
 
3721
4543
  class PageProjectTemplate(BaseModel):
4544
+ """
4545
+
4546
+ """
3722
4547
  model_config = ConfigDict(
3723
4548
  populate_by_name=True,
3724
4549
  use_enum_values=True,
@@ -3738,6 +4563,9 @@ class PageProjectTemplate(BaseModel):
3738
4563
 
3739
4564
 
3740
4565
  class PagePipeline(BaseModel):
4566
+ """
4567
+
4568
+ """
3741
4569
  model_config = ConfigDict(
3742
4570
  populate_by_name=True,
3743
4571
  use_enum_values=True,
@@ -3757,6 +4585,9 @@ class PagePipeline(BaseModel):
3757
4585
 
3758
4586
 
3759
4587
  class PageModelRuntime(BaseModel):
4588
+ """
4589
+
4590
+ """
3760
4591
  model_config = ConfigDict(
3761
4592
  populate_by_name=True,
3762
4593
  use_enum_values=True,
@@ -3776,6 +4607,9 @@ class PageModelRuntime(BaseModel):
3776
4607
 
3777
4608
 
3778
4609
  class PageSlugBasedMetadata(BaseModel):
4610
+ """
4611
+
4612
+ """
3779
4613
  model_config = ConfigDict(
3780
4614
  populate_by_name=True,
3781
4615
  use_enum_values=True,
@@ -3812,6 +4646,9 @@ class PageSlugBasedMetadata(BaseModel):
3812
4646
 
3813
4647
 
3814
4648
  class PageExtensionPack(BaseModel):
4649
+ """
4650
+
4651
+ """
3815
4652
  model_config = ConfigDict(
3816
4653
  populate_by_name=True,
3817
4654
  use_enum_values=True,
@@ -3831,6 +4668,9 @@ class PageExtensionPack(BaseModel):
3831
4668
 
3832
4669
 
3833
4670
  class PagePlatformEvent(BaseModel):
4671
+ """
4672
+
4673
+ """
3834
4674
  model_config = ConfigDict(
3835
4675
  populate_by_name=True,
3836
4676
  use_enum_values=True,
@@ -3850,6 +4690,9 @@ class PagePlatformEvent(BaseModel):
3850
4690
 
3851
4691
 
3852
4692
  class PageDataException(BaseModel):
4693
+ """
4694
+
4695
+ """
3853
4696
  model_config = ConfigDict(
3854
4697
  populate_by_name=True,
3855
4698
  use_enum_values=True,
@@ -3869,6 +4712,9 @@ class PageDataException(BaseModel):
3869
4712
 
3870
4713
 
3871
4714
  class PageDataForm(BaseModel):
4715
+ """
4716
+
4717
+ """
3872
4718
  model_config = ConfigDict(
3873
4719
  populate_by_name=True,
3874
4720
  use_enum_values=True,
@@ -3888,6 +4734,9 @@ class PageDataForm(BaseModel):
3888
4734
 
3889
4735
 
3890
4736
  class PageDashboard(BaseModel):
4737
+ """
4738
+
4739
+ """
3891
4740
  model_config = ConfigDict(
3892
4741
  populate_by_name=True,
3893
4742
  use_enum_values=True,
@@ -3907,6 +4756,9 @@ class PageDashboard(BaseModel):
3907
4756
 
3908
4757
 
3909
4758
  class PageCredentialDefinition(BaseModel):
4759
+ """
4760
+
4761
+ """
3910
4762
  model_config = ConfigDict(
3911
4763
  populate_by_name=True,
3912
4764
  use_enum_values=True,
@@ -3926,6 +4778,9 @@ class PageCredentialDefinition(BaseModel):
3926
4778
 
3927
4779
 
3928
4780
  class PageAssistantDefinition(BaseModel):
4781
+ """
4782
+
4783
+ """
3929
4784
  model_config = ConfigDict(
3930
4785
  populate_by_name=True,
3931
4786
  use_enum_values=True,
@@ -3945,6 +4800,9 @@ class PageAssistantDefinition(BaseModel):
3945
4800
 
3946
4801
 
3947
4802
  class PageAction(BaseModel):
4803
+ """
4804
+
4805
+ """
3948
4806
  model_config = ConfigDict(
3949
4807
  populate_by_name=True,
3950
4808
  use_enum_values=True,
@@ -3964,6 +4822,9 @@ class PageAction(BaseModel):
3964
4822
 
3965
4823
 
3966
4824
  class DocumentContentMetadata(BaseModel):
4825
+ """
4826
+
4827
+ """
3967
4828
  model_config = ConfigDict(
3968
4829
  populate_by_name=True,
3969
4830
  use_enum_values=True,
@@ -3978,8 +4839,9 @@ class DocumentContentMetadata(BaseModel):
3978
4839
 
3979
4840
  class MessageTemplate(BaseModel):
3980
4841
  """
3981
- A template for a message on a channel
4842
+
3982
4843
  """
4844
+ name: Optional[str] = None
3983
4845
  label: Optional[str] = None
3984
4846
  description: Optional[str] = None
3985
4847
  content: Optional[str] = None
@@ -3992,6 +4854,9 @@ class MessageTemplate(BaseModel):
3992
4854
 
3993
4855
 
3994
4856
  class ModelContentMetadata(BaseModel):
4857
+ """
4858
+
4859
+ """
3995
4860
  model_config = ConfigDict(
3996
4861
  populate_by_name=True,
3997
4862
  use_enum_values=True,
@@ -4091,7 +4956,7 @@ class ModelContentMetadata(BaseModel):
4091
4956
 
4092
4957
  class Action(ExtensionPackProvided):
4093
4958
  """
4094
- The definition of an available action
4959
+
4095
4960
  """
4096
4961
 
4097
4962
  step: Optional[StepImplementation] = None
@@ -4099,6 +4964,9 @@ class Action(ExtensionPackProvided):
4099
4964
 
4100
4965
 
4101
4966
  class AssistantDefinition(ExtensionPackProvided):
4967
+ """
4968
+
4969
+ """
4102
4970
  template: Optional[bool] = None
4103
4971
  schedulable: Optional[bool] = Field(
4104
4972
  None, description="The assistant can be scheduled"
@@ -4148,7 +5016,7 @@ class AssistantDefinition(ExtensionPackProvided):
4148
5016
 
4149
5017
  class CredentialDefinition(ExtensionPackProvided):
4150
5018
  """
4151
- Defines a type of credential that can be created as part of a project
5019
+
4152
5020
  """
4153
5021
 
4154
5022
  credential_type: Optional[str] = Field(None, alias="credentialType")
@@ -4158,12 +5026,18 @@ class CredentialDefinition(ExtensionPackProvided):
4158
5026
 
4159
5027
 
4160
5028
  class Dashboard(ExtensionPackProvided):
5029
+ """
5030
+
5031
+ """
4161
5032
  widgets: Optional[List[DashboardWidget]] = None
4162
5033
  single_widget: Optional[DashboardWidget] = Field(None, alias="singleWidget")
4163
5034
  entry_points: Optional[List[str]] = Field(None, alias="entryPoints")
4164
5035
 
4165
5036
 
4166
5037
  class DataForm(ExtensionPackProvided):
5038
+ """
5039
+
5040
+ """
4167
5041
  entrypoints: Optional[List[str]] = None
4168
5042
  entrypoint: Optional[str] = None
4169
5043
  cards: Optional[List[Card]] = None
@@ -4171,6 +5045,9 @@ class DataForm(ExtensionPackProvided):
4171
5045
 
4172
5046
 
4173
5047
  class ProjectDataForm(BaseModel):
5048
+ """
5049
+
5050
+ """
4174
5051
  model_config = ConfigDict(
4175
5052
  populate_by_name=True,
4176
5053
  use_enum_values=True,
@@ -4188,7 +5065,7 @@ class ProjectDataForm(BaseModel):
4188
5065
 
4189
5066
  class ExtensionPack(ExtensionPackProvided):
4190
5067
  """
4191
- Extension packs provide new components to the platform
5068
+
4192
5069
  """
4193
5070
  name: Optional[str] = None
4194
5071
  description: Optional[str] = None
@@ -4204,7 +5081,7 @@ class ExtensionPack(ExtensionPackProvided):
4204
5081
 
4205
5082
  class ModelRuntime(ExtensionPackProvided):
4206
5083
  """
4207
- The definition of an available model runtime
5084
+
4208
5085
  """
4209
5086
 
4210
5087
  inference_action: Optional[str] = Field(
@@ -4238,12 +5115,15 @@ class ModelRuntime(ExtensionPackProvided):
4238
5115
 
4239
5116
 
4240
5117
  class Pipeline(ExtensionPackProvided):
5118
+ """
5119
+
5120
+ """
4241
5121
  metadata: Optional[PipelineImplementationMetadata] = None
4242
5122
 
4243
5123
 
4244
5124
  class ProjectTemplate(ExtensionPackProvided):
4245
5125
  """
4246
- A template for new project
5126
+
4247
5127
  """
4248
5128
 
4249
5129
  stores: Optional[List[ProjectStore]] = Field(
@@ -4265,6 +5145,10 @@ class ProjectTemplate(ExtensionPackProvided):
4265
5145
  None,
4266
5146
  description="The workspaces that will be created with the project template",
4267
5147
  )
5148
+ guidance: Optional[List[ProjectGuidance]] = Field(
5149
+ None,
5150
+ description="The guidance that will be created with the project template",
5151
+ )
4268
5152
  data_forms: Optional[List[ProjectDataForm]] = Field(
4269
5153
  None,
4270
5154
  alias="dataForms",
@@ -4295,17 +5179,17 @@ class ProjectTemplate(ExtensionPackProvided):
4295
5179
 
4296
5180
  class Store(ExtensionPackProvided):
4297
5181
  """
4298
- Provides the definition and metadata for a store
5182
+
4299
5183
  """
4300
5184
 
4301
5185
  metadata: Optional[ContentMetadata1] = None
4302
- store_type: Optional[StoreType1] = Field(
5186
+ store_type: Optional[StoreType] = Field(
4303
5187
  None, alias="storeType", description="The type of object the store will contain"
4304
5188
  )
4305
5189
  searchable: Optional[bool] = Field(
4306
5190
  None, description="Is the store indexed, and thus searchable"
4307
5191
  )
4308
- store_purpose: Optional[StorePurpose1] = Field(
5192
+ store_purpose: Optional[StorePurpose] = Field(
4309
5193
  None,
4310
5194
  alias="storePurpose",
4311
5195
  description="The purpose of the store (used by UI and assistants to understand how to interact with the store events)",
@@ -4336,7 +5220,7 @@ class Store(ExtensionPackProvided):
4336
5220
 
4337
5221
  class Taxonomy(ExtensionPackProvided):
4338
5222
  """
4339
- Provides the taxonomy hierarchy that is used for content and document classification and labeling
5223
+
4340
5224
  """
4341
5225
 
4342
5226
  type: Optional[str] = Field(None, description="The metadata object type")
@@ -4359,10 +5243,31 @@ class Taxonomy(ExtensionPackProvided):
4359
5243
  description="The total number of taxons in the taxonomy",
4360
5244
  )
4361
5245
 
5246
+ def update_paths(self):
5247
+ for taxon in self.taxons:
5248
+ taxon.update_path()
5249
+
5250
+ def build_guidance_tags(self, taxons=None, guidance_tags=None):
5251
+ if taxons is None:
5252
+ taxons = self.taxons
5253
+ if guidance_tags is None:
5254
+ guidance_tags = {}
5255
+ for taxon in taxons:
5256
+ new_tags = []
5257
+ if taxon.examples is not None:
5258
+ for example in taxon.examples:
5259
+ new_tags.append(example)
5260
+ guidance_tags[taxon.path] = new_tags
5261
+
5262
+ if taxon.children is not None and len(taxon.children) > 0:
5263
+ guidance_tags = self.build_guidance_tags(taxon.children, guidance_tags)
5264
+
5265
+ return guidance_tags
5266
+
4362
5267
 
4363
5268
  class RuleSet(ExtensionPackProvided):
4364
5269
  """
4365
- Defines a ruleset that can be applied to data objects and attributes
5270
+
4366
5271
  """
4367
5272
 
4368
5273
  ref: Optional[str] = Field(None, description="The reference to the metadata object")
@@ -4428,6 +5333,9 @@ class RuleSet(ExtensionPackProvided):
4428
5333
 
4429
5334
 
4430
5335
  class AssistantEvent(BaseModel):
5336
+ """
5337
+
5338
+ """
4431
5339
  model_config = ConfigDict(
4432
5340
  populate_by_name=True,
4433
5341
  use_enum_values=True,
@@ -4442,6 +5350,9 @@ class AssistantEvent(BaseModel):
4442
5350
 
4443
5351
 
4444
5352
  class ContentEvent(BaseModel):
5353
+ """
5354
+
5355
+ """
4445
5356
  model_config = ConfigDict(
4446
5357
  populate_by_name=True,
4447
5358
  use_enum_values=True,
@@ -4455,6 +5366,9 @@ class ContentEvent(BaseModel):
4455
5366
 
4456
5367
 
4457
5368
  class DataObjectEvent(BaseModel):
5369
+ """
5370
+
5371
+ """
4458
5372
  model_config = ConfigDict(
4459
5373
  populate_by_name=True,
4460
5374
  use_enum_values=True,
@@ -4466,6 +5380,9 @@ class DataObjectEvent(BaseModel):
4466
5380
 
4467
5381
 
4468
5382
  class DocumentFamilyEvent(BaseModel):
5383
+ """
5384
+
5385
+ """
4469
5386
  model_config = ConfigDict(
4470
5387
  populate_by_name=True,
4471
5388
  use_enum_values=True,
@@ -4477,6 +5394,9 @@ class DocumentFamilyEvent(BaseModel):
4477
5394
 
4478
5395
 
4479
5396
  class WorkspaceEvent(BaseModel):
5397
+ """
5398
+
5399
+ """
4480
5400
  model_config = ConfigDict(
4481
5401
  populate_by_name=True,
4482
5402
  use_enum_values=True,
@@ -4489,6 +5409,9 @@ class WorkspaceEvent(BaseModel):
4489
5409
 
4490
5410
 
4491
5411
  class ScheduledEvent(BaseModel):
5412
+ """
5413
+
5414
+ """
4492
5415
  model_config = ConfigDict(
4493
5416
  populate_by_name=True,
4494
5417
  use_enum_values=True,