UncountablePythonSDK 0.0.39__py3-none-any.whl → 0.0.41__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 UncountablePythonSDK might be problematic. Click here for more details.

Files changed (136) hide show
  1. {UncountablePythonSDK-0.0.39.dist-info → UncountablePythonSDK-0.0.41.dist-info}/METADATA +1 -1
  2. UncountablePythonSDK-0.0.41.dist-info/RECORD +223 -0
  3. {UncountablePythonSDK-0.0.39.dist-info → UncountablePythonSDK-0.0.41.dist-info}/WHEEL +1 -1
  4. pkgs/argument_parser/argument_parser.py +1 -1
  5. pkgs/serialization/yaml.py +54 -0
  6. pkgs/type_spec/config.py +1 -13
  7. pkgs/type_spec/emit_open_api.py +3 -3
  8. pkgs/type_spec/emit_python.py +40 -7
  9. pkgs/type_spec/load_types.py +2 -1
  10. pkgs/type_spec/type_info/emit_type_info.py +1 -1
  11. pkgs/type_spec/value_spec/__main__.py +1 -1
  12. uncountable/integration/cron.py +2 -0
  13. uncountable/integration/entrypoint.py +5 -6
  14. uncountable/integration/job.py +1 -1
  15. uncountable/types/__init__.py +29 -29
  16. uncountable/types/api/batch/execute_batch.py +1 -1
  17. uncountable/types/api/batch/execute_batch_load_async.py +2 -2
  18. uncountable/types/api/chemical/convert_chemical_formats.py +1 -1
  19. uncountable/types/api/entity/create_entities.py +3 -3
  20. uncountable/types/api/entity/create_entity.py +3 -3
  21. uncountable/types/api/entity/get_entities_data.py +3 -3
  22. uncountable/types/api/entity/list_entities.py +2 -2
  23. uncountable/types/api/entity/lock_entity.py +3 -3
  24. uncountable/types/api/entity/resolve_entity_ids.py +2 -2
  25. uncountable/types/api/entity/set_values.py +3 -3
  26. uncountable/types/api/entity/transition_entity_phase.py +3 -3
  27. uncountable/types/api/entity/unlock_entity.py +3 -3
  28. uncountable/types/api/equipment/associate_equipment_input.py +3 -3
  29. uncountable/types/api/field_options/upsert_field_options.py +1 -1
  30. uncountable/types/api/id_source/list_id_source.py +2 -2
  31. uncountable/types/api/id_source/match_id_source.py +2 -2
  32. uncountable/types/api/input_groups/get_input_group_names.py +1 -1
  33. uncountable/types/api/inputs/create_inputs.py +3 -3
  34. uncountable/types/api/inputs/get_input_data.py +2 -2
  35. uncountable/types/api/inputs/get_input_names.py +1 -1
  36. uncountable/types/api/inputs/get_inputs_data.py +2 -2
  37. uncountable/types/api/inputs/set_input_attribute_values.py +2 -2
  38. uncountable/types/api/inputs/set_input_category.py +2 -2
  39. uncountable/types/api/inputs/set_input_subcategories.py +3 -3
  40. uncountable/types/api/inputs/set_intermediate_type.py +1 -1
  41. uncountable/types/api/material_families/update_entity_material_families.py +5 -5
  42. uncountable/types/api/outputs/get_output_data.py +2 -2
  43. uncountable/types/api/outputs/get_output_names.py +1 -1
  44. uncountable/types/api/outputs/resolve_output_conditions.py +1 -1
  45. uncountable/types/api/permissions/set_core_permissions.py +3 -3
  46. uncountable/types/api/project/get_projects.py +2 -2
  47. uncountable/types/api/project/get_projects_data.py +4 -4
  48. uncountable/types/api/recipe_links/create_recipe_link.py +3 -3
  49. uncountable/types/api/recipe_links/remove_recipe_link.py +3 -3
  50. uncountable/types/api/recipe_metadata/get_recipe_metadata_data.py +1 -1
  51. uncountable/types/api/recipes/add_recipe_to_project.py +1 -1
  52. uncountable/types/api/recipes/archive_recipes.py +1 -1
  53. uncountable/types/api/recipes/associate_recipe_as_input.py +2 -2
  54. uncountable/types/api/recipes/associate_recipe_as_lot.py +2 -2
  55. uncountable/types/api/recipes/create_recipe.py +4 -4
  56. uncountable/types/api/recipes/create_recipes.py +2 -2
  57. uncountable/types/api/recipes/disassociate_recipe_as_input.py +2 -2
  58. uncountable/types/api/recipes/edit_recipe_inputs.py +3 -3
  59. uncountable/types/api/recipes/get_curve.py +2 -2
  60. uncountable/types/api/recipes/get_recipe_calculations.py +2 -2
  61. uncountable/types/api/recipes/get_recipe_links.py +2 -2
  62. uncountable/types/api/recipes/get_recipe_names.py +1 -1
  63. uncountable/types/api/recipes/get_recipe_output_metadata.py +2 -2
  64. uncountable/types/api/recipes/get_recipes_data.py +7 -7
  65. uncountable/types/api/recipes/lock_recipes.py +1 -1
  66. uncountable/types/api/recipes/remove_recipe_from_project.py +1 -1
  67. uncountable/types/api/recipes/set_recipe_inputs.py +1 -1
  68. uncountable/types/api/recipes/set_recipe_metadata.py +2 -2
  69. uncountable/types/api/recipes/set_recipe_output_annotations.py +2 -2
  70. uncountable/types/api/recipes/set_recipe_outputs.py +3 -3
  71. uncountable/types/api/recipes/set_recipe_tags.py +2 -2
  72. uncountable/types/api/recipes/unarchive_recipes.py +1 -1
  73. uncountable/types/api/recipes/unlock_recipes.py +1 -1
  74. uncountable/types/api/triggers/run_trigger.py +2 -2
  75. uncountable/types/async_batch.py +5 -53
  76. uncountable/types/async_batch_processor.py +6 -6
  77. uncountable/types/async_batch_t.py +59 -0
  78. uncountable/types/base.py +4 -78
  79. uncountable/types/base_t.py +85 -0
  80. uncountable/types/calculations.py +2 -17
  81. uncountable/types/calculations_t.py +23 -0
  82. uncountable/types/chemical_structure.py +2 -21
  83. uncountable/types/chemical_structure_t.py +27 -0
  84. uncountable/types/client_base.py +12 -12
  85. uncountable/types/curves.py +4 -41
  86. uncountable/types/curves_t.py +47 -0
  87. uncountable/types/entity.py +3 -268
  88. uncountable/types/entity_t.py +274 -0
  89. uncountable/types/experiment_groups.py +2 -17
  90. uncountable/types/experiment_groups_t.py +23 -0
  91. uncountable/types/field_values.py +5 -59
  92. uncountable/types/field_values_t.py +65 -0
  93. uncountable/types/fields.py +2 -18
  94. uncountable/types/fields_t.py +24 -0
  95. uncountable/types/id_source.py +6 -43
  96. uncountable/types/id_source_t.py +49 -0
  97. uncountable/types/identifier.py +5 -48
  98. uncountable/types/identifier_t.py +54 -0
  99. uncountable/types/input_attributes.py +2 -23
  100. uncountable/types/input_attributes_t.py +29 -0
  101. uncountable/types/inputs.py +4 -56
  102. uncountable/types/inputs_t.py +62 -0
  103. uncountable/types/outputs.py +2 -20
  104. uncountable/types/outputs_t.py +26 -0
  105. uncountable/types/permissions.py +2 -40
  106. uncountable/types/permissions_t.py +46 -0
  107. uncountable/types/phases.py +2 -17
  108. uncountable/types/phases_t.py +23 -0
  109. uncountable/types/post_base.py +2 -24
  110. uncountable/types/post_base_t.py +30 -0
  111. uncountable/types/recipe_identifiers.py +6 -56
  112. uncountable/types/recipe_identifiers_t.py +62 -0
  113. uncountable/types/recipe_inputs.py +3 -24
  114. uncountable/types/recipe_inputs_t.py +30 -0
  115. uncountable/types/recipe_links.py +3 -44
  116. uncountable/types/recipe_links_t.py +50 -0
  117. uncountable/types/recipe_metadata.py +4 -46
  118. uncountable/types/recipe_metadata_t.py +52 -0
  119. uncountable/types/recipe_output_metadata.py +2 -18
  120. uncountable/types/recipe_output_metadata_t.py +24 -0
  121. uncountable/types/recipe_tags.py +2 -17
  122. uncountable/types/recipe_tags_t.py +23 -0
  123. uncountable/types/recipe_workflow_steps.py +8 -82
  124. uncountable/types/recipe_workflow_steps_t.py +88 -0
  125. uncountable/types/recipes.py +2 -15
  126. uncountable/types/recipes_t.py +21 -0
  127. uncountable/types/response.py +2 -19
  128. uncountable/types/response_t.py +25 -0
  129. uncountable/types/units.py +2 -17
  130. uncountable/types/units_t.py +23 -0
  131. uncountable/types/users.py +2 -18
  132. uncountable/types/users_t.py +24 -0
  133. uncountable/types/workflows.py +3 -26
  134. uncountable/types/workflows_t.py +32 -0
  135. UncountablePythonSDK-0.0.39.dist-info/RECORD +0 -193
  136. {UncountablePythonSDK-0.0.39.dist-info → UncountablePythonSDK-0.0.41.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,274 @@
1
+ # DO NOT MODIFY -- This file is generated by type_spec
2
+ # flake8: noqa: F821
3
+ # ruff: noqa: E402 Q003
4
+ # fmt: off
5
+ # isort: skip_file
6
+ from __future__ import annotations
7
+ import typing # noqa: F401
8
+ import datetime # noqa: F401
9
+ from decimal import Decimal # noqa: F401
10
+ from pkgs.strenum_compat import StrEnum
11
+ from dataclasses import dataclass
12
+ from pkgs.serialization import serial_string_enum
13
+ from . import base_t
14
+
15
+ __all__: list[str] = [
16
+ "Entity",
17
+ "EntityType",
18
+ ]
19
+
20
+
21
+ # DO NOT MODIFY -- This file is generated by type_spec
22
+ @serial_string_enum(
23
+ labels={
24
+ "analytical_method": "Analytical Method",
25
+ "analytical_method_category": "Analytical Method Category",
26
+ "annotation_type": "Annotation Type",
27
+ "approval": "Approval",
28
+ "calculation": "Calculation",
29
+ "calendar": "Calendar",
30
+ "calendar_event": "Calendar Event",
31
+ "certification": "Certification",
32
+ "comment": "Comment",
33
+ "comment_thread": "Comment Thread",
34
+ "condition_parameter": "Condition Parameter",
35
+ "condition_parameter_mat_family": "Condition Parameter Material Family",
36
+ "constraint": "Constraint",
37
+ "constraint_set": "Constraint Set",
38
+ "curve_settings": "Curve Settings",
39
+ "custom_entity": "Custom Entity",
40
+ "doe_run": "Suggest Experiments",
41
+ "entities_viewed": "Entities Viewed",
42
+ "entity_field": "Field",
43
+ "entity_field_audit_log": "Entity Field Audit Log",
44
+ "entity_phase_event": "Entity Phase Event",
45
+ "entity_tag": "Entity Tag",
46
+ "equipment": "Equipment",
47
+ "equipment_type": "Equipment Type",
48
+ "experiment_group": "Experiment Group",
49
+ "experiment_group_type": "Experiment Group Type",
50
+ "favorite_link": "Favorite Link",
51
+ "field_option_set": "Field Option Set",
52
+ "file_folder": "File Folder",
53
+ "file_folder_membership": "File Folder Membership",
54
+ "goal": "Goal",
55
+ "ingredient": "Ingredient",
56
+ "ingredient_attribute": "Ingredient Attribute",
57
+ "ingredient_attribute_category": "Ingredient Attribute Category",
58
+ "ingredient_category": "Ingredient Category",
59
+ "ingredient_category_all": "Ingredient Category",
60
+ "ingredient_lot": "Ingredient Lot",
61
+ "ingredient_role": "Ingredient Role",
62
+ "ingredient_tag": "Ingredient Subcategory",
63
+ "input_group": "Input Group",
64
+ "inv_local_locations": "Inventory Location",
65
+ "inventory_amount": "Inventory Amount",
66
+ "lab_location": "Lab Location",
67
+ "lab_request": "Lab Request",
68
+ "license": "License",
69
+ "maintenance_schedule": "Maintenance Schedule",
70
+ "material_family": "Material Family",
71
+ "ml_job": "Batch Processing Job",
72
+ "naming_scheme": "Naming Scheme",
73
+ "naming_counter": "Naming Counter",
74
+ "notebook": "Notebook",
75
+ "notebook_cell": "Notebook Cell",
76
+ "output": "Output",
77
+ "output_calculation_entity_mapping": "Output Calculation Entity Mapping",
78
+ "output_category_all": "Output Category",
79
+ "output_condition": "Output Condition",
80
+ "output_default_condition": "Output Default Condition",
81
+ "output_condition_parameter": "Output Condition Parameter",
82
+ "output_condition_parameter_analytical_method_category": "Output Condition Parameter Analytical Method Category",
83
+ "output_condition_parameter_analytical_method": "Output Condition Parameter Analytical Method",
84
+ "output_group": "Output Group",
85
+ "recipe_output_metadata": "Recipe Output Metadata",
86
+ "permission": "Permission",
87
+ "phase_workflow": "Phase Workflow",
88
+ "predictive_model": "Predictive Model",
89
+ "product": "Product",
90
+ "project": "Project",
91
+ "recipe": "Experiment",
92
+ "recipe_calculation": "Recipe Calculation",
93
+ "recipe_permission_view": "Recipe Permission View",
94
+ "recipe_project": "Recipe Project",
95
+ "recipe_check": "Experiment Check",
96
+ "recipe_export": "Recipe Export",
97
+ "recipe_ingredients_compounded": "Recipe Ingredients Compounded",
98
+ "recipe_ingredients_compounded_calculation": "Recipe Ingredients Compounded Caclulation",
99
+ "recipe_step": "Recipe Step",
100
+ "recipe_tag": "Recipe Tag",
101
+ "recipe_metadata": "Experiment Metadata",
102
+ "review": "Review",
103
+ "review_entity_user_status": "Review Entity User Status",
104
+ "review_user": "Review User",
105
+ "rlw_phase": "Phase",
106
+ "rlw_trigger_set": "Trigger Set",
107
+ "safety_data_sheet": "Safety Data Sheet",
108
+ "scheduled_notification": "Scheduled Notification",
109
+ "specs": "Spec",
110
+ "split_template": "Split Template",
111
+ "structured_loading_user_config": "List Config",
112
+ "task": "Task",
113
+ "task_board": "Task Board",
114
+ "template": "Template",
115
+ "timesheet_entry": "Timesheet Entry",
116
+ "training_run": "Analyze Experiment",
117
+ "training_set": "Training Set",
118
+ "time_series": "Time Series",
119
+ "units": "Units",
120
+ "user_favorite": "User Favorite",
121
+ "user": "User",
122
+ "user_certification": "User Certification",
123
+ "user_group": "User Group",
124
+ "user_list_set": "User List Set",
125
+ "webhook": "Webhook",
126
+ "webhook_event": "Webhook Event",
127
+ "workflow": "Workflow",
128
+ "workflow_step": "Workflow Step",
129
+ "workflow_variant": "Workflow Variant",
130
+ "platform_notification": "Platform Notification",
131
+ "inventory_location_type": "Inventory Location Type",
132
+ "entity_definition": "Entity Definition",
133
+ "phase_transition": "Phase Transition",
134
+ "public_data_entity_link": "Public Data Entity Link",
135
+ "public_data_sourced_output": "ChemQuery Property",
136
+ "public_data_sourced_project": "ChemQuery Category",
137
+ "public_data_sourced_recipe": "ChemQuery Product",
138
+ "public_data_sourced_recipe_project": "ChemQuery Product Category",
139
+ "public_data_sourced_recipe_metadata": "ChemQuery Product Information",
140
+ "public_data_sourced_units": "ChemQuery Units",
141
+ "public_data_sourced_condition_parameter": "ChemQuery Condition Parameter",
142
+ "public_data_sourced_company": "ChemQuery Company",
143
+ "uploader": "Uploader",
144
+ },
145
+ )
146
+ class EntityType(StrEnum):
147
+ ANALYTICAL_METHOD = "analytical_method"
148
+ ANALYTICAL_METHOD_CATEGORY = "analytical_method_category"
149
+ ANNOTATION_TYPE = "annotation_type"
150
+ APPROVAL = "approval"
151
+ CALCULATION = "calculation"
152
+ CALENDAR = "calendar"
153
+ CALENDAR_EVENT = "calendar_event"
154
+ CERTIFICATION = "certification"
155
+ COMMENT = "comment"
156
+ COMMENT_THREAD = "comment_thread"
157
+ CONDITION_PARAMETER = "condition_parameter"
158
+ CONDITION_PARAMETER_MAT_FAMILY = "condition_parameter_mat_family"
159
+ CONSTRAINT = "constraint"
160
+ CONSTRAINT_SET = "constraint_set"
161
+ CURVE_SETTINGS = "curve_settings"
162
+ CUSTOM_ENTITY = "custom_entity"
163
+ DOE_RUN = "doe_run"
164
+ ENTITIES_VIEWED = "entities_viewed"
165
+ ENTITY_FIELD = "entity_field"
166
+ ENTITY_FIELD_AUDIT_LOG = "entity_field_audit_log"
167
+ ENTITY_PHASE_EVENT = "entity_phase_event"
168
+ ENTITY_TAG = "entity_tag"
169
+ EQUIPMENT = "equipment"
170
+ EQUIPMENT_TYPE = "equipment_type"
171
+ EXPERIMENT_GROUP = "experiment_group"
172
+ EXPERIMENT_GROUP_TYPE = "experiment_group_type"
173
+ FAVORITE_LINK = "favorite_link"
174
+ FIELD_OPTION_SET = "field_option_set"
175
+ FILE_FOLDER = "file_folder"
176
+ FILE_FOLDER_MEMBERSHIP = "file_folder_membership"
177
+ GOAL = "goal"
178
+ INGREDIENT = "ingredient"
179
+ INGREDIENT_ATTRIBUTE = "ingredient_attribute"
180
+ INGREDIENT_ATTRIBUTE_CATEGORY = "ingredient_attribute_category"
181
+ INGREDIENT_CATEGORY = "ingredient_category"
182
+ INGREDIENT_CATEGORY_ALL = "ingredient_category_all"
183
+ INGREDIENT_LOT = "ingredient_lot"
184
+ INGREDIENT_ROLE = "ingredient_role"
185
+ INGREDIENT_TAG = "ingredient_tag"
186
+ INPUT_GROUP = "input_group"
187
+ INV_LOCAL_LOCATIONS = "inv_local_locations"
188
+ INVENTORY_AMOUNT = "inventory_amount"
189
+ LAB_LOCATION = "lab_location"
190
+ LAB_REQUEST = "lab_request"
191
+ LICENSE = "license"
192
+ MAINTENANCE_SCHEDULE = "maintenance_schedule"
193
+ MATERIAL_FAMILY = "material_family"
194
+ ML_JOB = "ml_job"
195
+ NAMING_SCHEME = "naming_scheme"
196
+ NAMING_COUNTER = "naming_counter"
197
+ NOTEBOOK = "notebook"
198
+ NOTEBOOK_CELL = "notebook_cell"
199
+ OUTPUT = "output"
200
+ OUTPUT_CALCULATION_ENTITY_MAPPING = "output_calculation_entity_mapping"
201
+ OUTPUT_CATEGORY_ALL = "output_category_all"
202
+ OUTPUT_CONDITION = "output_condition"
203
+ OUTPUT_DEFAULT_CONDITION = "output_default_condition"
204
+ OUTPUT_CONDITION_PARAMETER = "output_condition_parameter"
205
+ OUTPUT_CONDITION_PARAMETER_ANALYTICAL_METHOD_CATEGORY = "output_condition_parameter_analytical_method_category"
206
+ OUTPUT_CONDITION_PARAMETER_ANALYTICAL_METHOD = "output_condition_parameter_analytical_method"
207
+ OUTPUT_GROUP = "output_group"
208
+ RECIPE_OUTPUT_METADATA = "recipe_output_metadata"
209
+ PERMISSION = "permission"
210
+ PHASE_WORKFLOW = "phase_workflow"
211
+ PREDICTIVE_MODEL = "predictive_model"
212
+ PRODUCT = "product"
213
+ PROJECT = "project"
214
+ RECIPE = "recipe"
215
+ RECIPE_CALCULATION = "recipe_calculation"
216
+ RECIPE_PERMISSION_VIEW = "recipe_permission_view"
217
+ RECIPE_PROJECT = "recipe_project"
218
+ RECIPE_CHECK = "recipe_check"
219
+ RECIPE_EXPORT = "recipe_export"
220
+ RECIPE_INGREDIENTS_COMPOUNDED = "recipe_ingredients_compounded"
221
+ RECIPE_INGREDIENTS_COMPOUNDED_CALCULATION = "recipe_ingredients_compounded_calculation"
222
+ RECIPE_STEP = "recipe_step"
223
+ RECIPE_TAG = "recipe_tag"
224
+ RECIPE_METADATA = "recipe_metadata"
225
+ REVIEW = "review"
226
+ REVIEW_ENTITY_USER_STATUS = "review_entity_user_status"
227
+ REVIEW_USER = "review_user"
228
+ RLW_PHASE = "rlw_phase"
229
+ RLW_TRIGGER_SET = "rlw_trigger_set"
230
+ SAFETY_DATA_SHEET = "safety_data_sheet"
231
+ SCHEDULED_NOTIFICATION = "scheduled_notification"
232
+ SPECS = "specs"
233
+ SPLIT_TEMPLATE = "split_template"
234
+ STRUCTURED_LOADING_USER_CONFIG = "structured_loading_user_config"
235
+ TASK = "task"
236
+ TASK_BOARD = "task_board"
237
+ TEMPLATE = "template"
238
+ TIMESHEET_ENTRY = "timesheet_entry"
239
+ TRAINING_RUN = "training_run"
240
+ TRAINING_SET = "training_set"
241
+ TIME_SERIES = "time_series"
242
+ UNITS = "units"
243
+ USER_FAVORITE = "user_favorite"
244
+ USER = "user"
245
+ USER_CERTIFICATION = "user_certification"
246
+ USER_GROUP = "user_group"
247
+ USER_LIST_SET = "user_list_set"
248
+ WEBHOOK = "webhook"
249
+ WEBHOOK_EVENT = "webhook_event"
250
+ WORKFLOW = "workflow"
251
+ WORKFLOW_STEP = "workflow_step"
252
+ WORKFLOW_VARIANT = "workflow_variant"
253
+ PLATFORM_NOTIFICATION = "platform_notification"
254
+ INVENTORY_LOCATION_TYPE = "inventory_location_type"
255
+ ENTITY_DEFINITION = "entity_definition"
256
+ PHASE_TRANSITION = "phase_transition"
257
+ PUBLIC_DATA_ENTITY_LINK = "public_data_entity_link"
258
+ PUBLIC_DATA_SOURCED_OUTPUT = "public_data_sourced_output"
259
+ PUBLIC_DATA_SOURCED_PROJECT = "public_data_sourced_project"
260
+ PUBLIC_DATA_SOURCED_RECIPE = "public_data_sourced_recipe"
261
+ PUBLIC_DATA_SOURCED_RECIPE_PROJECT = "public_data_sourced_recipe_project"
262
+ PUBLIC_DATA_SOURCED_RECIPE_METADATA = "public_data_sourced_recipe_metadata"
263
+ PUBLIC_DATA_SOURCED_UNITS = "public_data_sourced_units"
264
+ PUBLIC_DATA_SOURCED_CONDITION_PARAMETER = "public_data_sourced_condition_parameter"
265
+ PUBLIC_DATA_SOURCED_COMPANY = "public_data_sourced_company"
266
+ UPLOADER = "uploader"
267
+
268
+
269
+ # DO NOT MODIFY -- This file is generated by type_spec
270
+ @dataclass(kw_only=True)
271
+ class Entity:
272
+ id: base_t.ObjectId
273
+ type: EntityType
274
+ # DO NOT MODIFY -- This file is generated by type_spec
@@ -1,23 +1,8 @@
1
- # DO NOT MODIFY -- This file is generated by type_spec
2
1
  # flake8: noqa: F821
3
2
  # ruff: noqa: E402 Q003
4
3
  # fmt: off
5
4
  # isort: skip_file
6
- from __future__ import annotations
7
- import typing # noqa: F401
8
- import datetime # noqa: F401
9
- from decimal import Decimal # noqa: F401
10
- from dataclasses import dataclass
11
- from . import base as base_t
12
-
13
- __all__: list[str] = [
14
- "SimpleExperimentGroup",
15
- ]
16
-
17
-
18
5
  # DO NOT MODIFY -- This file is generated by type_spec
19
- @dataclass(kw_only=True)
20
- class SimpleExperimentGroup:
21
- experiment_group_id: base_t.ObjectId
22
- name: str
6
+ # Kept only for SDK backwards compatibility
7
+ from .experiment_groups_t import SimpleExperimentGroup as SimpleExperimentGroup
23
8
  # DO NOT MODIFY -- This file is generated by type_spec
@@ -0,0 +1,23 @@
1
+ # DO NOT MODIFY -- This file is generated by type_spec
2
+ # flake8: noqa: F821
3
+ # ruff: noqa: E402 Q003
4
+ # fmt: off
5
+ # isort: skip_file
6
+ from __future__ import annotations
7
+ import typing # noqa: F401
8
+ import datetime # noqa: F401
9
+ from decimal import Decimal # noqa: F401
10
+ from dataclasses import dataclass
11
+ from . import base_t
12
+
13
+ __all__: list[str] = [
14
+ "SimpleExperimentGroup",
15
+ ]
16
+
17
+
18
+ # DO NOT MODIFY -- This file is generated by type_spec
19
+ @dataclass(kw_only=True)
20
+ class SimpleExperimentGroup:
21
+ experiment_group_id: base_t.ObjectId
22
+ name: str
23
+ # DO NOT MODIFY -- This file is generated by type_spec
@@ -1,65 +1,11 @@
1
- # DO NOT MODIFY -- This file is generated by type_spec
2
1
  # flake8: noqa: F821
3
2
  # ruff: noqa: E402 Q003
4
3
  # fmt: off
5
4
  # isort: skip_file
6
- from __future__ import annotations
7
- import typing # noqa: F401
8
- import datetime # noqa: F401
9
- from decimal import Decimal # noqa: F401
10
- from dataclasses import dataclass
11
- from pkgs.serialization import serial_class
12
- from . import base as base_t
13
-
14
- __all__: list[str] = [
15
- "ArgumentValueId",
16
- "ArgumentValueRefName",
17
- "FieldRefIdNameValue",
18
- "FieldRefNameValue",
19
- ]
20
-
21
-
22
- # DO NOT MODIFY -- This file is generated by type_spec
23
- @serial_class(
24
- unconverted_values={"value"},
25
- )
26
- @dataclass(kw_only=True)
27
- class FieldRefNameValue:
28
- field_ref_name: str
29
- value: base_t.JsonValue
30
- row_index: typing.Optional[typing.Optional[int]] = None
31
-
32
-
33
- # DO NOT MODIFY -- This file is generated by type_spec
34
- @serial_class(
35
- unconverted_values={"value"},
36
- )
37
- @dataclass(kw_only=True)
38
- class FieldRefIdNameValue:
39
- field_id: base_t.ObjectId
40
- field_ref_name: str
41
- value: base_t.JsonValue
42
- row_index: typing.Optional[typing.Optional[int]] = None
43
-
44
-
45
- # DO NOT MODIFY -- This file is generated by type_spec
46
- @serial_class(
47
- unconverted_values={"value"},
48
- )
49
- @dataclass(kw_only=True)
50
- class ArgumentValueRefName:
51
- field_ref_name: str
52
- value: base_t.JsonValue
53
- row_index: typing.Optional[typing.Optional[int]] = None
54
-
55
-
56
5
  # DO NOT MODIFY -- This file is generated by type_spec
57
- @serial_class(
58
- unconverted_values={"value"},
59
- )
60
- @dataclass(kw_only=True)
61
- class ArgumentValueId:
62
- field_id: base_t.ObjectId
63
- value: base_t.JsonValue
64
- row_index: typing.Optional[typing.Optional[int]] = None
6
+ # Kept only for SDK backwards compatibility
7
+ from .field_values_t import FieldRefNameValue as FieldRefNameValue
8
+ from .field_values_t import FieldRefIdNameValue as FieldRefIdNameValue
9
+ from .field_values_t import ArgumentValueRefName as ArgumentValueRefName
10
+ from .field_values_t import ArgumentValueId as ArgumentValueId
65
11
  # DO NOT MODIFY -- This file is generated by type_spec
@@ -0,0 +1,65 @@
1
+ # DO NOT MODIFY -- This file is generated by type_spec
2
+ # flake8: noqa: F821
3
+ # ruff: noqa: E402 Q003
4
+ # fmt: off
5
+ # isort: skip_file
6
+ from __future__ import annotations
7
+ import typing # noqa: F401
8
+ import datetime # noqa: F401
9
+ from decimal import Decimal # noqa: F401
10
+ from dataclasses import dataclass
11
+ from pkgs.serialization import serial_class
12
+ from . import base_t
13
+
14
+ __all__: list[str] = [
15
+ "ArgumentValueId",
16
+ "ArgumentValueRefName",
17
+ "FieldRefIdNameValue",
18
+ "FieldRefNameValue",
19
+ ]
20
+
21
+
22
+ # DO NOT MODIFY -- This file is generated by type_spec
23
+ @serial_class(
24
+ unconverted_values={"value"},
25
+ )
26
+ @dataclass(kw_only=True)
27
+ class FieldRefNameValue:
28
+ field_ref_name: str
29
+ value: base_t.JsonValue
30
+ row_index: typing.Optional[typing.Optional[int]] = None
31
+
32
+
33
+ # DO NOT MODIFY -- This file is generated by type_spec
34
+ @serial_class(
35
+ unconverted_values={"value"},
36
+ )
37
+ @dataclass(kw_only=True)
38
+ class FieldRefIdNameValue:
39
+ field_id: base_t.ObjectId
40
+ field_ref_name: str
41
+ value: base_t.JsonValue
42
+ row_index: typing.Optional[typing.Optional[int]] = None
43
+
44
+
45
+ # DO NOT MODIFY -- This file is generated by type_spec
46
+ @serial_class(
47
+ unconverted_values={"value"},
48
+ )
49
+ @dataclass(kw_only=True)
50
+ class ArgumentValueRefName:
51
+ field_ref_name: str
52
+ value: base_t.JsonValue
53
+ row_index: typing.Optional[typing.Optional[int]] = None
54
+
55
+
56
+ # DO NOT MODIFY -- This file is generated by type_spec
57
+ @serial_class(
58
+ unconverted_values={"value"},
59
+ )
60
+ @dataclass(kw_only=True)
61
+ class ArgumentValueId:
62
+ field_id: base_t.ObjectId
63
+ value: base_t.JsonValue
64
+ row_index: typing.Optional[typing.Optional[int]] = None
65
+ # DO NOT MODIFY -- This file is generated by type_spec
@@ -1,24 +1,8 @@
1
- # DO NOT MODIFY -- This file is generated by type_spec
2
1
  # flake8: noqa: F821
3
2
  # ruff: noqa: E402 Q003
4
3
  # fmt: off
5
4
  # isort: skip_file
6
- from __future__ import annotations
7
- import typing # noqa: F401
8
- import datetime # noqa: F401
9
- from decimal import Decimal # noqa: F401
10
- from dataclasses import dataclass
11
- from . import base as base_t
12
-
13
- __all__: list[str] = [
14
- "Field",
15
- ]
16
-
17
-
18
5
  # DO NOT MODIFY -- This file is generated by type_spec
19
- @dataclass(kw_only=True)
20
- class Field:
21
- id: base_t.ObjectId
22
- name: str
23
- value_type: str
6
+ # Kept only for SDK backwards compatibility
7
+ from .fields_t import Field as Field
24
8
  # DO NOT MODIFY -- This file is generated by type_spec
@@ -0,0 +1,24 @@
1
+ # DO NOT MODIFY -- This file is generated by type_spec
2
+ # flake8: noqa: F821
3
+ # ruff: noqa: E402 Q003
4
+ # fmt: off
5
+ # isort: skip_file
6
+ from __future__ import annotations
7
+ import typing # noqa: F401
8
+ import datetime # noqa: F401
9
+ from decimal import Decimal # noqa: F401
10
+ from dataclasses import dataclass
11
+ from . import base_t
12
+
13
+ __all__: list[str] = [
14
+ "Field",
15
+ ]
16
+
17
+
18
+ # DO NOT MODIFY -- This file is generated by type_spec
19
+ @dataclass(kw_only=True)
20
+ class Field:
21
+ id: base_t.ObjectId
22
+ name: str
23
+ value_type: str
24
+ # DO NOT MODIFY -- This file is generated by type_spec
@@ -1,49 +1,12 @@
1
- # DO NOT MODIFY -- This file is generated by type_spec
2
1
  # flake8: noqa: F821
3
2
  # ruff: noqa: E402 Q003
4
3
  # fmt: off
5
4
  # isort: skip_file
6
- from __future__ import annotations
7
- import typing # noqa: F401
8
- import datetime # noqa: F401
9
- from decimal import Decimal # noqa: F401
10
- from dataclasses import dataclass
11
- from . import entity as entity_t
12
-
13
- __all__: list[str] = [
14
- "IdSourceSpec",
15
- "IdSourceSpecBase",
16
- "IdSourceSpecCustomEntity",
17
- "IdSourceSpecEntity",
18
- "IdSourceSpecFieldOptions",
19
- ]
20
-
21
-
22
- # DO NOT MODIFY -- This file is generated by type_spec
23
- @dataclass(kw_only=True)
24
- class IdSourceSpecBase:
25
- pass
26
-
27
-
28
- # DO NOT MODIFY -- This file is generated by type_spec
29
- @dataclass(kw_only=True)
30
- class IdSourceSpecEntity(IdSourceSpecBase):
31
- entity_type: entity_t.EntityType
32
-
33
-
34
- # DO NOT MODIFY -- This file is generated by type_spec
35
- @dataclass(kw_only=True)
36
- class IdSourceSpecCustomEntity(IdSourceSpecBase):
37
- definition_ref_name: str
38
-
39
-
40
- # DO NOT MODIFY -- This file is generated by type_spec
41
- @dataclass(kw_only=True)
42
- class IdSourceSpecFieldOptions(IdSourceSpecBase):
43
- set_ref_name: str
44
- subset_ref_name: typing.Optional[str] = None
45
-
46
-
47
5
  # DO NOT MODIFY -- This file is generated by type_spec
48
- IdSourceSpec = typing.Union[IdSourceSpecEntity, IdSourceSpecCustomEntity, IdSourceSpecFieldOptions]
6
+ # Kept only for SDK backwards compatibility
7
+ from .id_source_t import IdSourceSpecBase as IdSourceSpecBase
8
+ from .id_source_t import IdSourceSpecEntity as IdSourceSpecEntity
9
+ from .id_source_t import IdSourceSpecCustomEntity as IdSourceSpecCustomEntity
10
+ from .id_source_t import IdSourceSpecFieldOptions as IdSourceSpecFieldOptions
11
+ from .id_source_t import IdSourceSpec as IdSourceSpec
49
12
  # DO NOT MODIFY -- This file is generated by type_spec
@@ -0,0 +1,49 @@
1
+ # DO NOT MODIFY -- This file is generated by type_spec
2
+ # flake8: noqa: F821
3
+ # ruff: noqa: E402 Q003
4
+ # fmt: off
5
+ # isort: skip_file
6
+ from __future__ import annotations
7
+ import typing # noqa: F401
8
+ import datetime # noqa: F401
9
+ from decimal import Decimal # noqa: F401
10
+ from dataclasses import dataclass
11
+ from . import entity_t
12
+
13
+ __all__: list[str] = [
14
+ "IdSourceSpec",
15
+ "IdSourceSpecBase",
16
+ "IdSourceSpecCustomEntity",
17
+ "IdSourceSpecEntity",
18
+ "IdSourceSpecFieldOptions",
19
+ ]
20
+
21
+
22
+ # DO NOT MODIFY -- This file is generated by type_spec
23
+ @dataclass(kw_only=True)
24
+ class IdSourceSpecBase:
25
+ pass
26
+
27
+
28
+ # DO NOT MODIFY -- This file is generated by type_spec
29
+ @dataclass(kw_only=True)
30
+ class IdSourceSpecEntity(IdSourceSpecBase):
31
+ entity_type: entity_t.EntityType
32
+
33
+
34
+ # DO NOT MODIFY -- This file is generated by type_spec
35
+ @dataclass(kw_only=True)
36
+ class IdSourceSpecCustomEntity(IdSourceSpecBase):
37
+ definition_ref_name: str
38
+
39
+
40
+ # DO NOT MODIFY -- This file is generated by type_spec
41
+ @dataclass(kw_only=True)
42
+ class IdSourceSpecFieldOptions(IdSourceSpecBase):
43
+ set_ref_name: str
44
+ subset_ref_name: typing.Optional[str] = None
45
+
46
+
47
+ # DO NOT MODIFY -- This file is generated by type_spec
48
+ IdSourceSpec = typing.Union[IdSourceSpecEntity, IdSourceSpecCustomEntity, IdSourceSpecFieldOptions]
49
+ # DO NOT MODIFY -- This file is generated by type_spec
@@ -1,54 +1,11 @@
1
- # DO NOT MODIFY -- This file is generated by type_spec
2
1
  # flake8: noqa: F821
3
2
  # ruff: noqa: E402 Q003
4
3
  # fmt: off
5
4
  # isort: skip_file
6
- from __future__ import annotations
7
- import typing # noqa: F401
8
- import datetime # noqa: F401
9
- from decimal import Decimal # noqa: F401
10
- from dataclasses import dataclass
11
- from pkgs.serialization import serial_class
12
- from . import base as base_t
13
-
14
- __all__: list[str] = [
15
- "IdentifierKey",
16
- "IdentifierKeyBatchReference",
17
- "IdentifierKeyId",
18
- "IdentifierKeyRefName",
19
- ]
20
-
21
-
22
- # DO NOT MODIFY -- This file is generated by type_spec
23
- @serial_class(
24
- parse_require={"type"},
25
- )
26
- @dataclass(kw_only=True, frozen=True, eq=True)
27
- class IdentifierKeyId:
28
- type: typing.Literal["id"] = "id"
29
- id: base_t.ObjectId
30
-
31
-
32
- # DO NOT MODIFY -- This file is generated by type_spec
33
- @serial_class(
34
- parse_require={"type"},
35
- )
36
- @dataclass(kw_only=True, frozen=True, eq=True)
37
- class IdentifierKeyRefName:
38
- type: typing.Literal["ref_name"] = "ref_name"
39
- ref_name: str
40
-
41
-
42
- # DO NOT MODIFY -- This file is generated by type_spec
43
- @serial_class(
44
- parse_require={"type"},
45
- )
46
- @dataclass(kw_only=True, frozen=True, eq=True)
47
- class IdentifierKeyBatchReference:
48
- type: typing.Literal["batch_reference"] = "batch_reference"
49
- reference: str
50
-
51
-
52
5
  # DO NOT MODIFY -- This file is generated by type_spec
53
- IdentifierKey = typing.Union[IdentifierKeyId, IdentifierKeyBatchReference, IdentifierKeyRefName]
6
+ # Kept only for SDK backwards compatibility
7
+ from .identifier_t import IdentifierKeyId as IdentifierKeyId
8
+ from .identifier_t import IdentifierKeyRefName as IdentifierKeyRefName
9
+ from .identifier_t import IdentifierKeyBatchReference as IdentifierKeyBatchReference
10
+ from .identifier_t import IdentifierKey as IdentifierKey
54
11
  # DO NOT MODIFY -- This file is generated by type_spec