UncountablePythonSDK 0.0.72__py3-none-any.whl → 0.0.73__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 (110) hide show
  1. {UncountablePythonSDK-0.0.72.dist-info → UncountablePythonSDK-0.0.73.dist-info}/METADATA +1 -1
  2. {UncountablePythonSDK-0.0.72.dist-info → UncountablePythonSDK-0.0.73.dist-info}/RECORD +110 -110
  3. examples/integration-server/jobs/materials_auto/profile.yaml +1 -1
  4. pkgs/serialization/serial_class.py +5 -0
  5. pkgs/serialization/serial_union.py +3 -0
  6. pkgs/type_spec/builder.py +2 -1
  7. pkgs/type_spec/config.py +5 -0
  8. pkgs/type_spec/emit_python.py +36 -20
  9. pkgs/type_spec/load_types.py +3 -2
  10. uncountable/core/client.py +2 -2
  11. uncountable/integration/entrypoint.py +1 -9
  12. uncountable/integration/queue_runner/worker.py +9 -5
  13. uncountable/integration/server.py +63 -66
  14. uncountable/types/api/batch/execute_batch.py +8 -0
  15. uncountable/types/api/batch/execute_batch_load_async.py +7 -0
  16. uncountable/types/api/chemical/convert_chemical_formats.py +7 -0
  17. uncountable/types/api/entity/create_entities.py +11 -1
  18. uncountable/types/api/entity/create_entity.py +8 -1
  19. uncountable/types/api/entity/get_entities_data.py +10 -0
  20. uncountable/types/api/entity/list_entities.py +8 -0
  21. uncountable/types/api/entity/lock_entity.py +7 -0
  22. uncountable/types/api/entity/resolve_entity_ids.py +10 -0
  23. uncountable/types/api/entity/set_values.py +7 -0
  24. uncountable/types/api/entity/transition_entity_phase.py +8 -0
  25. uncountable/types/api/entity/unlock_entity.py +7 -0
  26. uncountable/types/api/equipment/associate_equipment_input.py +7 -0
  27. uncountable/types/api/field_options/upsert_field_options.py +10 -0
  28. uncountable/types/api/id_source/list_id_source.py +10 -0
  29. uncountable/types/api/id_source/match_id_source.py +10 -0
  30. uncountable/types/api/input_groups/get_input_group_names.py +10 -0
  31. uncountable/types/api/inputs/create_inputs.py +13 -0
  32. uncountable/types/api/inputs/get_input_data.py +19 -0
  33. uncountable/types/api/inputs/get_input_names.py +10 -0
  34. uncountable/types/api/inputs/get_inputs_data.py +19 -0
  35. uncountable/types/api/inputs/set_input_attribute_values.py +7 -0
  36. uncountable/types/api/inputs/set_input_category.py +7 -0
  37. uncountable/types/api/inputs/set_input_subcategories.py +7 -0
  38. uncountable/types/api/inputs/set_intermediate_type.py +7 -0
  39. uncountable/types/api/material_families/update_entity_material_families.py +7 -0
  40. uncountable/types/api/outputs/get_output_data.py +16 -0
  41. uncountable/types/api/outputs/get_output_names.py +10 -0
  42. uncountable/types/api/outputs/resolve_output_conditions.py +13 -0
  43. uncountable/types/api/permissions/set_core_permissions.py +10 -0
  44. uncountable/types/api/project/get_projects.py +10 -0
  45. uncountable/types/api/project/get_projects_data.py +10 -0
  46. uncountable/types/api/recipe_links/create_recipe_link.py +7 -0
  47. uncountable/types/api/recipe_links/remove_recipe_link.py +7 -0
  48. uncountable/types/api/recipe_metadata/get_recipe_metadata_data.py +10 -0
  49. uncountable/types/api/recipes/add_recipe_to_project.py +7 -0
  50. uncountable/types/api/recipes/archive_recipes.py +7 -0
  51. uncountable/types/api/recipes/associate_recipe_as_input.py +7 -0
  52. uncountable/types/api/recipes/associate_recipe_as_lot.py +7 -0
  53. uncountable/types/api/recipes/clear_recipe_outputs.py +7 -0
  54. uncountable/types/api/recipes/create_recipe.py +7 -0
  55. uncountable/types/api/recipes/create_recipes.py +13 -0
  56. uncountable/types/api/recipes/disassociate_recipe_as_input.py +7 -0
  57. uncountable/types/api/recipes/edit_recipe_inputs.py +20 -0
  58. uncountable/types/api/recipes/get_curve.py +7 -0
  59. uncountable/types/api/recipes/get_recipe_calculations.py +7 -0
  60. uncountable/types/api/recipes/get_recipe_links.py +7 -0
  61. uncountable/types/api/recipes/get_recipe_names.py +10 -0
  62. uncountable/types/api/recipes/get_recipe_output_metadata.py +7 -0
  63. uncountable/types/api/recipes/get_recipes_data.py +25 -0
  64. uncountable/types/api/recipes/lock_recipes.py +10 -0
  65. uncountable/types/api/recipes/remove_recipe_from_project.py +7 -0
  66. uncountable/types/api/recipes/set_recipe_inputs.py +7 -0
  67. uncountable/types/api/recipes/set_recipe_metadata.py +7 -0
  68. uncountable/types/api/recipes/set_recipe_output_annotations.py +13 -0
  69. uncountable/types/api/recipes/set_recipe_output_file.py +10 -0
  70. uncountable/types/api/recipes/set_recipe_outputs.py +10 -0
  71. uncountable/types/api/recipes/set_recipe_tags.py +12 -0
  72. uncountable/types/api/recipes/unarchive_recipes.py +7 -0
  73. uncountable/types/api/recipes/unlock_recipes.py +7 -0
  74. uncountable/types/api/triggers/run_trigger.py +7 -0
  75. uncountable/types/api/uploader/invoke_uploader.py +7 -0
  76. uncountable/types/async_batch_t.py +10 -0
  77. uncountable/types/calculations_t.py +4 -0
  78. uncountable/types/chemical_structure_t.py +1 -0
  79. uncountable/types/client_base.py +2 -2
  80. uncountable/types/client_config_t.py +4 -0
  81. uncountable/types/curves_t.py +4 -0
  82. uncountable/types/entity_t.py +6 -0
  83. uncountable/types/experiment_groups_t.py +4 -0
  84. uncountable/types/field_values_t.py +4 -0
  85. uncountable/types/fields_t.py +4 -0
  86. uncountable/types/generic_upload_t.py +13 -0
  87. uncountable/types/id_source_t.py +13 -0
  88. uncountable/types/identifier_t.py +3 -0
  89. uncountable/types/input_attributes_t.py +1 -0
  90. uncountable/types/inputs_t.py +4 -0
  91. uncountable/types/job_definition_t.py +33 -0
  92. uncountable/types/outputs_t.py +4 -0
  93. uncountable/types/overrides_t.py +7 -0
  94. uncountable/types/phases_t.py +4 -0
  95. uncountable/types/queued_job_t.py +16 -0
  96. uncountable/types/recipe_identifiers_t.py +3 -0
  97. uncountable/types/recipe_links_t.py +4 -0
  98. uncountable/types/recipe_metadata_t.py +5 -0
  99. uncountable/types/recipe_output_metadata_t.py +4 -0
  100. uncountable/types/recipe_tags_t.py +4 -0
  101. uncountable/types/recipe_workflow_steps_t.py +7 -0
  102. uncountable/types/recipes_t.py +4 -0
  103. uncountable/types/response_t.py +1 -0
  104. uncountable/types/secret_retrieval_t.py +6 -0
  105. uncountable/types/units_t.py +4 -0
  106. uncountable/types/users_t.py +4 -0
  107. uncountable/types/webhook_job_t.py +4 -0
  108. uncountable/types/workflows_t.py +7 -0
  109. {UncountablePythonSDK-0.0.72.dist-info → UncountablePythonSDK-0.0.73.dist-info}/WHEEL +0 -0
  110. {UncountablePythonSDK-0.0.72.dist-info → UncountablePythonSDK-0.0.73.dist-info}/top_level.txt +0 -0
@@ -8,6 +8,7 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  import dataclasses
11
+ from pkgs.serialization import serial_class
11
12
  from ... import base_t
12
13
  from ... import id_source_t
13
14
 
@@ -24,6 +25,9 @@ ENDPOINT_PATH = "api/external/id_source/match_id_source"
24
25
 
25
26
 
26
27
  # DO NOT MODIFY -- This file is generated by type_spec
28
+ @serial_class(
29
+ named_type_path="sdk.api.id_source.match_id_source.Arguments",
30
+ )
27
31
  @dataclasses.dataclass(kw_only=True)
28
32
  class Arguments:
29
33
  spec: id_source_t.IdSourceSpec
@@ -31,6 +35,9 @@ class Arguments:
31
35
 
32
36
 
33
37
  # DO NOT MODIFY -- This file is generated by type_spec
38
+ @serial_class(
39
+ named_type_path="sdk.api.id_source.match_id_source.Match",
40
+ )
34
41
  @dataclasses.dataclass(kw_only=True)
35
42
  class Match:
36
43
  name: str
@@ -38,6 +45,9 @@ class Match:
38
45
 
39
46
 
40
47
  # DO NOT MODIFY -- This file is generated by type_spec
48
+ @serial_class(
49
+ named_type_path="sdk.api.id_source.match_id_source.Data",
50
+ )
41
51
  @dataclasses.dataclass(kw_only=True)
42
52
  class Data:
43
53
  results: list[Match]
@@ -8,6 +8,7 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  import dataclasses
11
+ from pkgs.serialization import serial_class
11
12
  from ... import base_t
12
13
 
13
14
  __all__: list[str] = [
@@ -23,12 +24,18 @@ ENDPOINT_PATH = "api/external/input_groups/external_get_input_group_names"
23
24
 
24
25
 
25
26
  # DO NOT MODIFY -- This file is generated by type_spec
27
+ @serial_class(
28
+ named_type_path="sdk.api.input_groups.get_input_group_names.Arguments",
29
+ )
26
30
  @dataclasses.dataclass(kw_only=True)
27
31
  class Arguments:
28
32
  material_family_id: base_t.ObjectId
29
33
 
30
34
 
31
35
  # DO NOT MODIFY -- This file is generated by type_spec
36
+ @serial_class(
37
+ named_type_path="sdk.api.input_groups.get_input_group_names.SimpleInputGroup",
38
+ )
32
39
  @dataclasses.dataclass(kw_only=True)
33
40
  class SimpleInputGroup:
34
41
  input_group_id: base_t.ObjectId
@@ -36,6 +43,9 @@ class SimpleInputGroup:
36
43
 
37
44
 
38
45
  # DO NOT MODIFY -- This file is generated by type_spec
46
+ @serial_class(
47
+ named_type_path="sdk.api.input_groups.get_input_group_names.Data",
48
+ )
39
49
  @dataclasses.dataclass(kw_only=True)
40
50
  class Data:
41
51
  input_groups: list[SimpleInputGroup]
@@ -8,6 +8,7 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  import dataclasses
11
+ from pkgs.serialization import serial_class
11
12
  from ... import base_t
12
13
  from ... import input_attributes_t
13
14
  from ... import inputs_t
@@ -26,12 +27,18 @@ ENDPOINT_PATH = "api/external/inputs/external_create_inputs"
26
27
 
27
28
 
28
29
  # DO NOT MODIFY -- This file is generated by type_spec
30
+ @serial_class(
31
+ named_type_path="sdk.api.inputs.create_inputs.Arguments",
32
+ )
29
33
  @dataclasses.dataclass(kw_only=True)
30
34
  class Arguments:
31
35
  inputs_to_create: list[InputToCreate]
32
36
 
33
37
 
34
38
  # DO NOT MODIFY -- This file is generated by type_spec
39
+ @serial_class(
40
+ named_type_path="sdk.api.inputs.create_inputs.InputToCreate",
41
+ )
35
42
  @dataclasses.dataclass(kw_only=True)
36
43
  class InputToCreate:
37
44
  name: str
@@ -43,12 +50,18 @@ class InputToCreate:
43
50
 
44
51
 
45
52
  # DO NOT MODIFY -- This file is generated by type_spec
53
+ @serial_class(
54
+ named_type_path="sdk.api.inputs.create_inputs.InputSimple",
55
+ )
46
56
  @dataclasses.dataclass(kw_only=True)
47
57
  class InputSimple:
48
58
  input_id: base_t.ObjectId
49
59
 
50
60
 
51
61
  # DO NOT MODIFY -- This file is generated by type_spec
62
+ @serial_class(
63
+ named_type_path="sdk.api.inputs.create_inputs.Data",
64
+ )
52
65
  @dataclasses.dataclass(kw_only=True)
53
66
  class Data:
54
67
  inputs: list[InputSimple]
@@ -8,6 +8,7 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  import dataclasses
11
+ from pkgs.serialization import serial_class
11
12
  from ... import base_t
12
13
  from ... import input_attributes_t
13
14
 
@@ -27,6 +28,9 @@ ENDPOINT_PATH = "api/external/inputs/external_get_input_data"
27
28
 
28
29
 
29
30
  # DO NOT MODIFY -- This file is generated by type_spec
31
+ @serial_class(
32
+ named_type_path="sdk.api.inputs.get_input_data.Arguments",
33
+ )
30
34
  @dataclasses.dataclass(kw_only=True)
31
35
  class Arguments:
32
36
  material_family_id: base_t.ObjectId
@@ -37,6 +41,9 @@ class Arguments:
37
41
 
38
42
 
39
43
  # DO NOT MODIFY -- This file is generated by type_spec
44
+ @serial_class(
45
+ named_type_path="sdk.api.inputs.get_input_data.SimpleInputAttr",
46
+ )
40
47
  @dataclasses.dataclass(kw_only=True)
41
48
  class SimpleInputAttr:
42
49
  attribute_id: base_t.ObjectId
@@ -45,6 +52,9 @@ class SimpleInputAttr:
45
52
 
46
53
 
47
54
  # DO NOT MODIFY -- This file is generated by type_spec
55
+ @serial_class(
56
+ named_type_path="sdk.api.inputs.get_input_data.SimpleInputGlobalCategory",
57
+ )
48
58
  @dataclasses.dataclass(kw_only=True)
49
59
  class SimpleInputGlobalCategory:
50
60
  category_id: base_t.ObjectId
@@ -52,6 +62,9 @@ class SimpleInputGlobalCategory:
52
62
 
53
63
 
54
64
  # DO NOT MODIFY -- This file is generated by type_spec
65
+ @serial_class(
66
+ named_type_path="sdk.api.inputs.get_input_data.SimpleInputSubcategory",
67
+ )
55
68
  @dataclasses.dataclass(kw_only=True)
56
69
  class SimpleInputSubcategory:
57
70
  subcategory_id: base_t.ObjectId
@@ -59,6 +72,9 @@ class SimpleInputSubcategory:
59
72
 
60
73
 
61
74
  # DO NOT MODIFY -- This file is generated by type_spec
75
+ @serial_class(
76
+ named_type_path="sdk.api.inputs.get_input_data.FullInput",
77
+ )
62
78
  @dataclasses.dataclass(kw_only=True)
63
79
  class FullInput:
64
80
  input_id: base_t.ObjectId
@@ -71,6 +87,9 @@ class FullInput:
71
87
 
72
88
 
73
89
  # DO NOT MODIFY -- This file is generated by type_spec
90
+ @serial_class(
91
+ named_type_path="sdk.api.inputs.get_input_data.Data",
92
+ )
74
93
  @dataclasses.dataclass(kw_only=True)
75
94
  class Data:
76
95
  inputs: list[FullInput]
@@ -8,6 +8,7 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  import dataclasses
11
+ from pkgs.serialization import serial_class
11
12
  from ... import base_t
12
13
 
13
14
  __all__: list[str] = [
@@ -23,6 +24,9 @@ ENDPOINT_PATH = "api/external/inputs/external_get_input_names"
23
24
 
24
25
 
25
26
  # DO NOT MODIFY -- This file is generated by type_spec
27
+ @serial_class(
28
+ named_type_path="sdk.api.inputs.get_input_names.Arguments",
29
+ )
26
30
  @dataclasses.dataclass(kw_only=True)
27
31
  class Arguments:
28
32
  material_family_id: base_t.ObjectId
@@ -32,6 +36,9 @@ class Arguments:
32
36
 
33
37
 
34
38
  # DO NOT MODIFY -- This file is generated by type_spec
39
+ @serial_class(
40
+ named_type_path="sdk.api.inputs.get_input_names.InputWithName",
41
+ )
35
42
  @dataclasses.dataclass(kw_only=True)
36
43
  class InputWithName:
37
44
  input_id: base_t.ObjectId
@@ -39,6 +46,9 @@ class InputWithName:
39
46
 
40
47
 
41
48
  # DO NOT MODIFY -- This file is generated by type_spec
49
+ @serial_class(
50
+ named_type_path="sdk.api.inputs.get_input_names.Data",
51
+ )
42
52
  @dataclasses.dataclass(kw_only=True)
43
53
  class Data:
44
54
  inputs: list[InputWithName]
@@ -8,6 +8,7 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  import dataclasses
11
+ from pkgs.serialization import serial_class
11
12
  from ... import base_t
12
13
  from ... import input_attributes_t
13
14
 
@@ -27,12 +28,18 @@ ENDPOINT_PATH = "api/external/inputs/external_get_inputs_data"
27
28
 
28
29
 
29
30
  # DO NOT MODIFY -- This file is generated by type_spec
31
+ @serial_class(
32
+ named_type_path="sdk.api.inputs.get_inputs_data.Arguments",
33
+ )
30
34
  @dataclasses.dataclass(kw_only=True)
31
35
  class Arguments:
32
36
  input_ids: list[base_t.ObjectId]
33
37
 
34
38
 
35
39
  # DO NOT MODIFY -- This file is generated by type_spec
40
+ @serial_class(
41
+ named_type_path="sdk.api.inputs.get_inputs_data.AttributeDetails",
42
+ )
36
43
  @dataclasses.dataclass(kw_only=True)
37
44
  class AttributeDetails:
38
45
  attribute_id: base_t.ObjectId
@@ -41,6 +48,9 @@ class AttributeDetails:
41
48
 
42
49
 
43
50
  # DO NOT MODIFY -- This file is generated by type_spec
51
+ @serial_class(
52
+ named_type_path="sdk.api.inputs.get_inputs_data.InputTag",
53
+ )
44
54
  @dataclasses.dataclass(kw_only=True)
45
55
  class InputTag:
46
56
  tag_id: base_t.ObjectId
@@ -48,6 +58,9 @@ class InputTag:
48
58
 
49
59
 
50
60
  # DO NOT MODIFY -- This file is generated by type_spec
61
+ @serial_class(
62
+ named_type_path="sdk.api.inputs.get_inputs_data.InputCategory",
63
+ )
51
64
  @dataclasses.dataclass(kw_only=True)
52
65
  class InputCategory:
53
66
  material_family_id: base_t.ObjectId
@@ -56,6 +69,9 @@ class InputCategory:
56
69
 
57
70
 
58
71
  # DO NOT MODIFY -- This file is generated by type_spec
72
+ @serial_class(
73
+ named_type_path="sdk.api.inputs.get_inputs_data.InputDetails",
74
+ )
59
75
  @dataclasses.dataclass(kw_only=True)
60
76
  class InputDetails:
61
77
  input_id: base_t.ObjectId
@@ -68,6 +84,9 @@ class InputDetails:
68
84
 
69
85
 
70
86
  # DO NOT MODIFY -- This file is generated by type_spec
87
+ @serial_class(
88
+ named_type_path="sdk.api.inputs.get_inputs_data.Data",
89
+ )
71
90
  @dataclasses.dataclass(kw_only=True)
72
91
  class Data:
73
92
  input_details: list[InputDetails]
@@ -25,6 +25,9 @@ ENDPOINT_PATH = "api/external/inputs/external_set_input_attribute_values"
25
25
 
26
26
 
27
27
  # DO NOT MODIFY -- This file is generated by type_spec
28
+ @serial_class(
29
+ named_type_path="sdk.api.inputs.set_input_attribute_values.Arguments",
30
+ )
28
31
  @dataclasses.dataclass(kw_only=True)
29
32
  class Arguments:
30
33
  attribute_values: list[InputAttributeValue]
@@ -32,6 +35,7 @@ class Arguments:
32
35
 
33
36
  # DO NOT MODIFY -- This file is generated by type_spec
34
37
  @serial_class(
38
+ named_type_path="sdk.api.inputs.set_input_attribute_values.InputAttributeValue",
35
39
  unconverted_values={"quantity_json"},
36
40
  to_string_values={"quantity_dec"},
37
41
  )
@@ -44,6 +48,9 @@ class InputAttributeValue:
44
48
 
45
49
 
46
50
  # DO NOT MODIFY -- This file is generated by type_spec
51
+ @serial_class(
52
+ named_type_path="sdk.api.inputs.set_input_attribute_values.Data",
53
+ )
47
54
  @dataclasses.dataclass(kw_only=True)
48
55
  class Data(response_t.Response):
49
56
  pass
@@ -8,6 +8,7 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  import dataclasses
11
+ from pkgs.serialization import serial_class
11
12
  from ... import identifier_t
12
13
  from ... import response_t
13
14
 
@@ -23,6 +24,9 @@ ENDPOINT_PATH = "api/external/inputs/external_set_input_category"
23
24
 
24
25
 
25
26
  # DO NOT MODIFY -- This file is generated by type_spec
27
+ @serial_class(
28
+ named_type_path="sdk.api.inputs.set_input_category.Arguments",
29
+ )
26
30
  @dataclasses.dataclass(kw_only=True)
27
31
  class Arguments:
28
32
  input_key: identifier_t.IdentifierKey
@@ -31,6 +35,9 @@ class Arguments:
31
35
 
32
36
 
33
37
  # DO NOT MODIFY -- This file is generated by type_spec
38
+ @serial_class(
39
+ named_type_path="sdk.api.inputs.set_input_category.Data",
40
+ )
34
41
  @dataclasses.dataclass(kw_only=True)
35
42
  class Data(response_t.Response):
36
43
  pass
@@ -8,6 +8,7 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  import dataclasses
11
+ from pkgs.serialization import serial_class
11
12
  from ... import identifier_t
12
13
  from ... import post_base_t
13
14
  from ... import response_t
@@ -24,6 +25,9 @@ ENDPOINT_PATH = "api/external/inputs/external_set_input_subcategories"
24
25
 
25
26
 
26
27
  # DO NOT MODIFY -- This file is generated by type_spec
28
+ @serial_class(
29
+ named_type_path="sdk.api.inputs.set_input_subcategories.Arguments",
30
+ )
27
31
  @dataclasses.dataclass(kw_only=True)
28
32
  class Arguments:
29
33
  input_key: identifier_t.IdentifierKey
@@ -32,6 +36,9 @@ class Arguments:
32
36
 
33
37
 
34
38
  # DO NOT MODIFY -- This file is generated by type_spec
39
+ @serial_class(
40
+ named_type_path="sdk.api.inputs.set_input_subcategories.Data",
41
+ )
35
42
  @dataclasses.dataclass(kw_only=True)
36
43
  class Data(response_t.Response):
37
44
  pass
@@ -9,6 +9,7 @@ import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  from pkgs.strenum_compat import StrEnum
11
11
  import dataclasses
12
+ from pkgs.serialization import serial_class
12
13
  from ... import identifier_t
13
14
 
14
15
  __all__: list[str] = [
@@ -30,6 +31,9 @@ class IntermediateType(StrEnum):
30
31
 
31
32
 
32
33
  # DO NOT MODIFY -- This file is generated by type_spec
34
+ @serial_class(
35
+ named_type_path="sdk.api.inputs.set_intermediate_type.Arguments",
36
+ )
33
37
  @dataclasses.dataclass(kw_only=True)
34
38
  class Arguments:
35
39
  input_key: identifier_t.IdentifierKey
@@ -37,6 +41,9 @@ class Arguments:
37
41
 
38
42
 
39
43
  # DO NOT MODIFY -- This file is generated by type_spec
44
+ @serial_class(
45
+ named_type_path="sdk.api.inputs.set_intermediate_type.Data",
46
+ )
40
47
  @dataclasses.dataclass(kw_only=True)
41
48
  class Data:
42
49
  pass
@@ -8,6 +8,7 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  import dataclasses
11
+ from pkgs.serialization import serial_class
11
12
  from ... import base_t
12
13
  from ... import entity_t
13
14
  from ... import identifier_t
@@ -26,6 +27,9 @@ ENDPOINT_PATH = "api/external/material_families/external_update_entity_material_
26
27
 
27
28
 
28
29
  # DO NOT MODIFY -- This file is generated by type_spec
30
+ @serial_class(
31
+ named_type_path="sdk.api.material_families.update_entity_material_families.Arguments",
32
+ )
29
33
  @dataclasses.dataclass(kw_only=True)
30
34
  class Arguments:
31
35
  entity_key: identifier_t.IdentifierKey
@@ -35,6 +39,9 @@ class Arguments:
35
39
 
36
40
 
37
41
  # DO NOT MODIFY -- This file is generated by type_spec
42
+ @serial_class(
43
+ named_type_path="sdk.api.material_families.update_entity_material_families.Data",
44
+ )
38
45
  @dataclasses.dataclass(kw_only=True)
39
46
  class Data(response_t.Response):
40
47
  pass
@@ -28,6 +28,9 @@ ENDPOINT_PATH = "api/external/outputs/external_get_output_data"
28
28
 
29
29
 
30
30
  # DO NOT MODIFY -- This file is generated by type_spec
31
+ @serial_class(
32
+ named_type_path="sdk.api.outputs.get_output_data.Arguments",
33
+ )
31
34
  @dataclasses.dataclass(kw_only=True)
32
35
  class Arguments:
33
36
  material_family_id: base_t.ObjectId
@@ -38,6 +41,7 @@ class Arguments:
38
41
 
39
42
  # DO NOT MODIFY -- This file is generated by type_spec
40
43
  @serial_class(
44
+ named_type_path="sdk.api.outputs.get_output_data.OutputAttrVal",
41
45
  unconverted_values={"quantity_json"},
42
46
  to_string_values={"quantity_dec"},
43
47
  )
@@ -49,6 +53,9 @@ class OutputAttrVal:
49
53
 
50
54
 
51
55
  # DO NOT MODIFY -- This file is generated by type_spec
56
+ @serial_class(
57
+ named_type_path="sdk.api.outputs.get_output_data.SimpleOutputAttr",
58
+ )
52
59
  @dataclasses.dataclass(kw_only=True)
53
60
  class SimpleOutputAttr:
54
61
  attribute_id: base_t.ObjectId
@@ -57,6 +64,9 @@ class SimpleOutputAttr:
57
64
 
58
65
 
59
66
  # DO NOT MODIFY -- This file is generated by type_spec
67
+ @serial_class(
68
+ named_type_path="sdk.api.outputs.get_output_data.SimpleOutputGlobalCategory",
69
+ )
60
70
  @dataclasses.dataclass(kw_only=True)
61
71
  class SimpleOutputGlobalCategory:
62
72
  category_id: base_t.ObjectId
@@ -64,6 +74,9 @@ class SimpleOutputGlobalCategory:
64
74
 
65
75
 
66
76
  # DO NOT MODIFY -- This file is generated by type_spec
77
+ @serial_class(
78
+ named_type_path="sdk.api.outputs.get_output_data.FullOutput",
79
+ )
67
80
  @dataclasses.dataclass(kw_only=True)
68
81
  class FullOutput:
69
82
  output_id: base_t.ObjectId
@@ -75,6 +88,9 @@ class FullOutput:
75
88
 
76
89
 
77
90
  # DO NOT MODIFY -- This file is generated by type_spec
91
+ @serial_class(
92
+ named_type_path="sdk.api.outputs.get_output_data.Data",
93
+ )
78
94
  @dataclasses.dataclass(kw_only=True)
79
95
  class Data:
80
96
  outputs: list[FullOutput]
@@ -8,6 +8,7 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  import dataclasses
11
+ from pkgs.serialization import serial_class
11
12
  from ... import base_t
12
13
 
13
14
  __all__: list[str] = [
@@ -23,6 +24,9 @@ ENDPOINT_PATH = "api/external/outputs/external_get_output_names"
23
24
 
24
25
 
25
26
  # DO NOT MODIFY -- This file is generated by type_spec
27
+ @serial_class(
28
+ named_type_path="sdk.api.outputs.get_output_names.Arguments",
29
+ )
26
30
  @dataclasses.dataclass(kw_only=True)
27
31
  class Arguments:
28
32
  material_family_id: base_t.ObjectId
@@ -31,6 +35,9 @@ class Arguments:
31
35
 
32
36
 
33
37
  # DO NOT MODIFY -- This file is generated by type_spec
38
+ @serial_class(
39
+ named_type_path="sdk.api.outputs.get_output_names.OutputWithName",
40
+ )
34
41
  @dataclasses.dataclass(kw_only=True)
35
42
  class OutputWithName:
36
43
  output_id: base_t.ObjectId
@@ -38,6 +45,9 @@ class OutputWithName:
38
45
 
39
46
 
40
47
  # DO NOT MODIFY -- This file is generated by type_spec
48
+ @serial_class(
49
+ named_type_path="sdk.api.outputs.get_output_names.Data",
50
+ )
41
51
  @dataclasses.dataclass(kw_only=True)
42
52
  class Data:
43
53
  outputs: list[OutputWithName]
@@ -28,6 +28,7 @@ ENDPOINT_PATH = "api/external/outputs/external_resolve_output_conditions"
28
28
 
29
29
  # DO NOT MODIFY -- This file is generated by type_spec
30
30
  @serial_class(
31
+ named_type_path="sdk.api.outputs.resolve_output_conditions.ConditionParameterValueRecord",
31
32
  to_string_values={"value_numeric"},
32
33
  )
33
34
  @dataclasses.dataclass(kw_only=True)
@@ -38,18 +39,27 @@ class ConditionParameterValueRecord:
38
39
 
39
40
 
40
41
  # DO NOT MODIFY -- This file is generated by type_spec
42
+ @serial_class(
43
+ named_type_path="sdk.api.outputs.resolve_output_conditions.ConditionRequest",
44
+ )
41
45
  @dataclasses.dataclass(kw_only=True)
42
46
  class ConditionRequest:
43
47
  conditions: list[ConditionParameterValueRecord]
44
48
 
45
49
 
46
50
  # DO NOT MODIFY -- This file is generated by type_spec
51
+ @serial_class(
52
+ named_type_path="sdk.api.outputs.resolve_output_conditions.Arguments",
53
+ )
47
54
  @dataclasses.dataclass(kw_only=True)
48
55
  class Arguments:
49
56
  requested_conditions: list[ConditionRequest]
50
57
 
51
58
 
52
59
  # DO NOT MODIFY -- This file is generated by type_spec
60
+ @serial_class(
61
+ named_type_path="sdk.api.outputs.resolve_output_conditions.ConditionResponse",
62
+ )
53
63
  @dataclasses.dataclass(kw_only=True)
54
64
  class ConditionResponse:
55
65
  conditions: list[ConditionParameterValueRecord]
@@ -57,6 +67,9 @@ class ConditionResponse:
57
67
 
58
68
 
59
69
  # DO NOT MODIFY -- This file is generated by type_spec
70
+ @serial_class(
71
+ named_type_path="sdk.api.outputs.resolve_output_conditions.Data",
72
+ )
60
73
  @dataclasses.dataclass(kw_only=True)
61
74
  class Data:
62
75
  resolved_conditions: list[ConditionResponse]
@@ -31,6 +31,7 @@ ENDPOINT_PATH = "api/external/permissions/external_set_core_permissions"
31
31
 
32
32
  # DO NOT MODIFY -- This file is generated by type_spec
33
33
  @serial_class(
34
+ named_type_path="sdk.api.permissions.set_core_permissions.PermissionsScopeProject",
34
35
  parse_require={"type"},
35
36
  )
36
37
  @dataclasses.dataclass(kw_only=True)
@@ -41,6 +42,7 @@ class PermissionsScopeProject:
41
42
 
42
43
  # DO NOT MODIFY -- This file is generated by type_spec
43
44
  @serial_class(
45
+ named_type_path="sdk.api.permissions.set_core_permissions.PermissionsScopeRecipe",
44
46
  parse_require={"type"},
45
47
  )
46
48
  @dataclasses.dataclass(kw_only=True)
@@ -51,6 +53,7 @@ class PermissionsScopeRecipe:
51
53
 
52
54
  # DO NOT MODIFY -- This file is generated by type_spec
53
55
  @serial_class(
56
+ named_type_path="sdk.api.permissions.set_core_permissions.PermissionsScopeMaterialFamily",
54
57
  parse_require={"type"},
55
58
  )
56
59
  @dataclasses.dataclass(kw_only=True)
@@ -61,6 +64,7 @@ class PermissionsScopeMaterialFamily:
61
64
 
62
65
  # DO NOT MODIFY -- This file is generated by type_spec
63
66
  @serial_class(
67
+ named_type_path="sdk.api.permissions.set_core_permissions.PermissionsScopeAllMaterialFamilies",
64
68
  parse_require={"type"},
65
69
  )
66
70
  @dataclasses.dataclass(kw_only=True)
@@ -73,6 +77,9 @@ PermissionsScope = typing.Union[PermissionsScopeProject, PermissionsScopeRecipe,
73
77
 
74
78
 
75
79
  # DO NOT MODIFY -- This file is generated by type_spec
80
+ @serial_class(
81
+ named_type_path="sdk.api.permissions.set_core_permissions.Arguments",
82
+ )
76
83
  @dataclasses.dataclass(kw_only=True)
77
84
  class Arguments:
78
85
  scope: PermissionsScope
@@ -83,6 +90,9 @@ class Arguments:
83
90
 
84
91
 
85
92
  # DO NOT MODIFY -- This file is generated by type_spec
93
+ @serial_class(
94
+ named_type_path="sdk.api.permissions.set_core_permissions.Data",
95
+ )
86
96
  @dataclasses.dataclass(kw_only=True)
87
97
  class Data:
88
98
  pass
@@ -8,6 +8,7 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  import dataclasses
11
+ from pkgs.serialization import serial_class
11
12
  from ... import base_t
12
13
  from ... import phases_t
13
14
 
@@ -24,6 +25,9 @@ ENDPOINT_PATH = "api/external/project/external_get_projects"
24
25
 
25
26
 
26
27
  # DO NOT MODIFY -- This file is generated by type_spec
28
+ @serial_class(
29
+ named_type_path="sdk.api.project.get_projects.Arguments",
30
+ )
27
31
  @dataclasses.dataclass(kw_only=True)
28
32
  class Arguments:
29
33
  all_material_families: bool
@@ -31,6 +35,9 @@ class Arguments:
31
35
 
32
36
 
33
37
  # DO NOT MODIFY -- This file is generated by type_spec
38
+ @serial_class(
39
+ named_type_path="sdk.api.project.get_projects.Project",
40
+ )
34
41
  @dataclasses.dataclass(kw_only=True)
35
42
  class Project:
36
43
  id: base_t.ObjectId
@@ -41,6 +48,9 @@ class Project:
41
48
 
42
49
 
43
50
  # DO NOT MODIFY -- This file is generated by type_spec
51
+ @serial_class(
52
+ named_type_path="sdk.api.project.get_projects.Data",
53
+ )
44
54
  @dataclasses.dataclass(kw_only=True)
45
55
  class Data:
46
56
  projects: list[Project]
@@ -8,6 +8,7 @@ import typing # noqa: F401
8
8
  import datetime # noqa: F401
9
9
  from decimal import Decimal # noqa: F401
10
10
  import dataclasses
11
+ from pkgs.serialization import serial_class
11
12
  from ... import base_t
12
13
  from ... import field_values_t
13
14
  from ... import fields_t
@@ -26,6 +27,9 @@ ENDPOINT_PATH = "api/external/project/external_get_projects_data"
26
27
 
27
28
 
28
29
  # DO NOT MODIFY -- This file is generated by type_spec
30
+ @serial_class(
31
+ named_type_path="sdk.api.project.get_projects_data.Arguments",
32
+ )
29
33
  @dataclasses.dataclass(kw_only=True)
30
34
  class Arguments:
31
35
  project_ids: list[base_t.ObjectId]
@@ -34,6 +38,9 @@ class Arguments:
34
38
 
35
39
 
36
40
  # DO NOT MODIFY -- This file is generated by type_spec
41
+ @serial_class(
42
+ named_type_path="sdk.api.project.get_projects_data.ProjectDetailed",
43
+ )
37
44
  @dataclasses.dataclass(kw_only=True)
38
45
  class ProjectDetailed:
39
46
  id: base_t.ObjectId
@@ -45,6 +52,9 @@ class ProjectDetailed:
45
52
 
46
53
 
47
54
  # DO NOT MODIFY -- This file is generated by type_spec
55
+ @serial_class(
56
+ named_type_path="sdk.api.project.get_projects_data.Data",
57
+ )
48
58
  @dataclasses.dataclass(kw_only=True)
49
59
  class Data:
50
60
  projects: list[ProjectDetailed]