UncountablePythonSDK 0.0.39__py3-none-any.whl → 0.0.40__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 (127) hide show
  1. {UncountablePythonSDK-0.0.39.dist-info → UncountablePythonSDK-0.0.40.dist-info}/METADATA +1 -1
  2. UncountablePythonSDK-0.0.40.dist-info/RECORD +222 -0
  3. {UncountablePythonSDK-0.0.39.dist-info → UncountablePythonSDK-0.0.40.dist-info}/WHEEL +1 -1
  4. pkgs/type_spec/emit_python.py +40 -7
  5. pkgs/type_spec/type_info/emit_type_info.py +1 -1
  6. uncountable/types/__init__.py +29 -29
  7. uncountable/types/api/batch/execute_batch.py +1 -1
  8. uncountable/types/api/batch/execute_batch_load_async.py +2 -2
  9. uncountable/types/api/chemical/convert_chemical_formats.py +1 -1
  10. uncountable/types/api/entity/create_entities.py +3 -3
  11. uncountable/types/api/entity/create_entity.py +3 -3
  12. uncountable/types/api/entity/get_entities_data.py +3 -3
  13. uncountable/types/api/entity/list_entities.py +2 -2
  14. uncountable/types/api/entity/lock_entity.py +3 -3
  15. uncountable/types/api/entity/resolve_entity_ids.py +2 -2
  16. uncountable/types/api/entity/set_values.py +3 -3
  17. uncountable/types/api/entity/transition_entity_phase.py +3 -3
  18. uncountable/types/api/entity/unlock_entity.py +3 -3
  19. uncountable/types/api/equipment/associate_equipment_input.py +3 -3
  20. uncountable/types/api/field_options/upsert_field_options.py +1 -1
  21. uncountable/types/api/id_source/list_id_source.py +2 -2
  22. uncountable/types/api/id_source/match_id_source.py +2 -2
  23. uncountable/types/api/input_groups/get_input_group_names.py +1 -1
  24. uncountable/types/api/inputs/create_inputs.py +3 -3
  25. uncountable/types/api/inputs/get_input_data.py +2 -2
  26. uncountable/types/api/inputs/get_input_names.py +1 -1
  27. uncountable/types/api/inputs/get_inputs_data.py +2 -2
  28. uncountable/types/api/inputs/set_input_attribute_values.py +2 -2
  29. uncountable/types/api/inputs/set_input_category.py +2 -2
  30. uncountable/types/api/inputs/set_input_subcategories.py +3 -3
  31. uncountable/types/api/inputs/set_intermediate_type.py +1 -1
  32. uncountable/types/api/material_families/update_entity_material_families.py +5 -5
  33. uncountable/types/api/outputs/get_output_data.py +2 -2
  34. uncountable/types/api/outputs/get_output_names.py +1 -1
  35. uncountable/types/api/outputs/resolve_output_conditions.py +1 -1
  36. uncountable/types/api/permissions/set_core_permissions.py +3 -3
  37. uncountable/types/api/project/get_projects.py +2 -2
  38. uncountable/types/api/project/get_projects_data.py +4 -4
  39. uncountable/types/api/recipe_links/create_recipe_link.py +3 -3
  40. uncountable/types/api/recipe_links/remove_recipe_link.py +3 -3
  41. uncountable/types/api/recipe_metadata/get_recipe_metadata_data.py +1 -1
  42. uncountable/types/api/recipes/add_recipe_to_project.py +1 -1
  43. uncountable/types/api/recipes/archive_recipes.py +1 -1
  44. uncountable/types/api/recipes/associate_recipe_as_input.py +2 -2
  45. uncountable/types/api/recipes/associate_recipe_as_lot.py +2 -2
  46. uncountable/types/api/recipes/create_recipe.py +4 -4
  47. uncountable/types/api/recipes/create_recipes.py +2 -2
  48. uncountable/types/api/recipes/disassociate_recipe_as_input.py +2 -2
  49. uncountable/types/api/recipes/edit_recipe_inputs.py +3 -3
  50. uncountable/types/api/recipes/get_curve.py +2 -2
  51. uncountable/types/api/recipes/get_recipe_calculations.py +2 -2
  52. uncountable/types/api/recipes/get_recipe_links.py +2 -2
  53. uncountable/types/api/recipes/get_recipe_names.py +1 -1
  54. uncountable/types/api/recipes/get_recipe_output_metadata.py +2 -2
  55. uncountable/types/api/recipes/get_recipes_data.py +7 -7
  56. uncountable/types/api/recipes/lock_recipes.py +1 -1
  57. uncountable/types/api/recipes/remove_recipe_from_project.py +1 -1
  58. uncountable/types/api/recipes/set_recipe_inputs.py +1 -1
  59. uncountable/types/api/recipes/set_recipe_metadata.py +2 -2
  60. uncountable/types/api/recipes/set_recipe_output_annotations.py +2 -2
  61. uncountable/types/api/recipes/set_recipe_outputs.py +3 -3
  62. uncountable/types/api/recipes/set_recipe_tags.py +2 -2
  63. uncountable/types/api/recipes/unarchive_recipes.py +1 -1
  64. uncountable/types/api/recipes/unlock_recipes.py +1 -1
  65. uncountable/types/api/triggers/run_trigger.py +2 -2
  66. uncountable/types/async_batch.py +5 -53
  67. uncountable/types/async_batch_processor.py +6 -6
  68. uncountable/types/async_batch_t.py +59 -0
  69. uncountable/types/base.py +4 -78
  70. uncountable/types/base_t.py +85 -0
  71. uncountable/types/calculations.py +2 -17
  72. uncountable/types/calculations_t.py +23 -0
  73. uncountable/types/chemical_structure.py +2 -21
  74. uncountable/types/chemical_structure_t.py +27 -0
  75. uncountable/types/client_base.py +12 -12
  76. uncountable/types/curves.py +4 -41
  77. uncountable/types/curves_t.py +47 -0
  78. uncountable/types/entity.py +3 -268
  79. uncountable/types/entity_t.py +274 -0
  80. uncountable/types/experiment_groups.py +2 -17
  81. uncountable/types/experiment_groups_t.py +23 -0
  82. uncountable/types/field_values.py +5 -59
  83. uncountable/types/field_values_t.py +65 -0
  84. uncountable/types/fields.py +2 -18
  85. uncountable/types/fields_t.py +24 -0
  86. uncountable/types/id_source.py +6 -43
  87. uncountable/types/id_source_t.py +49 -0
  88. uncountable/types/identifier.py +5 -48
  89. uncountable/types/identifier_t.py +54 -0
  90. uncountable/types/input_attributes.py +2 -23
  91. uncountable/types/input_attributes_t.py +29 -0
  92. uncountable/types/inputs.py +4 -56
  93. uncountable/types/inputs_t.py +62 -0
  94. uncountable/types/outputs.py +2 -20
  95. uncountable/types/outputs_t.py +26 -0
  96. uncountable/types/permissions.py +2 -40
  97. uncountable/types/permissions_t.py +46 -0
  98. uncountable/types/phases.py +2 -17
  99. uncountable/types/phases_t.py +23 -0
  100. uncountable/types/post_base.py +2 -24
  101. uncountable/types/post_base_t.py +30 -0
  102. uncountable/types/recipe_identifiers.py +6 -56
  103. uncountable/types/recipe_identifiers_t.py +62 -0
  104. uncountable/types/recipe_inputs.py +3 -24
  105. uncountable/types/recipe_inputs_t.py +30 -0
  106. uncountable/types/recipe_links.py +3 -44
  107. uncountable/types/recipe_links_t.py +50 -0
  108. uncountable/types/recipe_metadata.py +4 -46
  109. uncountable/types/recipe_metadata_t.py +52 -0
  110. uncountable/types/recipe_output_metadata.py +2 -18
  111. uncountable/types/recipe_output_metadata_t.py +24 -0
  112. uncountable/types/recipe_tags.py +2 -17
  113. uncountable/types/recipe_tags_t.py +23 -0
  114. uncountable/types/recipe_workflow_steps.py +8 -82
  115. uncountable/types/recipe_workflow_steps_t.py +88 -0
  116. uncountable/types/recipes.py +2 -15
  117. uncountable/types/recipes_t.py +21 -0
  118. uncountable/types/response.py +2 -19
  119. uncountable/types/response_t.py +25 -0
  120. uncountable/types/units.py +2 -17
  121. uncountable/types/units_t.py +23 -0
  122. uncountable/types/users.py +2 -18
  123. uncountable/types/users_t.py +24 -0
  124. uncountable/types/workflows.py +3 -26
  125. uncountable/types/workflows_t.py +32 -0
  126. UncountablePythonSDK-0.0.39.dist-info/RECORD +0 -193
  127. {UncountablePythonSDK-0.0.39.dist-info → UncountablePythonSDK-0.0.40.dist-info}/top_level.txt +0 -0
@@ -8,8 +8,8 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from dataclasses import dataclass
11
- from ... import base as base_t
12
- from ... import id_source as id_source_t
11
+ from ... import base_t
12
+ from ... import id_source_t
13
13
 
14
14
  __all__: list[str] = [
15
15
  "Arguments",
@@ -8,8 +8,8 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from dataclasses import dataclass
11
- from ... import base as base_t
12
- from ... import id_source as id_source_t
11
+ from ... import base_t
12
+ from ... import id_source_t
13
13
 
14
14
  __all__: list[str] = [
15
15
  "Arguments",
@@ -8,7 +8,7 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from dataclasses import dataclass
11
- from ... import base as base_t
11
+ from ... import base_t
12
12
 
13
13
  __all__: list[str] = [
14
14
  "Arguments",
@@ -8,9 +8,9 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from dataclasses import dataclass
11
- from ... import base as base_t
12
- from ... import input_attributes as input_attributes_t
13
- from ... import inputs as inputs_t
11
+ from ... import base_t
12
+ from ... import input_attributes_t
13
+ from ... import inputs_t
14
14
 
15
15
  __all__: list[str] = [
16
16
  "Arguments",
@@ -8,8 +8,8 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from dataclasses import dataclass
11
- from ... import base as base_t
12
- from ... import input_attributes as input_attributes_t
11
+ from ... import base_t
12
+ from ... import input_attributes_t
13
13
 
14
14
  __all__: list[str] = [
15
15
  "Arguments",
@@ -8,7 +8,7 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from dataclasses import dataclass
11
- from ... import base as base_t
11
+ from ... import base_t
12
12
 
13
13
  __all__: list[str] = [
14
14
  "Arguments",
@@ -8,8 +8,8 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from dataclasses import dataclass
11
- from ... import base as base_t
12
- from ... import input_attributes as input_attributes_t
11
+ from ... import base_t
12
+ from ... import input_attributes_t
13
13
 
14
14
  __all__: list[str] = [
15
15
  "Arguments",
@@ -9,8 +9,8 @@ import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from dataclasses import dataclass
11
11
  from pkgs.serialization import serial_class
12
- from ... import base as base_t
13
- from ... import response as response_t
12
+ from ... import base_t
13
+ from ... import response_t
14
14
 
15
15
  __all__: list[str] = [
16
16
  "Arguments",
@@ -8,8 +8,8 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from dataclasses import dataclass
11
- from ... import identifier as identifier_t
12
- from ... import response as response_t
11
+ from ... import identifier_t
12
+ from ... import response_t
13
13
 
14
14
  __all__: list[str] = [
15
15
  "Arguments",
@@ -8,9 +8,9 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from dataclasses import dataclass
11
- from ... import identifier as identifier_t
12
- from ... import post_base as post_base_t
13
- from ... import response as response_t
11
+ from ... import identifier_t
12
+ from ... import post_base_t
13
+ from ... import response_t
14
14
 
15
15
  __all__: list[str] = [
16
16
  "Arguments",
@@ -9,7 +9,7 @@ import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from pkgs.strenum_compat import StrEnum
11
11
  from dataclasses import dataclass
12
- from ... import identifier as identifier_t
12
+ from ... import identifier_t
13
13
 
14
14
  __all__: list[str] = [
15
15
  "Arguments",
@@ -8,11 +8,11 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from dataclasses import dataclass
11
- from ... import base as base_t
12
- from ... import entity as entity_t
13
- from ... import identifier as identifier_t
14
- from ... import post_base as post_base_t
15
- from ... import response as response_t
11
+ from ... import base_t
12
+ from ... import entity_t
13
+ from ... import identifier_t
14
+ from ... import post_base_t
15
+ from ... import response_t
16
16
 
17
17
  __all__: list[str] = [
18
18
  "Arguments",
@@ -9,8 +9,8 @@ import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from dataclasses import dataclass
11
11
  from pkgs.serialization import serial_class
12
- from ... import base as base_t
13
- from ... import units as units_t
12
+ from ... import base_t
13
+ from ... import units_t
14
14
 
15
15
  __all__: list[str] = [
16
16
  "Arguments",
@@ -8,7 +8,7 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from dataclasses import dataclass
11
- from ... import base as base_t
11
+ from ... import base_t
12
12
 
13
13
  __all__: list[str] = [
14
14
  "Arguments",
@@ -9,7 +9,7 @@ import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from dataclasses import dataclass
11
11
  from pkgs.serialization import serial_class
12
- from ... import base as base_t
12
+ from ... import base_t
13
13
 
14
14
  __all__: list[str] = [
15
15
  "Arguments",
@@ -9,9 +9,9 @@ import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from dataclasses import dataclass
11
11
  from pkgs.serialization import serial_class
12
- from ... import identifier as identifier_t
13
- from ... import permissions as permissions_t
14
- from ... import post_base as post_base_t
12
+ from ... import identifier_t
13
+ from ... import permissions_t
14
+ from ... import post_base_t
15
15
 
16
16
  __all__: list[str] = [
17
17
  "Arguments",
@@ -8,8 +8,8 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from dataclasses import dataclass
11
- from ... import base as base_t
12
- from ... import phases as phases_t
11
+ from ... import base_t
12
+ from ... import phases_t
13
13
 
14
14
  __all__: list[str] = [
15
15
  "Arguments",
@@ -8,10 +8,10 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from dataclasses import dataclass
11
- from ... import base as base_t
12
- from ... import field_values as field_values_t
13
- from ... import fields as fields_t
14
- from ... import phases as phases_t
11
+ from ... import base_t
12
+ from ... import field_values_t
13
+ from ... import fields_t
14
+ from ... import phases_t
15
15
 
16
16
  __all__: list[str] = [
17
17
  "Arguments",
@@ -8,9 +8,9 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from dataclasses import dataclass
11
- from ... import async_batch as async_batch_t
12
- from ... import identifier as identifier_t
13
- from ... import recipe_links as recipe_links_t
11
+ from ... import async_batch_t
12
+ from ... import identifier_t
13
+ from ... import recipe_links_t
14
14
 
15
15
  __all__: list[str] = [
16
16
  "Arguments",
@@ -8,9 +8,9 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from dataclasses import dataclass
11
- from ... import async_batch as async_batch_t
12
- from ... import identifier as identifier_t
13
- from ... import recipe_links as recipe_links_t
11
+ from ... import async_batch_t
12
+ from ... import identifier_t
13
+ from ... import recipe_links_t
14
14
 
15
15
  __all__: list[str] = [
16
16
  "Arguments",
@@ -8,7 +8,7 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from dataclasses import dataclass
11
- from ... import base as base_t
11
+ from ... import base_t
12
12
 
13
13
  __all__: list[str] = [
14
14
  "Arguments",
@@ -8,7 +8,7 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from dataclasses import dataclass
11
- from ... import identifier as identifier_t
11
+ from ... import identifier_t
12
12
 
13
13
  __all__: list[str] = [
14
14
  "Arguments",
@@ -8,7 +8,7 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from dataclasses import dataclass
11
- from ... import identifier as identifier_t
11
+ from ... import identifier_t
12
12
 
13
13
  __all__: list[str] = [
14
14
  "Arguments",
@@ -8,8 +8,8 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from dataclasses import dataclass
11
- from ... import async_batch as async_batch_t
12
- from ... import identifier as identifier_t
11
+ from ... import async_batch_t
12
+ from ... import identifier_t
13
13
 
14
14
  __all__: list[str] = [
15
15
  "Arguments",
@@ -8,8 +8,8 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from dataclasses import dataclass
11
- from ... import async_batch as async_batch_t
12
- from ... import identifier as identifier_t
11
+ from ... import async_batch_t
12
+ from ... import identifier_t
13
13
 
14
14
  __all__: list[str] = [
15
15
  "Arguments",
@@ -8,10 +8,10 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from dataclasses import dataclass
11
- from ... import base as base_t
12
- from ... import identifier as identifier_t
13
- from ... import recipe_identifiers as recipe_identifiers_t
14
- from ... import recipe_metadata as recipe_metadata_t
11
+ from ... import base_t
12
+ from ... import identifier_t
13
+ from ... import recipe_identifiers_t
14
+ from ... import recipe_metadata_t
15
15
 
16
16
  __all__: list[str] = [
17
17
  "Arguments",
@@ -8,8 +8,8 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from dataclasses import dataclass
11
- from ... import base as base_t
12
- from ... import recipe_metadata as recipe_metadata_t
11
+ from ... import base_t
12
+ from ... import recipe_metadata_t
13
13
 
14
14
  __all__: list[str] = [
15
15
  "Arguments",
@@ -8,8 +8,8 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from dataclasses import dataclass
11
- from ... import async_batch as async_batch_t
12
- from ... import identifier as identifier_t
11
+ from ... import async_batch_t
12
+ from ... import identifier_t
13
13
 
14
14
  __all__: list[str] = [
15
15
  "Arguments",
@@ -11,9 +11,9 @@ from pkgs.strenum_compat import StrEnum
11
11
  from dataclasses import dataclass
12
12
  from pkgs.serialization import serial_class
13
13
  from pkgs.serialization import serial_union_annotation
14
- from ... import identifier as identifier_t
15
- from ... import recipe_inputs as recipe_inputs_t
16
- from ... import recipe_workflow_steps as recipe_workflow_steps_t
14
+ from ... import identifier_t
15
+ from ... import recipe_inputs_t
16
+ from ... import recipe_workflow_steps_t
17
17
 
18
18
  __all__: list[str] = [
19
19
  "AnnotationEdit",
@@ -8,8 +8,8 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from dataclasses import dataclass
11
- from ... import base as base_t
12
- from ... import curves as curves_t
11
+ from ... import base_t
12
+ from ... import curves_t
13
13
 
14
14
  __all__: list[str] = [
15
15
  "Arguments",
@@ -9,8 +9,8 @@ import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from dataclasses import dataclass
11
11
  from pkgs.serialization import serial_class
12
- from ... import base as base_t
13
- from ... import calculations as calculations_t
12
+ from ... import base_t
13
+ from ... import calculations_t
14
14
 
15
15
  __all__: list[str] = [
16
16
  "Arguments",
@@ -8,8 +8,8 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from dataclasses import dataclass
11
- from ... import base as base_t
12
- from ... import recipe_links as recipe_links_t
11
+ from ... import base_t
12
+ from ... import recipe_links_t
13
13
 
14
14
  __all__: list[str] = [
15
15
  "Arguments",
@@ -8,7 +8,7 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from dataclasses import dataclass
11
- from ... import base as base_t
11
+ from ... import base_t
12
12
 
13
13
  __all__: list[str] = [
14
14
  "Arguments",
@@ -9,8 +9,8 @@ import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from dataclasses import dataclass
11
11
  from pkgs.serialization import serial_class
12
- from ... import base as base_t
13
- from ... import recipe_output_metadata as recipe_output_metadata_t
12
+ from ... import base_t
13
+ from ... import recipe_output_metadata_t
14
14
 
15
15
  __all__: list[str] = [
16
16
  "Arguments",
@@ -9,13 +9,13 @@ import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from dataclasses import dataclass
11
11
  from pkgs.serialization import serial_class
12
- from ... import base as base_t
13
- from ... import experiment_groups as experiment_groups_t
14
- from ... import inputs as inputs_t
15
- from ... import outputs as outputs_t
16
- from ... import recipe_metadata as recipe_metadata_t
17
- from ... import recipe_tags as recipe_tags_t
18
- from ... import workflows as workflows_t
12
+ from ... import base_t
13
+ from ... import experiment_groups_t
14
+ from ... import inputs_t
15
+ from ... import outputs_t
16
+ from ... import recipe_metadata_t
17
+ from ... import recipe_tags_t
18
+ from ... import workflows_t
19
19
 
20
20
  __all__: list[str] = [
21
21
  "Arguments",
@@ -9,7 +9,7 @@ import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from pkgs.strenum_compat import StrEnum
11
11
  from dataclasses import dataclass
12
- from ... import identifier as identifier_t
12
+ from ... import identifier_t
13
13
 
14
14
  __all__: list[str] = [
15
15
  "Arguments",
@@ -8,7 +8,7 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from dataclasses import dataclass
11
- from ... import identifier as identifier_t
11
+ from ... import identifier_t
12
12
 
13
13
  __all__: list[str] = [
14
14
  "Arguments",
@@ -9,7 +9,7 @@ import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from dataclasses import dataclass
11
11
  from pkgs.serialization import serial_class
12
- from ... import base as base_t
12
+ from ... import base_t
13
13
 
14
14
  __all__: list[str] = [
15
15
  "Arguments",
@@ -8,8 +8,8 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from dataclasses import dataclass
11
- from ... import identifier as identifier_t
12
- from ... import recipe_metadata as recipe_metadata_t
11
+ from ... import identifier_t
12
+ from ... import recipe_metadata_t
13
13
 
14
14
  __all__: list[str] = [
15
15
  "Arguments",
@@ -11,8 +11,8 @@ from pkgs.strenum_compat import StrEnum
11
11
  from dataclasses import dataclass
12
12
  from pkgs.serialization import serial_class
13
13
  from pkgs.serialization import serial_union_annotation
14
- from ... import base as base_t
15
- from ... import identifier as identifier_t
14
+ from ... import base_t
15
+ from ... import identifier_t
16
16
 
17
17
  __all__: list[str] = [
18
18
  "AnnotationEdit",
@@ -9,9 +9,9 @@ import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from dataclasses import dataclass
11
11
  from pkgs.serialization import serial_class
12
- from ... import base as base_t
13
- from ... import recipes as recipes_t
14
- from ... import response as response_t
12
+ from ... import base_t
13
+ from ... import recipes_t
14
+ from ... import response_t
15
15
 
16
16
  __all__: list[str] = [
17
17
  "Arguments",
@@ -10,8 +10,8 @@ from decimal import Decimal # noqa: F401
10
10
  from pkgs.strenum_compat import StrEnum
11
11
  from dataclasses import dataclass
12
12
  from pkgs.serialization import serial_class
13
- from ... import base as base_t
14
- from ... import identifier as identifier_t
13
+ from ... import base_t
14
+ from ... import identifier_t
15
15
 
16
16
  __all__: list[str] = [
17
17
  "Arguments",
@@ -8,7 +8,7 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from dataclasses import dataclass
11
- from ... import identifier as identifier_t
11
+ from ... import identifier_t
12
12
 
13
13
  __all__: list[str] = [
14
14
  "Arguments",
@@ -9,7 +9,7 @@ import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from pkgs.strenum_compat import StrEnum
11
11
  from dataclasses import dataclass
12
- from ... import identifier as identifier_t
12
+ from ... import identifier_t
13
13
 
14
14
  __all__: list[str] = [
15
15
  "Arguments",
@@ -8,8 +8,8 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from dataclasses import dataclass
11
- from ... import entity as entity_t
12
- from ... import response as response_t
11
+ from ... import entity_t
12
+ from ... import response_t
13
13
 
14
14
  __all__: list[str] = [
15
15
  "Arguments",
@@ -1,59 +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 pkgs.strenum_compat import StrEnum
11
- from dataclasses import dataclass
12
- from pkgs.serialization import serial_class
13
- from . import base as base_t
14
-
15
- __all__: list[str] = [
16
- "AsyncBatchActionReturn",
17
- "AsyncBatchRequest",
18
- "AsyncBatchRequestPath",
19
- "QueuedAsyncBatchRequest",
20
- ]
21
-
22
-
23
- # DO NOT MODIFY -- This file is generated by type_spec
24
- class AsyncBatchRequestPath(StrEnum):
25
- CREATE_RECIPE = "recipes/create_recipe"
26
- SET_RECIPE_METADATA = "recipes/set_recipe_metadata"
27
- SET_RECIPE_TAGS = "recipes/set_recipe_tags"
28
- EDIT_RECIPE_INPUTS = "recipes/edit_recipe_inputs"
29
- ARCHIVE_RECIPES = "recipes/archive"
30
- LOCK_RECIPES = "recipes/lock_recipes"
31
- UNLOCK_RECIPES = "recipes/unlock_recipes"
32
- ASSOCIATE_EQUIPMENT_INPUT = "equipment/associate_equipment_input"
33
-
34
-
35
- # DO NOT MODIFY -- This file is generated by type_spec
36
- @serial_class(
37
- unconverted_values={"data"},
38
- )
39
- @dataclass(kw_only=True)
40
- class AsyncBatchRequest:
41
- path: AsyncBatchRequestPath
42
- data: base_t.JsonValue
43
- batch_reference: str
44
- depends_on: typing.Optional[list[str]] = None
45
-
46
-
47
- # DO NOT MODIFY -- This file is generated by type_spec
48
- @dataclass(kw_only=True)
49
- class AsyncBatchActionReturn:
50
- modification_made: bool
51
- result_id: typing.Optional[base_t.ObjectId] = None
52
-
53
-
54
5
  # DO NOT MODIFY -- This file is generated by type_spec
55
- @dataclass(kw_only=True, frozen=True, eq=True)
56
- class QueuedAsyncBatchRequest:
57
- path: AsyncBatchRequestPath
58
- batch_reference: str
6
+ # Kept only for SDK backwards compatibility
7
+ from .async_batch_t import AsyncBatchRequestPath as AsyncBatchRequestPath
8
+ from .async_batch_t import AsyncBatchRequest as AsyncBatchRequest
9
+ from .async_batch_t import AsyncBatchActionReturn as AsyncBatchActionReturn
10
+ from .async_batch_t import QueuedAsyncBatchRequest as QueuedAsyncBatchRequest
59
11
  # DO NOT MODIFY -- This file is generated by type_spec
@@ -9,14 +9,14 @@ import typing # noqa: F401
9
9
  import datetime # noqa: F401
10
10
  from decimal import Decimal # noqa: F401
11
11
  import uncountable.types.api.equipment.associate_equipment_input as associate_equipment_input_t
12
- from uncountable.types import async_batch as async_batch_t
13
- from uncountable.types import base as base_t
12
+ from uncountable.types import async_batch_t
13
+ from uncountable.types import base_t
14
14
  import uncountable.types.api.recipes.create_recipe as create_recipe_t
15
15
  import uncountable.types.api.recipes.edit_recipe_inputs as edit_recipe_inputs_t
16
- from uncountable.types import identifier as identifier_t
17
- from uncountable.types import recipe_identifiers as recipe_identifiers_t
18
- from uncountable.types import recipe_metadata as recipe_metadata_t
19
- from uncountable.types import recipe_workflow_steps as recipe_workflow_steps_t
16
+ from uncountable.types import identifier_t
17
+ from uncountable.types import recipe_identifiers_t
18
+ from uncountable.types import recipe_metadata_t
19
+ from uncountable.types import recipe_workflow_steps_t
20
20
  import uncountable.types.api.recipes.set_recipe_metadata as set_recipe_metadata_t
21
21
  import uuid
22
22
  from abc import ABC, abstractmethod