UncountablePythonSDK 0.0.92__py3-none-any.whl → 0.0.93__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 (177) hide show
  1. {UncountablePythonSDK-0.0.92.dist-info → UncountablePythonSDK-0.0.93.dist-info}/METADATA +1 -1
  2. UncountablePythonSDK-0.0.93.dist-info/RECORD +301 -0
  3. pkgs/argument_parser/argument_parser.py +7 -7
  4. pkgs/filesystem_utils/_s3_session.py +2 -1
  5. pkgs/serialization/annotation.py +3 -3
  6. pkgs/serialization/missing_sentry.py +1 -1
  7. pkgs/serialization/serial_alias.py +2 -2
  8. pkgs/serialization/serial_class.py +1 -1
  9. pkgs/serialization/serial_generic.py +1 -1
  10. pkgs/serialization/serial_union.py +3 -3
  11. pkgs/serialization_util/serialization_helpers.py +1 -4
  12. pkgs/type_spec/actions_registry/__main__.py +0 -4
  13. pkgs/type_spec/builder.py +25 -21
  14. pkgs/type_spec/config.py +2 -5
  15. pkgs/type_spec/emit_open_api.py +1 -1
  16. pkgs/type_spec/emit_python.py +44 -28
  17. pkgs/type_spec/emit_typescript.py +13 -6
  18. pkgs/type_spec/parts/base.py.prepart +2 -0
  19. pkgs/type_spec/util.py +3 -5
  20. pkgs/type_spec/value_spec/__main__.py +15 -5
  21. pkgs/type_spec/value_spec/emit_python.py +5 -2
  22. pkgs/type_spec/value_spec/types.py +1 -1
  23. uncountable/core/client.py +3 -3
  24. uncountable/core/file_upload.py +5 -0
  25. uncountable/integration/job.py +2 -2
  26. uncountable/integration/queue_runner/command_server/types.py +1 -1
  27. uncountable/integration/server.py +4 -4
  28. uncountable/types/__init__.py +0 -1
  29. uncountable/types/api/batch/execute_batch.py +1 -2
  30. uncountable/types/api/batch/execute_batch_load_async.py +0 -1
  31. uncountable/types/api/chemical/convert_chemical_formats.py +0 -1
  32. uncountable/types/api/entity/create_entities.py +1 -2
  33. uncountable/types/api/entity/create_entity.py +2 -3
  34. uncountable/types/api/entity/get_entities_data.py +0 -1
  35. uncountable/types/api/entity/grant_entity_permissions.py +0 -1
  36. uncountable/types/api/entity/list_entities.py +3 -4
  37. uncountable/types/api/entity/lock_entity.py +0 -1
  38. uncountable/types/api/entity/resolve_entity_ids.py +2 -3
  39. uncountable/types/api/entity/set_entity_field_values.py +0 -1
  40. uncountable/types/api/entity/set_values.py +0 -1
  41. uncountable/types/api/entity/transition_entity_phase.py +1 -2
  42. uncountable/types/api/entity/unlock_entity.py +0 -1
  43. uncountable/types/api/equipment/associate_equipment_input.py +0 -1
  44. uncountable/types/api/field_options/upsert_field_options.py +0 -1
  45. uncountable/types/api/files/download_file.py +1 -2
  46. uncountable/types/api/id_source/list_id_source.py +3 -4
  47. uncountable/types/api/id_source/match_id_source.py +1 -2
  48. uncountable/types/api/input_groups/get_input_group_names.py +0 -1
  49. uncountable/types/api/inputs/create_inputs.py +2 -3
  50. uncountable/types/api/inputs/get_input_data.py +5 -6
  51. uncountable/types/api/inputs/get_input_names.py +3 -4
  52. uncountable/types/api/inputs/get_inputs_data.py +0 -1
  53. uncountable/types/api/inputs/set_input_attribute_values.py +0 -1
  54. uncountable/types/api/inputs/set_input_category.py +1 -2
  55. uncountable/types/api/inputs/set_input_subcategories.py +0 -1
  56. uncountable/types/api/inputs/set_intermediate_type.py +1 -2
  57. uncountable/types/api/material_families/update_entity_material_families.py +1 -2
  58. uncountable/types/api/outputs/get_output_data.py +2 -3
  59. uncountable/types/api/outputs/get_output_names.py +0 -1
  60. uncountable/types/api/outputs/resolve_output_conditions.py +0 -1
  61. uncountable/types/api/permissions/set_core_permissions.py +1 -2
  62. uncountable/types/api/project/get_projects.py +3 -4
  63. uncountable/types/api/project/get_projects_data.py +4 -5
  64. uncountable/types/api/recipe_links/create_recipe_link.py +1 -2
  65. uncountable/types/api/recipe_links/remove_recipe_link.py +1 -2
  66. uncountable/types/api/recipe_metadata/get_recipe_metadata_data.py +3 -4
  67. uncountable/types/api/recipes/add_recipe_to_project.py +0 -1
  68. uncountable/types/api/recipes/archive_recipes.py +0 -1
  69. uncountable/types/api/recipes/associate_recipe_as_input.py +0 -1
  70. uncountable/types/api/recipes/associate_recipe_as_lot.py +0 -1
  71. uncountable/types/api/recipes/clear_recipe_outputs.py +0 -1
  72. uncountable/types/api/recipes/create_recipe.py +1 -2
  73. uncountable/types/api/recipes/create_recipes.py +1 -2
  74. uncountable/types/api/recipes/disassociate_recipe_as_input.py +0 -1
  75. uncountable/types/api/recipes/edit_recipe_inputs.py +3 -4
  76. uncountable/types/api/recipes/get_column_calculation_values.py +0 -1
  77. uncountable/types/api/recipes/get_curve.py +0 -1
  78. uncountable/types/api/recipes/get_recipe_calculations.py +0 -1
  79. uncountable/types/api/recipes/get_recipe_links.py +1 -2
  80. uncountable/types/api/recipes/get_recipe_names.py +0 -1
  81. uncountable/types/api/recipes/get_recipe_output_metadata.py +0 -1
  82. uncountable/types/api/recipes/get_recipes_data.py +13 -14
  83. uncountable/types/api/recipes/lock_recipes.py +1 -2
  84. uncountable/types/api/recipes/remove_recipe_from_project.py +0 -1
  85. uncountable/types/api/recipes/set_recipe_inputs.py +1 -2
  86. uncountable/types/api/recipes/set_recipe_metadata.py +0 -1
  87. uncountable/types/api/recipes/set_recipe_output_annotations.py +2 -3
  88. uncountable/types/api/recipes/set_recipe_output_file.py +0 -1
  89. uncountable/types/api/recipes/set_recipe_outputs.py +3 -4
  90. uncountable/types/api/recipes/set_recipe_tags.py +2 -3
  91. uncountable/types/api/recipes/unarchive_recipes.py +0 -1
  92. uncountable/types/api/recipes/unlock_recipes.py +1 -2
  93. uncountable/types/api/triggers/run_trigger.py +0 -1
  94. uncountable/types/api/uploader/invoke_uploader.py +0 -1
  95. uncountable/types/async_batch.py +0 -1
  96. uncountable/types/async_batch_processor.py +1 -2
  97. uncountable/types/async_batch_t.py +1 -2
  98. uncountable/types/async_jobs.py +0 -1
  99. uncountable/types/async_jobs_t.py +1 -2
  100. uncountable/types/auth_retrieval.py +0 -1
  101. uncountable/types/auth_retrieval_t.py +2 -3
  102. uncountable/types/base.py +0 -1
  103. uncountable/types/base_t.py +2 -1
  104. uncountable/types/calculations.py +0 -1
  105. uncountable/types/calculations_t.py +0 -1
  106. uncountable/types/chemical_structure.py +0 -1
  107. uncountable/types/chemical_structure_t.py +0 -1
  108. uncountable/types/client_base.py +29 -30
  109. uncountable/types/client_config.py +0 -1
  110. uncountable/types/client_config_t.py +1 -2
  111. uncountable/types/curves.py +0 -1
  112. uncountable/types/curves_t.py +2 -3
  113. uncountable/types/entity.py +0 -1
  114. uncountable/types/entity_t.py +3 -4
  115. uncountable/types/experiment_groups.py +0 -1
  116. uncountable/types/experiment_groups_t.py +0 -1
  117. uncountable/types/field_values.py +0 -1
  118. uncountable/types/field_values_t.py +6 -7
  119. uncountable/types/fields.py +0 -1
  120. uncountable/types/fields_t.py +0 -1
  121. uncountable/types/generic_upload.py +0 -1
  122. uncountable/types/generic_upload_t.py +2 -3
  123. uncountable/types/id_source.py +0 -1
  124. uncountable/types/id_source_t.py +1 -2
  125. uncountable/types/identifier.py +0 -1
  126. uncountable/types/identifier_t.py +1 -2
  127. uncountable/types/input_attributes.py +0 -1
  128. uncountable/types/input_attributes_t.py +0 -1
  129. uncountable/types/inputs.py +0 -1
  130. uncountable/types/inputs_t.py +2 -3
  131. uncountable/types/integration_server.py +0 -1
  132. uncountable/types/integration_server_t.py +1 -2
  133. uncountable/types/job_definition.py +0 -1
  134. uncountable/types/job_definition_t.py +5 -6
  135. uncountable/types/outputs.py +0 -1
  136. uncountable/types/outputs_t.py +1 -2
  137. uncountable/types/overrides.py +0 -1
  138. uncountable/types/overrides_t.py +0 -1
  139. uncountable/types/permissions.py +0 -1
  140. uncountable/types/permissions_t.py +1 -2
  141. uncountable/types/phases.py +0 -1
  142. uncountable/types/phases_t.py +0 -1
  143. uncountable/types/post_base.py +0 -1
  144. uncountable/types/post_base_t.py +1 -2
  145. uncountable/types/queued_job.py +0 -1
  146. uncountable/types/queued_job_t.py +2 -3
  147. uncountable/types/recipe_identifiers.py +0 -1
  148. uncountable/types/recipe_identifiers_t.py +1 -2
  149. uncountable/types/recipe_inputs.py +0 -1
  150. uncountable/types/recipe_inputs_t.py +1 -2
  151. uncountable/types/recipe_links.py +0 -1
  152. uncountable/types/recipe_links_t.py +2 -3
  153. uncountable/types/recipe_metadata.py +0 -1
  154. uncountable/types/recipe_metadata_t.py +0 -1
  155. uncountable/types/recipe_output_metadata.py +0 -1
  156. uncountable/types/recipe_output_metadata_t.py +0 -1
  157. uncountable/types/recipe_tags.py +0 -1
  158. uncountable/types/recipe_tags_t.py +0 -1
  159. uncountable/types/recipe_workflow_steps.py +0 -1
  160. uncountable/types/recipe_workflow_steps_t.py +2 -3
  161. uncountable/types/recipes.py +0 -1
  162. uncountable/types/recipes_t.py +0 -1
  163. uncountable/types/response.py +0 -1
  164. uncountable/types/response_t.py +0 -1
  165. uncountable/types/secret_retrieval.py +0 -1
  166. uncountable/types/secret_retrieval_t.py +2 -3
  167. uncountable/types/units.py +0 -1
  168. uncountable/types/units_t.py +0 -1
  169. uncountable/types/users.py +0 -1
  170. uncountable/types/users_t.py +0 -1
  171. uncountable/types/webhook_job.py +0 -1
  172. uncountable/types/webhook_job_t.py +0 -1
  173. uncountable/types/workflows.py +0 -1
  174. uncountable/types/workflows_t.py +1 -2
  175. UncountablePythonSDK-0.0.92.dist-info/RECORD +0 -301
  176. {UncountablePythonSDK-0.0.92.dist-info → UncountablePythonSDK-0.0.93.dist-info}/WHEEL +0 -0
  177. {UncountablePythonSDK-0.0.92.dist-info → UncountablePythonSDK-0.0.93.dist-info}/top_level.txt +0 -0
@@ -1,5 +1,4 @@
1
1
  # DO NOT MODIFY -- This file is generated by type_spec
2
- # flake8: noqa: F821
3
2
  # ruff: noqa: E402 Q003
4
3
  # fmt: off
5
4
  # isort: skip_file
@@ -60,7 +59,7 @@ class IdSourceSpecFieldOptions(IdSourceSpecBase):
60
59
 
61
60
  # DO NOT MODIFY -- This file is generated by type_spec
62
61
  IdSourceSpec = typing.Annotated[
63
- typing.Union[IdSourceSpecEntity, IdSourceSpecCustomEntity, IdSourceSpecFieldOptions],
62
+ IdSourceSpecEntity | IdSourceSpecCustomEntity | IdSourceSpecFieldOptions,
64
63
  serial_alias_annotation(
65
64
  named_type_path="sdk.id_source.IdSourceSpec",
66
65
  ),
@@ -1,4 +1,3 @@
1
- # flake8: noqa: F821
2
1
  # ruff: noqa: E402 Q003
3
2
  # fmt: off
4
3
  # isort: skip_file
@@ -1,5 +1,4 @@
1
1
  # DO NOT MODIFY -- This file is generated by type_spec
2
- # flake8: noqa: F821
3
2
  # ruff: noqa: E402 Q003
4
3
  # fmt: off
5
4
  # isort: skip_file
@@ -55,7 +54,7 @@ class IdentifierKeyBatchReference:
55
54
 
56
55
  # DO NOT MODIFY -- This file is generated by type_spec
57
56
  IdentifierKey = typing.Annotated[
58
- typing.Union[IdentifierKeyId, IdentifierKeyBatchReference, IdentifierKeyRefName],
57
+ IdentifierKeyId | IdentifierKeyBatchReference | IdentifierKeyRefName,
59
58
  serial_alias_annotation(
60
59
  named_type_path="sdk.identifier.IdentifierKey",
61
60
  ),
@@ -1,4 +1,3 @@
1
- # flake8: noqa: F821
2
1
  # ruff: noqa: E402 Q003
3
2
  # fmt: off
4
3
  # isort: skip_file
@@ -1,5 +1,4 @@
1
1
  # DO NOT MODIFY -- This file is generated by type_spec
2
- # flake8: noqa: F821
3
2
  # ruff: noqa: E402 Q003
4
3
  # fmt: off
5
4
  # isort: skip_file
@@ -1,4 +1,3 @@
1
- # flake8: noqa: F821
2
1
  # ruff: noqa: E402 Q003
3
2
  # fmt: off
4
3
  # isort: skip_file
@@ -1,5 +1,4 @@
1
1
  # DO NOT MODIFY -- This file is generated by type_spec
2
- # flake8: noqa: F821
3
2
  # ruff: noqa: E402 Q003
4
3
  # fmt: off
5
4
  # isort: skip_file
@@ -7,7 +6,7 @@ from __future__ import annotations
7
6
  import typing # noqa: F401
8
7
  import datetime # noqa: F401
9
8
  from decimal import Decimal # noqa: F401
10
- from pkgs.strenum_compat import StrEnum
9
+ from enum import StrEnum
11
10
  import dataclasses
12
11
  from pkgs.serialization import serial_class
13
12
  from pkgs.serialization import serial_string_enum
@@ -78,6 +77,6 @@ class SimpleInput:
78
77
  quantity_type: IngredientQuantityType
79
78
  name: str
80
79
  is_parameter: bool
81
- intermediate_recipe_id: typing.Optional[base_t.ObjectId]
80
+ intermediate_recipe_id: base_t.ObjectId | None
82
81
  input_type: str
83
82
  # DO NOT MODIFY -- This file is generated by type_spec
@@ -1,4 +1,3 @@
1
- # flake8: noqa: F821
2
1
  # ruff: noqa: E402 Q003
3
2
  # fmt: off
4
3
  # isort: skip_file
@@ -1,5 +1,4 @@
1
1
  # DO NOT MODIFY -- This file is generated by type_spec
2
- # flake8: noqa: F821
3
2
  # ruff: noqa: E402 Q003
4
3
  # fmt: off
5
4
  # isort: skip_file
@@ -7,7 +6,7 @@ from __future__ import annotations
7
6
  import typing # noqa: F401
8
7
  import datetime # noqa: F401
9
8
  from decimal import Decimal # noqa: F401
10
- from pkgs.strenum_compat import StrEnum
9
+ from enum import StrEnum
11
10
  import dataclasses
12
11
  from pkgs.serialization import serial_class
13
12
  from . import auth_retrieval_t
@@ -1,4 +1,3 @@
1
- # flake8: noqa: F821
2
1
  # ruff: noqa: E402 Q003
3
2
  # fmt: off
4
3
  # isort: skip_file
@@ -1,5 +1,4 @@
1
1
  # DO NOT MODIFY -- This file is generated by type_spec
2
- # flake8: noqa: F821
3
2
  # ruff: noqa: E402 Q003
4
3
  # fmt: off
5
4
  # isort: skip_file
@@ -7,7 +6,7 @@ from __future__ import annotations
7
6
  import typing # noqa: F401
8
7
  import datetime # noqa: F401
9
8
  from decimal import Decimal # noqa: F401
10
- from pkgs.strenum_compat import StrEnum
9
+ from enum import StrEnum
11
10
  import dataclasses
12
11
  from pkgs.serialization import serial_class
13
12
  from pkgs.serialization import serial_union_annotation
@@ -126,7 +125,7 @@ class GenericUploadDataSourceS3(GenericUploadDataSourceBase):
126
125
 
127
126
  # DO NOT MODIFY -- This file is generated by type_spec
128
127
  GenericUploadDataSource = typing.Annotated[
129
- typing.Union[GenericUploadDataSourceSFTP, GenericUploadDataSourceS3],
128
+ GenericUploadDataSourceSFTP | GenericUploadDataSourceS3,
130
129
  serial_union_annotation(
131
130
  named_type_path="sdk.job_definition.GenericUploadDataSource",
132
131
  discriminator="type",
@@ -153,7 +152,7 @@ class JobExecutorGenericUpload(JobExecutorBase):
153
152
 
154
153
  # DO NOT MODIFY -- This file is generated by type_spec
155
154
  JobExecutor = typing.Annotated[
156
- typing.Union[JobExecutorScript, JobExecutorGenericUpload],
155
+ JobExecutorScript | JobExecutorGenericUpload,
157
156
  serial_union_annotation(
158
157
  named_type_path="sdk.job_definition.JobExecutor",
159
158
  discriminator="type",
@@ -212,7 +211,7 @@ class WebhookJobDefinition(JobDefinitionBase):
212
211
 
213
212
  # DO NOT MODIFY -- This file is generated by type_spec
214
213
  JobDefinition = typing.Annotated[
215
- typing.Union[CronJobDefinition, WebhookJobDefinition],
214
+ CronJobDefinition | WebhookJobDefinition,
216
215
  serial_union_annotation(
217
216
  named_type_path="sdk.job_definition.JobDefinition",
218
217
  discriminator="type",
@@ -246,7 +245,7 @@ class ProfileMetadata:
246
245
  name: str
247
246
  base_url: str
248
247
  auth_retrieval: auth_retrieval_t.AuthRetrieval
249
- client_options: typing.Optional[client_config_t.ClientConfigOptions]
248
+ client_options: client_config_t.ClientConfigOptions | None
250
249
  jobs: list[JobDefinition]
251
250
 
252
251
 
@@ -1,4 +1,3 @@
1
- # flake8: noqa: F821
2
1
  # ruff: noqa: E402 Q003
3
2
  # fmt: off
4
3
  # isort: skip_file
@@ -1,5 +1,4 @@
1
1
  # DO NOT MODIFY -- This file is generated by type_spec
2
- # flake8: noqa: F821
3
2
  # ruff: noqa: E402 Q003
4
3
  # fmt: off
5
4
  # isort: skip_file
@@ -25,6 +24,6 @@ __all__: list[str] = [
25
24
  class SimpleOutput:
26
25
  output_id: base_t.ObjectId
27
26
  name: str
28
- unit: typing.Optional[units_t.SimpleUnit]
27
+ unit: units_t.SimpleUnit | None
29
28
  quantity_type: str
30
29
  # DO NOT MODIFY -- This file is generated by type_spec
@@ -1,4 +1,3 @@
1
- # flake8: noqa: F821
2
1
  # ruff: noqa: E402 Q003
3
2
  # fmt: off
4
3
  # isort: skip_file
@@ -1,5 +1,4 @@
1
1
  # DO NOT MODIFY -- This file is generated by type_spec
2
- # flake8: noqa: F821
3
2
  # ruff: noqa: E402 Q003
4
3
  # fmt: off
5
4
  # isort: skip_file
@@ -1,4 +1,3 @@
1
- # flake8: noqa: F821
2
1
  # ruff: noqa: E402 Q003
3
2
  # fmt: off
4
3
  # isort: skip_file
@@ -1,5 +1,4 @@
1
1
  # DO NOT MODIFY -- This file is generated by type_spec
2
- # flake8: noqa: F821
3
2
  # ruff: noqa: E402 Q003
4
3
  # fmt: off
5
4
  # isort: skip_file
@@ -7,7 +6,7 @@ from __future__ import annotations
7
6
  import typing # noqa: F401
8
7
  import datetime # noqa: F401
9
8
  from decimal import Decimal # noqa: F401
10
- from pkgs.strenum_compat import StrEnum
9
+ from enum import StrEnum
11
10
  from pkgs.serialization import serial_string_enum
12
11
 
13
12
  __all__: list[str] = [
@@ -1,4 +1,3 @@
1
- # flake8: noqa: F821
2
1
  # ruff: noqa: E402 Q003
3
2
  # fmt: off
4
3
  # isort: skip_file
@@ -1,5 +1,4 @@
1
1
  # DO NOT MODIFY -- This file is generated by type_spec
2
- # flake8: noqa: F821
3
2
  # ruff: noqa: E402 Q003
4
3
  # fmt: off
5
4
  # isort: skip_file
@@ -1,4 +1,3 @@
1
- # flake8: noqa: F821
2
1
  # ruff: noqa: E402 Q003
3
2
  # fmt: off
4
3
  # isort: skip_file
@@ -1,5 +1,4 @@
1
1
  # DO NOT MODIFY -- This file is generated by type_spec
2
- # flake8: noqa: F821
3
2
  # ruff: noqa: E402 Q003
4
3
  # fmt: off
5
4
  # isort: skip_file
@@ -7,7 +6,7 @@ from __future__ import annotations
7
6
  import typing # noqa: F401
8
7
  import datetime # noqa: F401
9
8
  from decimal import Decimal # noqa: F401
10
- from pkgs.strenum_compat import StrEnum
9
+ from enum import StrEnum
11
10
  from pkgs.serialization import serial_string_enum
12
11
 
13
12
  __all__: list[str] = [
@@ -1,4 +1,3 @@
1
- # flake8: noqa: F821
2
1
  # ruff: noqa: E402 Q003
3
2
  # fmt: off
4
3
  # isort: skip_file
@@ -1,5 +1,4 @@
1
1
  # DO NOT MODIFY -- This file is generated by type_spec
2
- # flake8: noqa: F821
3
2
  # ruff: noqa: E402 Q003
4
3
  # fmt: off
5
4
  # isort: skip_file
@@ -7,7 +6,7 @@ from __future__ import annotations
7
6
  import typing # noqa: F401
8
7
  import datetime # noqa: F401
9
8
  from decimal import Decimal # noqa: F401
10
- from pkgs.strenum_compat import StrEnum
9
+ from enum import StrEnum
11
10
  import dataclasses
12
11
  from pkgs.serialization import serial_class
13
12
  from pkgs.serialization import serial_union_annotation
@@ -77,7 +76,7 @@ class InvocationContextWebhook(InvocationContextBase):
77
76
 
78
77
  # DO NOT MODIFY -- This file is generated by type_spec
79
78
  InvocationContext = typing.Annotated[
80
- typing.Union[InvocationContextCron, InvocationContextManual, InvocationContextWebhook],
79
+ InvocationContextCron | InvocationContextManual | InvocationContextWebhook,
81
80
  serial_union_annotation(
82
81
  named_type_path="sdk.queued_job.InvocationContext",
83
82
  discriminator="type",
@@ -1,4 +1,3 @@
1
- # flake8: noqa: F821
2
1
  # ruff: noqa: E402 Q003
3
2
  # fmt: off
4
3
  # isort: skip_file
@@ -1,5 +1,4 @@
1
1
  # DO NOT MODIFY -- This file is generated by type_spec
2
- # flake8: noqa: F821
3
2
  # ruff: noqa: E402 Q003
4
3
  # fmt: off
5
4
  # isort: skip_file
@@ -59,7 +58,7 @@ class RecipeIdentifierMaterialFamily:
59
58
 
60
59
  # DO NOT MODIFY -- This file is generated by type_spec
61
60
  RecipeIdentifier = typing.Annotated[
62
- typing.Union[RecipeIdentifierEditableName, RecipeIdentifierMetadata, RecipeIdentifierMaterialFamily],
61
+ RecipeIdentifierEditableName | RecipeIdentifierMetadata | RecipeIdentifierMaterialFamily,
63
62
  serial_alias_annotation(
64
63
  named_type_path="sdk.recipe_identifiers.RecipeIdentifier",
65
64
  ),
@@ -1,4 +1,3 @@
1
- # flake8: noqa: F821
2
1
  # ruff: noqa: E402 Q003
3
2
  # fmt: off
4
3
  # isort: skip_file
@@ -1,5 +1,4 @@
1
1
  # DO NOT MODIFY -- This file is generated by type_spec
2
- # flake8: noqa: F821
3
2
  # ruff: noqa: E402 Q003
4
3
  # fmt: off
5
4
  # isort: skip_file
@@ -7,7 +6,7 @@ from __future__ import annotations
7
6
  import typing # noqa: F401
8
7
  import datetime # noqa: F401
9
8
  from decimal import Decimal # noqa: F401
10
- from pkgs.strenum_compat import StrEnum
9
+ from enum import StrEnum
11
10
 
12
11
  __all__: list[str] = [
13
12
  "InputValueType",
@@ -1,4 +1,3 @@
1
- # flake8: noqa: F821
2
1
  # ruff: noqa: E402 Q003
3
2
  # fmt: off
4
3
  # isort: skip_file
@@ -1,5 +1,4 @@
1
1
  # DO NOT MODIFY -- This file is generated by type_spec
2
- # flake8: noqa: F821
3
2
  # ruff: noqa: E402 Q003
4
3
  # fmt: off
5
4
  # isort: skip_file
@@ -7,7 +6,7 @@ from __future__ import annotations
7
6
  import typing # noqa: F401
8
7
  import datetime # noqa: F401
9
8
  from decimal import Decimal # noqa: F401
10
- from pkgs.strenum_compat import StrEnum
9
+ from enum import StrEnum
11
10
  import dataclasses
12
11
  from pkgs.serialization import serial_class
13
12
  from pkgs.serialization import serial_string_enum
@@ -50,5 +49,5 @@ class RecipeLink:
50
49
  recipe_id_from: base_t.ObjectId
51
50
  recipe_id_to: base_t.ObjectId
52
51
  link_type: str
53
- name: typing.Optional[str]
52
+ name: str | None
54
53
  # DO NOT MODIFY -- This file is generated by type_spec
@@ -1,4 +1,3 @@
1
- # flake8: noqa: F821
2
1
  # ruff: noqa: E402 Q003
3
2
  # fmt: off
4
3
  # isort: skip_file
@@ -1,5 +1,4 @@
1
1
  # DO NOT MODIFY -- This file is generated by type_spec
2
- # flake8: noqa: F821
3
2
  # ruff: noqa: E402 Q003
4
3
  # fmt: off
5
4
  # isort: skip_file
@@ -1,4 +1,3 @@
1
- # flake8: noqa: F821
2
1
  # ruff: noqa: E402 Q003
3
2
  # fmt: off
4
3
  # isort: skip_file
@@ -1,5 +1,4 @@
1
1
  # DO NOT MODIFY -- This file is generated by type_spec
2
- # flake8: noqa: F821
3
2
  # ruff: noqa: E402 Q003
4
3
  # fmt: off
5
4
  # isort: skip_file
@@ -1,4 +1,3 @@
1
- # flake8: noqa: F821
2
1
  # ruff: noqa: E402 Q003
3
2
  # fmt: off
4
3
  # isort: skip_file
@@ -1,5 +1,4 @@
1
1
  # DO NOT MODIFY -- This file is generated by type_spec
2
- # flake8: noqa: F821
3
2
  # ruff: noqa: E402 Q003
4
3
  # fmt: off
5
4
  # isort: skip_file
@@ -1,4 +1,3 @@
1
- # flake8: noqa: F821
2
1
  # ruff: noqa: E402 Q003
3
2
  # fmt: off
4
3
  # isort: skip_file
@@ -1,5 +1,4 @@
1
1
  # DO NOT MODIFY -- This file is generated by type_spec
2
- # flake8: noqa: F821
3
2
  # ruff: noqa: E402 Q003
4
3
  # fmt: off
5
4
  # isort: skip_file
@@ -7,7 +6,7 @@ from __future__ import annotations
7
6
  import typing # noqa: F401
8
7
  import datetime # noqa: F401
9
8
  from decimal import Decimal # noqa: F401
10
- from pkgs.strenum_compat import StrEnum
9
+ from enum import StrEnum
11
10
  import dataclasses
12
11
  from pkgs.serialization import serial_class
13
12
  from pkgs.serialization import serial_union_annotation
@@ -81,7 +80,7 @@ class RecipeWorkflowStepIdentifierKey:
81
80
 
82
81
  # DO NOT MODIFY -- This file is generated by type_spec
83
82
  RecipeWorkflowStepIdentifier = typing.Annotated[
84
- typing.Union[RecipeWorkflowStepIdentifierDefault, RecipeWorkflowStepIdentifierWorkflowStep, RecipeWorkflowStepIdentifierKey],
83
+ RecipeWorkflowStepIdentifierDefault | RecipeWorkflowStepIdentifierWorkflowStep | RecipeWorkflowStepIdentifierKey,
85
84
  serial_union_annotation(
86
85
  named_type_path="sdk.recipe_workflow_steps.RecipeWorkflowStepIdentifier",
87
86
  discriminator="type",
@@ -1,4 +1,3 @@
1
- # flake8: noqa: F821
2
1
  # ruff: noqa: E402 Q003
3
2
  # fmt: off
4
3
  # isort: skip_file
@@ -1,5 +1,4 @@
1
1
  # DO NOT MODIFY -- This file is generated by type_spec
2
- # flake8: noqa: F821
3
2
  # ruff: noqa: E402 Q003
4
3
  # fmt: off
5
4
  # isort: skip_file
@@ -1,4 +1,3 @@
1
- # flake8: noqa: F821
2
1
  # ruff: noqa: E402 Q003
3
2
  # fmt: off
4
3
  # isort: skip_file
@@ -1,5 +1,4 @@
1
1
  # DO NOT MODIFY -- This file is generated by type_spec
2
- # flake8: noqa: F821
3
2
  # ruff: noqa: E402 Q003
4
3
  # fmt: off
5
4
  # isort: skip_file
@@ -1,4 +1,3 @@
1
- # flake8: noqa: F821
2
1
  # ruff: noqa: E402 Q003
3
2
  # fmt: off
4
3
  # isort: skip_file
@@ -1,5 +1,4 @@
1
1
  # DO NOT MODIFY -- This file is generated by type_spec
2
- # flake8: noqa: F821
3
2
  # ruff: noqa: E402 Q003
4
3
  # fmt: off
5
4
  # isort: skip_file
@@ -7,7 +6,7 @@ from __future__ import annotations
7
6
  import typing # noqa: F401
8
7
  import datetime # noqa: F401
9
8
  from decimal import Decimal # noqa: F401
10
- from pkgs.strenum_compat import StrEnum
9
+ from enum import StrEnum
11
10
  import dataclasses
12
11
  from pkgs.serialization import serial_class
13
12
  from pkgs.serialization import serial_union_annotation
@@ -62,7 +61,7 @@ class SecretRetrievalAWS(SecretRetrievalBase):
62
61
 
63
62
  # DO NOT MODIFY -- This file is generated by type_spec
64
63
  SecretRetrieval = typing.Annotated[
65
- typing.Union[SecretRetrievalEnv, SecretRetrievalAWS],
64
+ SecretRetrievalEnv | SecretRetrievalAWS,
66
65
  serial_union_annotation(
67
66
  named_type_path="sdk.secret_retrieval.SecretRetrieval",
68
67
  discriminator="type",
@@ -1,4 +1,3 @@
1
- # flake8: noqa: F821
2
1
  # ruff: noqa: E402 Q003
3
2
  # fmt: off
4
3
  # isort: skip_file
@@ -1,5 +1,4 @@
1
1
  # DO NOT MODIFY -- This file is generated by type_spec
2
- # flake8: noqa: F821
3
2
  # ruff: noqa: E402 Q003
4
3
  # fmt: off
5
4
  # isort: skip_file
@@ -1,4 +1,3 @@
1
- # flake8: noqa: F821
2
1
  # ruff: noqa: E402 Q003
3
2
  # fmt: off
4
3
  # isort: skip_file
@@ -1,5 +1,4 @@
1
1
  # DO NOT MODIFY -- This file is generated by type_spec
2
- # flake8: noqa: F821
3
2
  # ruff: noqa: E402 Q003
4
3
  # fmt: off
5
4
  # isort: skip_file
@@ -1,4 +1,3 @@
1
- # flake8: noqa: F821
2
1
  # ruff: noqa: E402 Q003
3
2
  # fmt: off
4
3
  # isort: skip_file
@@ -1,5 +1,4 @@
1
1
  # DO NOT MODIFY -- This file is generated by type_spec
2
- # flake8: noqa: F821
3
2
  # ruff: noqa: E402 Q003
4
3
  # fmt: off
5
4
  # isort: skip_file
@@ -1,4 +1,3 @@
1
- # flake8: noqa: F821
2
1
  # ruff: noqa: E402 Q003
3
2
  # fmt: off
4
3
  # isort: skip_file
@@ -1,5 +1,4 @@
1
1
  # DO NOT MODIFY -- This file is generated by type_spec
2
- # flake8: noqa: F821
3
2
  # ruff: noqa: E402 Q003
4
3
  # fmt: off
5
4
  # isort: skip_file
@@ -24,7 +23,7 @@ __all__: list[str] = [
24
23
  @dataclasses.dataclass(kw_only=True)
25
24
  class SimpleWorkflowStep:
26
25
  workflow_step_id: base_t.ObjectId
27
- name: typing.Optional[str]
26
+ name: str | None
28
27
 
29
28
 
30
29
  # DO NOT MODIFY -- This file is generated by type_spec