mat3ra-esse 2024.12.19.post1__py3-none-any.whl → 2025.1.27.post0__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.
Potentially problematic release.
This version of mat3ra-esse might be problematic. Click here for more details.
- mat3ra/esse/data/examples.py +1 -1
- mat3ra/esse/data/properties.py +2 -2
- mat3ra/esse/data/schemas.py +1 -1
- mat3ra/esse/models/core/reference/__init__.py +1 -1
- mat3ra/esse/models/core/reference/modeling/__init__.py +1 -1
- mat3ra/esse/models/core/reference/modeling/exabyte.py +1 -1
- mat3ra/esse/models/element.py +4 -4
- mat3ra/esse/models/in_memory_entity/base.py +1 -34
- mat3ra/esse/models/in_memory_entity/defaultable.py +1 -34
- mat3ra/esse/models/in_memory_entity/has_consistency_check_has_metadata_named_defaultable.py +61 -0
- mat3ra/esse/models/in_memory_entity/named.py +1 -34
- mat3ra/esse/models/in_memory_entity/named_defaultable.py +1 -34
- mat3ra/esse/models/in_memory_entity/named_defaultable_has_metadata.py +1 -34
- mat3ra/esse/models/in_memory_entity/named_defaultable_runtime_items.py +0 -33
- mat3ra/esse/models/job/__init__.py +3 -617
- mat3ra/esse/models/job/base.py +1 -33
- mat3ra/esse/models/material/__init__.py +14 -14
- mat3ra/esse/models/material/consistency_check.py +40 -0
- mat3ra/esse/models/project.py +0 -33
- mat3ra/esse/models/properties_directory/derived_properties.py +6 -6
- mat3ra/esse/models/properties_directory/non_scalar/total_energy_contributions.py +26 -26
- mat3ra/esse/models/properties_directory/structural/molecular_pattern.py +4 -4
- mat3ra/esse/models/property/base/__init__.py +0 -32
- mat3ra/esse/models/property/meta/__init__.py +0 -32
- mat3ra/esse/models/property/raw/__init__.py +0 -32
- mat3ra/esse/models/software/application.py +1 -34
- mat3ra/esse/models/software/executable.py +0 -33
- mat3ra/esse/models/software/flavor.py +0 -33
- mat3ra/esse/models/software/template.py +0 -33
- mat3ra/esse/models/software_directory/ml/unit/execution/__init__.py +3 -488
- mat3ra/esse/models/software_directory/ml/unit/execution/evaluate/cross_validate.py +0 -92
- mat3ra/esse/models/software_directory/ml/unit/execution/initialize.py +0 -92
- mat3ra/esse/models/software_directory/ml/unit/execution/score.py +0 -92
- mat3ra/esse/models/software_directory/ml/unit/execution/train.py +0 -92
- mat3ra/esse/models/software_directory/ml/unit/processing/__init__.py +0 -52
- mat3ra/esse/models/software_directory/ml/unit/processing/data_transformation/__init__.py +0 -32
- mat3ra/esse/models/software_directory/ml/unit/processing/data_transformation/manipulation.py +0 -32
- mat3ra/esse/models/software_directory/ml/unit/processing/data_transformation/scale_and_reduce.py +0 -32
- mat3ra/esse/models/software_directory/ml/unit/processing/feature_selection/__init__.py +0 -32
- mat3ra/esse/models/software_directory/ml/unit/processing/feature_selection/filter_based.py +0 -32
- mat3ra/esse/models/software_directory/modeling/deepmd.py +1 -33
- mat3ra/esse/models/software_directory/modeling/nwchem.py +1 -33
- mat3ra/esse/models/software_directory/modeling/unit/execution.py +0 -92
- mat3ra/esse/models/software_directory/modeling/vasp.py +1 -33
- mat3ra/esse/models/software_directory/scripting/jupyter_lab.py +1 -33
- mat3ra/esse/models/software_directory/scripting/python.py +0 -32
- mat3ra/esse/models/software_directory/scripting/shell.py +1 -33
- mat3ra/esse/models/software_directory/scripting/unit/execution.py +0 -92
- mat3ra/esse/models/system/_material.py +1 -1
- mat3ra/esse/models/system/_parent_job.py +1 -1
- mat3ra/esse/models/system/_project.py +1 -1
- mat3ra/esse/models/system/consistency_check.py +1 -7
- mat3ra/esse/models/system/creator.py +1 -1
- mat3ra/esse/models/system/creator_account.py +1 -1
- mat3ra/esse/models/system/description.py +1 -1
- mat3ra/esse/models/system/entity_reference.py +1 -1
- mat3ra/esse/models/system/has_consistency_check.py +39 -0
- mat3ra/esse/models/system/in_set.py +1 -1
- mat3ra/esse/models/system/job_extended.py +1 -1
- mat3ra/esse/models/system/owner.py +1 -1
- mat3ra/esse/models/workflow/__init__.py +2 -596
- mat3ra/esse/models/workflow/base.py +0 -33
- mat3ra/esse/models/workflow/subworkflow/__init__.py +1 -284
- mat3ra/esse/models/workflow/subworkflow/unit.py +0 -212
- mat3ra/esse/models/workflow/unit/__init__.py +0 -252
- mat3ra/esse/models/workflow/unit/assertion.py +0 -32
- mat3ra/esse/models/workflow/unit/assignment.py +0 -32
- mat3ra/esse/models/workflow/unit/base.py +0 -32
- mat3ra/esse/models/workflow/unit/condition.py +0 -32
- mat3ra/esse/models/workflow/unit/execution.py +0 -92
- mat3ra/esse/models/workflow/unit/io/__init__.py +0 -32
- mat3ra/esse/models/workflow/unit/map.py +0 -32
- mat3ra/esse/models/workflow/unit/processing.py +0 -32
- mat3ra/esse/models/workflow/unit/reduce.py +0 -32
- mat3ra/esse/models/workflow/unit/subworkflow.py +0 -32
- {mat3ra_esse-2024.12.19.post1.dist-info → mat3ra_esse-2025.1.27.post0.dist-info}/METADATA +2 -2
- {mat3ra_esse-2024.12.19.post1.dist-info → mat3ra_esse-2025.1.27.post0.dist-info}/RECORD +80 -77
- {mat3ra_esse-2024.12.19.post1.dist-info → mat3ra_esse-2025.1.27.post0.dist-info}/WHEEL +1 -1
- {mat3ra_esse-2024.12.19.post1.dist-info → mat3ra_esse-2025.1.27.post0.dist-info}/LICENSE.md +0 -0
- {mat3ra_esse-2024.12.19.post1.dist-info → mat3ra_esse-2025.1.27.post0.dist-info}/top_level.txt +0 -0
|
@@ -4,43 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
from __future__ import annotations
|
|
6
6
|
|
|
7
|
-
from enum import Enum
|
|
8
7
|
from typing import Any, Dict, List, Optional, Union
|
|
9
8
|
|
|
10
9
|
from pydantic import BaseModel, Field
|
|
11
10
|
|
|
12
11
|
|
|
13
|
-
class Name(Enum):
|
|
14
|
-
default = "default"
|
|
15
|
-
atomsTooClose = "atomsTooClose"
|
|
16
|
-
atomsOverlap = "atomsOverlap"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
class Severity(Enum):
|
|
20
|
-
info = "info"
|
|
21
|
-
warning = "warning"
|
|
22
|
-
error = "error"
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
class ConsistencyCheck(BaseModel):
|
|
26
|
-
key: str
|
|
27
|
-
"""
|
|
28
|
-
Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'
|
|
29
|
-
"""
|
|
30
|
-
name: Name
|
|
31
|
-
"""
|
|
32
|
-
Name of the consistency check that is performed, which is listed in an enum.
|
|
33
|
-
"""
|
|
34
|
-
severity: Severity
|
|
35
|
-
"""
|
|
36
|
-
Severity level of the problem, which is used in UI to differentiate.
|
|
37
|
-
"""
|
|
38
|
-
message: str
|
|
39
|
-
"""
|
|
40
|
-
Message generated by the consistency check describing the problem.
|
|
41
|
-
"""
|
|
42
|
-
|
|
43
|
-
|
|
44
12
|
class BaseWorkflowSchema(BaseModel):
|
|
45
13
|
properties: Optional[List[Union[str, Dict[str, Any]]]] = None
|
|
46
14
|
"""
|
|
@@ -63,7 +31,6 @@ class BaseWorkflowSchema(BaseModel):
|
|
|
63
31
|
entity slug
|
|
64
32
|
"""
|
|
65
33
|
systemName: Optional[str] = None
|
|
66
|
-
consistencyChecks: Optional[List[ConsistencyCheck]] = None
|
|
67
34
|
schemaVersion: Optional[str] = "2022.8.16"
|
|
68
35
|
"""
|
|
69
36
|
entity's schema version. Used to distinct between different schemas.
|
|
@@ -127,37 +127,6 @@ class Status(Enum):
|
|
|
127
127
|
finished = "finished"
|
|
128
128
|
|
|
129
129
|
|
|
130
|
-
class Name(Enum):
|
|
131
|
-
default = "default"
|
|
132
|
-
atomsTooClose = "atomsTooClose"
|
|
133
|
-
atomsOverlap = "atomsOverlap"
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
class Severity(Enum):
|
|
137
|
-
info = "info"
|
|
138
|
-
warning = "warning"
|
|
139
|
-
error = "error"
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
class ConsistencyCheck(BaseModel):
|
|
143
|
-
key: str
|
|
144
|
-
"""
|
|
145
|
-
Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'
|
|
146
|
-
"""
|
|
147
|
-
name: Name
|
|
148
|
-
"""
|
|
149
|
-
Name of the consistency check that is performed, which is listed in an enum.
|
|
150
|
-
"""
|
|
151
|
-
severity: Severity
|
|
152
|
-
"""
|
|
153
|
-
Severity level of the problem, which is used in UI to differentiate.
|
|
154
|
-
"""
|
|
155
|
-
message: str
|
|
156
|
-
"""
|
|
157
|
-
Message generated by the consistency check describing the problem.
|
|
158
|
-
"""
|
|
159
|
-
|
|
160
|
-
|
|
161
130
|
class NameResultSchema(BaseModel):
|
|
162
131
|
name: str
|
|
163
132
|
"""
|
|
@@ -223,7 +192,6 @@ class DataIOUnitSchema(BaseModel):
|
|
|
223
192
|
entity slug
|
|
224
193
|
"""
|
|
225
194
|
systemName: Optional[str] = None
|
|
226
|
-
consistencyChecks: Optional[List[ConsistencyCheck]] = None
|
|
227
195
|
schemaVersion: Optional[str] = "2022.8.16"
|
|
228
196
|
"""
|
|
229
197
|
entity's schema version. Used to distinct between different schemas.
|
|
@@ -270,25 +238,6 @@ class InputItem(BaseModel):
|
|
|
270
238
|
"""
|
|
271
239
|
|
|
272
240
|
|
|
273
|
-
class ConsistencyCheck103(BaseModel):
|
|
274
|
-
key: str
|
|
275
|
-
"""
|
|
276
|
-
Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'
|
|
277
|
-
"""
|
|
278
|
-
name: Name
|
|
279
|
-
"""
|
|
280
|
-
Name of the consistency check that is performed, which is listed in an enum.
|
|
281
|
-
"""
|
|
282
|
-
severity: Severity
|
|
283
|
-
"""
|
|
284
|
-
Severity level of the problem, which is used in UI to differentiate.
|
|
285
|
-
"""
|
|
286
|
-
message: str
|
|
287
|
-
"""
|
|
288
|
-
Message generated by the consistency check describing the problem.
|
|
289
|
-
"""
|
|
290
|
-
|
|
291
|
-
|
|
292
241
|
class ReduceUnitSchema(BaseModel):
|
|
293
242
|
model_config = ConfigDict(
|
|
294
243
|
extra="allow",
|
|
@@ -340,7 +289,6 @@ class ReduceUnitSchema(BaseModel):
|
|
|
340
289
|
entity slug
|
|
341
290
|
"""
|
|
342
291
|
systemName: Optional[str] = None
|
|
343
|
-
consistencyChecks: Optional[List[ConsistencyCheck103]] = None
|
|
344
292
|
schemaVersion: Optional[str] = "2022.8.16"
|
|
345
293
|
"""
|
|
346
294
|
entity's schema version. Used to distinct between different schemas.
|
|
@@ -387,25 +335,6 @@ class WorkflowUnitInputSchema(BaseModel):
|
|
|
387
335
|
"""
|
|
388
336
|
|
|
389
337
|
|
|
390
|
-
class ConsistencyCheck104(BaseModel):
|
|
391
|
-
key: str
|
|
392
|
-
"""
|
|
393
|
-
Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'
|
|
394
|
-
"""
|
|
395
|
-
name: Name
|
|
396
|
-
"""
|
|
397
|
-
Name of the consistency check that is performed, which is listed in an enum.
|
|
398
|
-
"""
|
|
399
|
-
severity: Severity
|
|
400
|
-
"""
|
|
401
|
-
Severity level of the problem, which is used in UI to differentiate.
|
|
402
|
-
"""
|
|
403
|
-
message: str
|
|
404
|
-
"""
|
|
405
|
-
Message generated by the consistency check describing the problem.
|
|
406
|
-
"""
|
|
407
|
-
|
|
408
|
-
|
|
409
338
|
class ConditionUnitSchema(BaseModel):
|
|
410
339
|
model_config = ConfigDict(
|
|
411
340
|
extra="allow",
|
|
@@ -473,7 +402,6 @@ class ConditionUnitSchema(BaseModel):
|
|
|
473
402
|
entity slug
|
|
474
403
|
"""
|
|
475
404
|
systemName: Optional[str] = None
|
|
476
|
-
consistencyChecks: Optional[List[ConsistencyCheck104]] = None
|
|
477
405
|
schemaVersion: Optional[str] = "2022.8.16"
|
|
478
406
|
"""
|
|
479
407
|
entity's schema version. Used to distinct between different schemas.
|
|
@@ -509,25 +437,6 @@ class Type82(Enum):
|
|
|
509
437
|
assertion = "assertion"
|
|
510
438
|
|
|
511
439
|
|
|
512
|
-
class ConsistencyCheck105(BaseModel):
|
|
513
|
-
key: str
|
|
514
|
-
"""
|
|
515
|
-
Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'
|
|
516
|
-
"""
|
|
517
|
-
name: Name
|
|
518
|
-
"""
|
|
519
|
-
Name of the consistency check that is performed, which is listed in an enum.
|
|
520
|
-
"""
|
|
521
|
-
severity: Severity
|
|
522
|
-
"""
|
|
523
|
-
Severity level of the problem, which is used in UI to differentiate.
|
|
524
|
-
"""
|
|
525
|
-
message: str
|
|
526
|
-
"""
|
|
527
|
-
Message generated by the consistency check describing the problem.
|
|
528
|
-
"""
|
|
529
|
-
|
|
530
|
-
|
|
531
440
|
class AssertionUnitSchema(BaseModel):
|
|
532
441
|
model_config = ConfigDict(
|
|
533
442
|
extra="allow",
|
|
@@ -579,7 +488,6 @@ class AssertionUnitSchema(BaseModel):
|
|
|
579
488
|
entity slug
|
|
580
489
|
"""
|
|
581
490
|
systemName: Optional[str] = None
|
|
582
|
-
consistencyChecks: Optional[List[ConsistencyCheck105]] = None
|
|
583
491
|
schemaVersion: Optional[str] = "2022.8.16"
|
|
584
492
|
"""
|
|
585
493
|
entity's schema version. Used to distinct between different schemas.
|
|
@@ -615,25 +523,6 @@ class Type83(Enum):
|
|
|
615
523
|
execution = "execution"
|
|
616
524
|
|
|
617
525
|
|
|
618
|
-
class ConsistencyCheck106(BaseModel):
|
|
619
|
-
key: str
|
|
620
|
-
"""
|
|
621
|
-
Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'
|
|
622
|
-
"""
|
|
623
|
-
name: Name
|
|
624
|
-
"""
|
|
625
|
-
Name of the consistency check that is performed, which is listed in an enum.
|
|
626
|
-
"""
|
|
627
|
-
severity: Severity
|
|
628
|
-
"""
|
|
629
|
-
Severity level of the problem, which is used in UI to differentiate.
|
|
630
|
-
"""
|
|
631
|
-
message: str
|
|
632
|
-
"""
|
|
633
|
-
Message generated by the consistency check describing the problem.
|
|
634
|
-
"""
|
|
635
|
-
|
|
636
|
-
|
|
637
526
|
class ApplicationSchemaBase(BaseModel):
|
|
638
527
|
model_config = ConfigDict(
|
|
639
528
|
extra="allow",
|
|
@@ -671,7 +560,6 @@ class ApplicationSchemaBase(BaseModel):
|
|
|
671
560
|
entity slug
|
|
672
561
|
"""
|
|
673
562
|
systemName: Optional[str] = None
|
|
674
|
-
consistencyChecks: Optional[List[ConsistencyCheck106]] = None
|
|
675
563
|
schemaVersion: Optional[str] = "2022.8.16"
|
|
676
564
|
"""
|
|
677
565
|
entity's schema version. Used to distinct between different schemas.
|
|
@@ -686,25 +574,6 @@ class ApplicationSchemaBase(BaseModel):
|
|
|
686
574
|
"""
|
|
687
575
|
|
|
688
576
|
|
|
689
|
-
class ConsistencyCheck107(BaseModel):
|
|
690
|
-
key: str
|
|
691
|
-
"""
|
|
692
|
-
Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'
|
|
693
|
-
"""
|
|
694
|
-
name: Name
|
|
695
|
-
"""
|
|
696
|
-
Name of the consistency check that is performed, which is listed in an enum.
|
|
697
|
-
"""
|
|
698
|
-
severity: Severity
|
|
699
|
-
"""
|
|
700
|
-
Severity level of the problem, which is used in UI to differentiate.
|
|
701
|
-
"""
|
|
702
|
-
message: str
|
|
703
|
-
"""
|
|
704
|
-
Message generated by the consistency check describing the problem.
|
|
705
|
-
"""
|
|
706
|
-
|
|
707
|
-
|
|
708
577
|
class ExecutableSchema(BaseModel):
|
|
709
578
|
name: str
|
|
710
579
|
"""
|
|
@@ -727,7 +596,6 @@ class ExecutableSchema(BaseModel):
|
|
|
727
596
|
entity slug
|
|
728
597
|
"""
|
|
729
598
|
systemName: Optional[str] = None
|
|
730
|
-
consistencyChecks: Optional[List[ConsistencyCheck107]] = None
|
|
731
599
|
schemaVersion: Optional[str] = "2022.8.16"
|
|
732
600
|
"""
|
|
733
601
|
entity's schema version. Used to distinct between different schemas.
|
|
@@ -766,25 +634,6 @@ class ExecutionUnitInputIdItemSchemaForPhysicsBasedSimulationEngines(BaseModel):
|
|
|
766
634
|
"""
|
|
767
635
|
|
|
768
636
|
|
|
769
|
-
class ConsistencyCheck108(BaseModel):
|
|
770
|
-
key: str
|
|
771
|
-
"""
|
|
772
|
-
Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'
|
|
773
|
-
"""
|
|
774
|
-
name: Name
|
|
775
|
-
"""
|
|
776
|
-
Name of the consistency check that is performed, which is listed in an enum.
|
|
777
|
-
"""
|
|
778
|
-
severity: Severity
|
|
779
|
-
"""
|
|
780
|
-
Severity level of the problem, which is used in UI to differentiate.
|
|
781
|
-
"""
|
|
782
|
-
message: str
|
|
783
|
-
"""
|
|
784
|
-
Message generated by the consistency check describing the problem.
|
|
785
|
-
"""
|
|
786
|
-
|
|
787
|
-
|
|
788
637
|
class FlavorSchema(BaseModel):
|
|
789
638
|
executableId: Optional[str] = None
|
|
790
639
|
"""
|
|
@@ -810,7 +659,6 @@ class FlavorSchema(BaseModel):
|
|
|
810
659
|
entity slug
|
|
811
660
|
"""
|
|
812
661
|
systemName: Optional[str] = None
|
|
813
|
-
consistencyChecks: Optional[List[ConsistencyCheck108]] = None
|
|
814
662
|
schemaVersion: Optional[str] = "2022.8.16"
|
|
815
663
|
"""
|
|
816
664
|
entity's schema version. Used to distinct between different schemas.
|
|
@@ -841,25 +689,6 @@ class FlavorSchema(BaseModel):
|
|
|
841
689
|
"""
|
|
842
690
|
|
|
843
691
|
|
|
844
|
-
class ConsistencyCheck109(BaseModel):
|
|
845
|
-
key: str
|
|
846
|
-
"""
|
|
847
|
-
Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'
|
|
848
|
-
"""
|
|
849
|
-
name: Name
|
|
850
|
-
"""
|
|
851
|
-
Name of the consistency check that is performed, which is listed in an enum.
|
|
852
|
-
"""
|
|
853
|
-
severity: Severity
|
|
854
|
-
"""
|
|
855
|
-
Severity level of the problem, which is used in UI to differentiate.
|
|
856
|
-
"""
|
|
857
|
-
message: str
|
|
858
|
-
"""
|
|
859
|
-
Message generated by the consistency check describing the problem.
|
|
860
|
-
"""
|
|
861
|
-
|
|
862
|
-
|
|
863
692
|
class ExecutionUnitSchemaBase(BaseModel):
|
|
864
693
|
model_config = ConfigDict(
|
|
865
694
|
extra="allow",
|
|
@@ -910,7 +739,6 @@ class ExecutionUnitSchemaBase(BaseModel):
|
|
|
910
739
|
entity slug
|
|
911
740
|
"""
|
|
912
741
|
systemName: Optional[str] = None
|
|
913
|
-
consistencyChecks: Optional[List[ConsistencyCheck109]] = None
|
|
914
742
|
schemaVersion: Optional[str] = "2022.8.16"
|
|
915
743
|
"""
|
|
916
744
|
entity's schema version. Used to distinct between different schemas.
|
|
@@ -946,25 +774,6 @@ class Type84(Enum):
|
|
|
946
774
|
assignment = "assignment"
|
|
947
775
|
|
|
948
776
|
|
|
949
|
-
class ConsistencyCheck110(BaseModel):
|
|
950
|
-
key: str
|
|
951
|
-
"""
|
|
952
|
-
Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'
|
|
953
|
-
"""
|
|
954
|
-
name: Name
|
|
955
|
-
"""
|
|
956
|
-
Name of the consistency check that is performed, which is listed in an enum.
|
|
957
|
-
"""
|
|
958
|
-
severity: Severity
|
|
959
|
-
"""
|
|
960
|
-
Severity level of the problem, which is used in UI to differentiate.
|
|
961
|
-
"""
|
|
962
|
-
message: str
|
|
963
|
-
"""
|
|
964
|
-
Message generated by the consistency check describing the problem.
|
|
965
|
-
"""
|
|
966
|
-
|
|
967
|
-
|
|
968
777
|
class AssignmentUnitSchema(BaseModel):
|
|
969
778
|
model_config = ConfigDict(
|
|
970
779
|
extra="allow",
|
|
@@ -1020,7 +829,6 @@ class AssignmentUnitSchema(BaseModel):
|
|
|
1020
829
|
entity slug
|
|
1021
830
|
"""
|
|
1022
831
|
systemName: Optional[str] = None
|
|
1023
|
-
consistencyChecks: Optional[List[ConsistencyCheck110]] = None
|
|
1024
832
|
schemaVersion: Optional[str] = "2022.8.16"
|
|
1025
833
|
"""
|
|
1026
834
|
entity's schema version. Used to distinct between different schemas.
|
|
@@ -1057,25 +865,6 @@ class Type85(Enum):
|
|
|
1057
865
|
processing = "processing"
|
|
1058
866
|
|
|
1059
867
|
|
|
1060
|
-
class ConsistencyCheck111(BaseModel):
|
|
1061
|
-
key: str
|
|
1062
|
-
"""
|
|
1063
|
-
Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'
|
|
1064
|
-
"""
|
|
1065
|
-
name: Name
|
|
1066
|
-
"""
|
|
1067
|
-
Name of the consistency check that is performed, which is listed in an enum.
|
|
1068
|
-
"""
|
|
1069
|
-
severity: Severity
|
|
1070
|
-
"""
|
|
1071
|
-
Severity level of the problem, which is used in UI to differentiate.
|
|
1072
|
-
"""
|
|
1073
|
-
message: str
|
|
1074
|
-
"""
|
|
1075
|
-
Message generated by the consistency check describing the problem.
|
|
1076
|
-
"""
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
868
|
class ProcessingUnitSchema(BaseModel):
|
|
1080
869
|
model_config = ConfigDict(
|
|
1081
870
|
extra="allow",
|
|
@@ -1131,7 +920,6 @@ class ProcessingUnitSchema(BaseModel):
|
|
|
1131
920
|
entity slug
|
|
1132
921
|
"""
|
|
1133
922
|
systemName: Optional[str] = None
|
|
1134
|
-
consistencyChecks: Optional[List[ConsistencyCheck111]] = None
|
|
1135
923
|
schemaVersion: Optional[str] = "2022.8.16"
|
|
1136
924
|
"""
|
|
1137
925
|
entity's schema version. Used to distinct between different schemas.
|
|
@@ -1221,77 +1009,6 @@ class BaseModel1(BaseModel):
|
|
|
1221
1009
|
method: BaseMethod = Field(..., title="base method")
|
|
1222
1010
|
|
|
1223
1011
|
|
|
1224
|
-
class ConsistencyCheck112(BaseModel):
|
|
1225
|
-
key: str
|
|
1226
|
-
"""
|
|
1227
|
-
Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'
|
|
1228
|
-
"""
|
|
1229
|
-
name: Name
|
|
1230
|
-
"""
|
|
1231
|
-
Name of the consistency check that is performed, which is listed in an enum.
|
|
1232
|
-
"""
|
|
1233
|
-
severity: Severity
|
|
1234
|
-
"""
|
|
1235
|
-
Severity level of the problem, which is used in UI to differentiate.
|
|
1236
|
-
"""
|
|
1237
|
-
message: str
|
|
1238
|
-
"""
|
|
1239
|
-
Message generated by the consistency check describing the problem.
|
|
1240
|
-
"""
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
class ApplicationSchemaBase15(BaseModel):
|
|
1244
|
-
model_config = ConfigDict(
|
|
1245
|
-
extra="allow",
|
|
1246
|
-
)
|
|
1247
|
-
shortName: Optional[str] = None
|
|
1248
|
-
"""
|
|
1249
|
-
The short name of the application. e.g. qe
|
|
1250
|
-
"""
|
|
1251
|
-
summary: Optional[str] = None
|
|
1252
|
-
"""
|
|
1253
|
-
Application's short description.
|
|
1254
|
-
"""
|
|
1255
|
-
version: Optional[str] = None
|
|
1256
|
-
"""
|
|
1257
|
-
Application version. e.g. 5.3.5
|
|
1258
|
-
"""
|
|
1259
|
-
build: Optional[str] = None
|
|
1260
|
-
"""
|
|
1261
|
-
Application build. e.g. VTST
|
|
1262
|
-
"""
|
|
1263
|
-
hasAdvancedComputeOptions: Optional[bool] = None
|
|
1264
|
-
"""
|
|
1265
|
-
Whether advanced compute options are present
|
|
1266
|
-
"""
|
|
1267
|
-
isLicensed: Optional[bool] = None
|
|
1268
|
-
"""
|
|
1269
|
-
Whether licensing is present
|
|
1270
|
-
"""
|
|
1271
|
-
field_id: Optional[str] = Field(None, alias="_id")
|
|
1272
|
-
"""
|
|
1273
|
-
entity identity
|
|
1274
|
-
"""
|
|
1275
|
-
slug: Optional[str] = None
|
|
1276
|
-
"""
|
|
1277
|
-
entity slug
|
|
1278
|
-
"""
|
|
1279
|
-
systemName: Optional[str] = None
|
|
1280
|
-
consistencyChecks: Optional[List[ConsistencyCheck112]] = None
|
|
1281
|
-
schemaVersion: Optional[str] = "2022.8.16"
|
|
1282
|
-
"""
|
|
1283
|
-
entity's schema version. Used to distinct between different schemas.
|
|
1284
|
-
"""
|
|
1285
|
-
name: Optional[str] = None
|
|
1286
|
-
"""
|
|
1287
|
-
entity name
|
|
1288
|
-
"""
|
|
1289
|
-
isDefault: Optional[bool] = False
|
|
1290
|
-
"""
|
|
1291
|
-
Identifies that entity is defaultable
|
|
1292
|
-
"""
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
1012
|
class Queue(Enum):
|
|
1296
1013
|
D = "D"
|
|
1297
1014
|
OR = "OR"
|
|
@@ -1449,7 +1166,7 @@ class Subworkflow(BaseModel):
|
|
|
1449
1166
|
Contains the Units of the subworkflow
|
|
1450
1167
|
"""
|
|
1451
1168
|
model: BaseModel1 = Field(..., title="base model")
|
|
1452
|
-
application:
|
|
1169
|
+
application: ApplicationSchemaBase = Field(..., title="application schema (base)")
|
|
1453
1170
|
isDraft: Optional[bool] = False
|
|
1454
1171
|
"""
|
|
1455
1172
|
Defines whether to store the results/properties extracted in this unit to properties collection
|