UncountablePythonSDK 0.0.71__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.
- {UncountablePythonSDK-0.0.71.dist-info → UncountablePythonSDK-0.0.73.dist-info}/METADATA +1 -1
- {UncountablePythonSDK-0.0.71.dist-info → UncountablePythonSDK-0.0.73.dist-info}/RECORD +112 -112
- examples/integration-server/jobs/materials_auto/profile.yaml +1 -1
- examples/integration-server/pyproject.toml +1 -1
- pkgs/serialization/serial_class.py +5 -0
- pkgs/serialization/serial_union.py +3 -0
- pkgs/type_spec/builder.py +2 -1
- pkgs/type_spec/config.py +5 -0
- pkgs/type_spec/emit_python.py +36 -20
- pkgs/type_spec/load_types.py +3 -2
- uncountable/core/client.py +2 -2
- uncountable/integration/cli.py +18 -44
- uncountable/integration/entrypoint.py +1 -9
- uncountable/integration/queue_runner/worker.py +9 -5
- uncountable/integration/server.py +63 -66
- uncountable/types/api/batch/execute_batch.py +8 -0
- uncountable/types/api/batch/execute_batch_load_async.py +7 -0
- uncountable/types/api/chemical/convert_chemical_formats.py +7 -0
- uncountable/types/api/entity/create_entities.py +11 -1
- uncountable/types/api/entity/create_entity.py +8 -1
- uncountable/types/api/entity/get_entities_data.py +10 -0
- uncountable/types/api/entity/list_entities.py +8 -0
- uncountable/types/api/entity/lock_entity.py +7 -0
- uncountable/types/api/entity/resolve_entity_ids.py +10 -0
- uncountable/types/api/entity/set_values.py +7 -0
- uncountable/types/api/entity/transition_entity_phase.py +8 -0
- uncountable/types/api/entity/unlock_entity.py +7 -0
- uncountable/types/api/equipment/associate_equipment_input.py +7 -0
- uncountable/types/api/field_options/upsert_field_options.py +10 -0
- uncountable/types/api/id_source/list_id_source.py +10 -0
- uncountable/types/api/id_source/match_id_source.py +10 -0
- uncountable/types/api/input_groups/get_input_group_names.py +10 -0
- uncountable/types/api/inputs/create_inputs.py +13 -0
- uncountable/types/api/inputs/get_input_data.py +19 -0
- uncountable/types/api/inputs/get_input_names.py +10 -0
- uncountable/types/api/inputs/get_inputs_data.py +19 -0
- uncountable/types/api/inputs/set_input_attribute_values.py +7 -0
- uncountable/types/api/inputs/set_input_category.py +7 -0
- uncountable/types/api/inputs/set_input_subcategories.py +7 -0
- uncountable/types/api/inputs/set_intermediate_type.py +7 -0
- uncountable/types/api/material_families/update_entity_material_families.py +7 -0
- uncountable/types/api/outputs/get_output_data.py +16 -0
- uncountable/types/api/outputs/get_output_names.py +10 -0
- uncountable/types/api/outputs/resolve_output_conditions.py +13 -0
- uncountable/types/api/permissions/set_core_permissions.py +10 -0
- uncountable/types/api/project/get_projects.py +10 -0
- uncountable/types/api/project/get_projects_data.py +10 -0
- uncountable/types/api/recipe_links/create_recipe_link.py +7 -0
- uncountable/types/api/recipe_links/remove_recipe_link.py +7 -0
- uncountable/types/api/recipe_metadata/get_recipe_metadata_data.py +10 -0
- uncountable/types/api/recipes/add_recipe_to_project.py +7 -0
- uncountable/types/api/recipes/archive_recipes.py +7 -0
- uncountable/types/api/recipes/associate_recipe_as_input.py +7 -0
- uncountable/types/api/recipes/associate_recipe_as_lot.py +7 -0
- uncountable/types/api/recipes/clear_recipe_outputs.py +7 -0
- uncountable/types/api/recipes/create_recipe.py +7 -0
- uncountable/types/api/recipes/create_recipes.py +13 -0
- uncountable/types/api/recipes/disassociate_recipe_as_input.py +7 -0
- uncountable/types/api/recipes/edit_recipe_inputs.py +20 -0
- uncountable/types/api/recipes/get_curve.py +7 -0
- uncountable/types/api/recipes/get_recipe_calculations.py +7 -0
- uncountable/types/api/recipes/get_recipe_links.py +7 -0
- uncountable/types/api/recipes/get_recipe_names.py +10 -0
- uncountable/types/api/recipes/get_recipe_output_metadata.py +7 -0
- uncountable/types/api/recipes/get_recipes_data.py +25 -0
- uncountable/types/api/recipes/lock_recipes.py +10 -0
- uncountable/types/api/recipes/remove_recipe_from_project.py +7 -0
- uncountable/types/api/recipes/set_recipe_inputs.py +7 -0
- uncountable/types/api/recipes/set_recipe_metadata.py +7 -0
- uncountable/types/api/recipes/set_recipe_output_annotations.py +13 -0
- uncountable/types/api/recipes/set_recipe_output_file.py +10 -0
- uncountable/types/api/recipes/set_recipe_outputs.py +10 -0
- uncountable/types/api/recipes/set_recipe_tags.py +12 -0
- uncountable/types/api/recipes/unarchive_recipes.py +7 -0
- uncountable/types/api/recipes/unlock_recipes.py +7 -0
- uncountable/types/api/triggers/run_trigger.py +7 -0
- uncountable/types/api/uploader/invoke_uploader.py +7 -0
- uncountable/types/async_batch_t.py +10 -0
- uncountable/types/calculations_t.py +4 -0
- uncountable/types/chemical_structure_t.py +1 -0
- uncountable/types/client_base.py +2 -2
- uncountable/types/client_config_t.py +4 -0
- uncountable/types/curves_t.py +4 -0
- uncountable/types/entity_t.py +6 -0
- uncountable/types/experiment_groups_t.py +4 -0
- uncountable/types/field_values_t.py +4 -0
- uncountable/types/fields_t.py +4 -0
- uncountable/types/generic_upload_t.py +13 -0
- uncountable/types/id_source_t.py +13 -0
- uncountable/types/identifier_t.py +3 -0
- uncountable/types/input_attributes_t.py +1 -0
- uncountable/types/inputs_t.py +4 -0
- uncountable/types/job_definition_t.py +33 -0
- uncountable/types/outputs_t.py +4 -0
- uncountable/types/overrides_t.py +7 -0
- uncountable/types/phases_t.py +4 -0
- uncountable/types/queued_job_t.py +16 -0
- uncountable/types/recipe_identifiers_t.py +3 -0
- uncountable/types/recipe_links_t.py +4 -0
- uncountable/types/recipe_metadata_t.py +5 -0
- uncountable/types/recipe_output_metadata_t.py +4 -0
- uncountable/types/recipe_tags_t.py +4 -0
- uncountable/types/recipe_workflow_steps_t.py +7 -0
- uncountable/types/recipes_t.py +4 -0
- uncountable/types/response_t.py +1 -0
- uncountable/types/secret_retrieval_t.py +6 -0
- uncountable/types/units_t.py +4 -0
- uncountable/types/users_t.py +4 -0
- uncountable/types/webhook_job_t.py +4 -0
- uncountable/types/workflows_t.py +7 -0
- {UncountablePythonSDK-0.0.71.dist-info → UncountablePythonSDK-0.0.73.dist-info}/WHEEL +0 -0
- {UncountablePythonSDK-0.0.71.dist-info → UncountablePythonSDK-0.0.73.dist-info}/top_level.txt +0 -0
|
@@ -32,6 +32,9 @@ class RecipeWorkflowStepIdentifierType(StrEnum):
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
# DO NOT MODIFY -- This file is generated by type_spec
|
|
35
|
+
@serial_class(
|
|
36
|
+
named_type_path="sdk.recipe_workflow_steps.RecipeWorkflowStepIdentifierBase",
|
|
37
|
+
)
|
|
35
38
|
@dataclasses.dataclass(kw_only=True)
|
|
36
39
|
class RecipeWorkflowStepIdentifierBase:
|
|
37
40
|
type: RecipeWorkflowStepIdentifierType
|
|
@@ -39,6 +42,7 @@ class RecipeWorkflowStepIdentifierBase:
|
|
|
39
42
|
|
|
40
43
|
# DO NOT MODIFY -- This file is generated by type_spec
|
|
41
44
|
@serial_class(
|
|
45
|
+
named_type_path="sdk.recipe_workflow_steps.RecipeWorkflowStepIdentifierDefault",
|
|
42
46
|
parse_require={"type"},
|
|
43
47
|
)
|
|
44
48
|
@dataclasses.dataclass(kw_only=True)
|
|
@@ -54,6 +58,7 @@ class RecipeWorkflowStepPosition(StrEnum):
|
|
|
54
58
|
|
|
55
59
|
# DO NOT MODIFY -- This file is generated by type_spec
|
|
56
60
|
@serial_class(
|
|
61
|
+
named_type_path="sdk.recipe_workflow_steps.RecipeWorkflowStepIdentifierWorkflowStep",
|
|
57
62
|
parse_require={"type"},
|
|
58
63
|
)
|
|
59
64
|
@dataclasses.dataclass(kw_only=True)
|
|
@@ -65,6 +70,7 @@ class RecipeWorkflowStepIdentifierWorkflowStep(RecipeWorkflowStepIdentifierBase)
|
|
|
65
70
|
|
|
66
71
|
# DO NOT MODIFY -- This file is generated by type_spec
|
|
67
72
|
@serial_class(
|
|
73
|
+
named_type_path="sdk.recipe_workflow_steps.RecipeWorkflowStepIdentifierKey",
|
|
68
74
|
parse_require={"type"},
|
|
69
75
|
)
|
|
70
76
|
@dataclasses.dataclass(kw_only=True)
|
|
@@ -77,6 +83,7 @@ class RecipeWorkflowStepIdentifierKey:
|
|
|
77
83
|
RecipeWorkflowStepIdentifier = typing.Annotated[
|
|
78
84
|
typing.Union[RecipeWorkflowStepIdentifierDefault, RecipeWorkflowStepIdentifierWorkflowStep, RecipeWorkflowStepIdentifierKey],
|
|
79
85
|
serial_union_annotation(
|
|
86
|
+
named_type_path="sdk.recipe_workflow_steps.RecipeWorkflowStepIdentifier",
|
|
80
87
|
discriminator="type",
|
|
81
88
|
discriminator_map={
|
|
82
89
|
"default": RecipeWorkflowStepIdentifierDefault,
|
uncountable/types/recipes_t.py
CHANGED
|
@@ -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
|
|
|
12
13
|
__all__: list[str] = [
|
|
13
14
|
"RecipeAttributeFormatting",
|
|
@@ -15,6 +16,9 @@ __all__: list[str] = [
|
|
|
15
16
|
|
|
16
17
|
|
|
17
18
|
# DO NOT MODIFY -- This file is generated by type_spec
|
|
19
|
+
@serial_class(
|
|
20
|
+
named_type_path="sdk.recipes.RecipeAttributeFormatting",
|
|
21
|
+
)
|
|
18
22
|
@dataclasses.dataclass(kw_only=True)
|
|
19
23
|
class RecipeAttributeFormatting:
|
|
20
24
|
background_color: str
|
uncountable/types/response_t.py
CHANGED
|
@@ -22,6 +22,9 @@ __all__: list[str] = [
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
# DO NOT MODIFY -- This file is generated by type_spec
|
|
25
|
+
@serial_class(
|
|
26
|
+
named_type_path="sdk.secret_retrieval.SecretRetrievalBase",
|
|
27
|
+
)
|
|
25
28
|
@dataclasses.dataclass(kw_only=True, frozen=True, eq=True)
|
|
26
29
|
class SecretRetrievalBase:
|
|
27
30
|
type: SecretRetrievalType
|
|
@@ -35,6 +38,7 @@ class SecretRetrievalType(StrEnum):
|
|
|
35
38
|
|
|
36
39
|
# DO NOT MODIFY -- This file is generated by type_spec
|
|
37
40
|
@serial_class(
|
|
41
|
+
named_type_path="sdk.secret_retrieval.SecretRetrievalEnv",
|
|
38
42
|
parse_require={"type"},
|
|
39
43
|
)
|
|
40
44
|
@dataclasses.dataclass(kw_only=True, frozen=True, eq=True)
|
|
@@ -45,6 +49,7 @@ class SecretRetrievalEnv(SecretRetrievalBase):
|
|
|
45
49
|
|
|
46
50
|
# DO NOT MODIFY -- This file is generated by type_spec
|
|
47
51
|
@serial_class(
|
|
52
|
+
named_type_path="sdk.secret_retrieval.SecretRetrievalAWS",
|
|
48
53
|
parse_require={"type"},
|
|
49
54
|
)
|
|
50
55
|
@dataclasses.dataclass(kw_only=True, frozen=True, eq=True)
|
|
@@ -59,6 +64,7 @@ class SecretRetrievalAWS(SecretRetrievalBase):
|
|
|
59
64
|
SecretRetrieval = typing.Annotated[
|
|
60
65
|
typing.Union[SecretRetrievalEnv, SecretRetrievalAWS],
|
|
61
66
|
serial_union_annotation(
|
|
67
|
+
named_type_path="sdk.secret_retrieval.SecretRetrieval",
|
|
62
68
|
discriminator="type",
|
|
63
69
|
discriminator_map={
|
|
64
70
|
"env": SecretRetrievalEnv,
|
uncountable/types/units_t.py
CHANGED
|
@@ -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] = [
|
|
@@ -16,6 +17,9 @@ __all__: list[str] = [
|
|
|
16
17
|
|
|
17
18
|
|
|
18
19
|
# DO NOT MODIFY -- This file is generated by type_spec
|
|
20
|
+
@serial_class(
|
|
21
|
+
named_type_path="sdk.units.SimpleUnit",
|
|
22
|
+
)
|
|
19
23
|
@dataclasses.dataclass(kw_only=True)
|
|
20
24
|
class SimpleUnit:
|
|
21
25
|
unit_id: base_t.ObjectId
|
uncountable/types/users_t.py
CHANGED
|
@@ -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] = [
|
|
@@ -16,6 +17,9 @@ __all__: list[str] = [
|
|
|
16
17
|
|
|
17
18
|
|
|
18
19
|
# DO NOT MODIFY -- This file is generated by type_spec
|
|
20
|
+
@serial_class(
|
|
21
|
+
named_type_path="sdk.users.SimpleUser",
|
|
22
|
+
)
|
|
19
23
|
@dataclasses.dataclass(kw_only=True)
|
|
20
24
|
class SimpleUser:
|
|
21
25
|
user_id: base_t.ObjectId
|
|
@@ -19,6 +19,7 @@ __all__: list[str] = [
|
|
|
19
19
|
|
|
20
20
|
# DO NOT MODIFY -- This file is generated by type_spec
|
|
21
21
|
@serial_class(
|
|
22
|
+
named_type_path="sdk.webhook_job.WebhookEventPayload",
|
|
22
23
|
unconverted_values={"data"},
|
|
23
24
|
)
|
|
24
25
|
@dataclasses.dataclass(kw_only=True)
|
|
@@ -27,6 +28,9 @@ class WebhookEventPayload:
|
|
|
27
28
|
|
|
28
29
|
|
|
29
30
|
# DO NOT MODIFY -- This file is generated by type_spec
|
|
31
|
+
@serial_class(
|
|
32
|
+
named_type_path="sdk.webhook_job.WebhookEventBody",
|
|
33
|
+
)
|
|
30
34
|
@dataclasses.dataclass(kw_only=True)
|
|
31
35
|
class WebhookEventBody(WebhookEventPayload):
|
|
32
36
|
event_id: str
|
uncountable/types/workflows_t.py
CHANGED
|
@@ -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] = [
|
|
@@ -17,6 +18,9 @@ __all__: list[str] = [
|
|
|
17
18
|
|
|
18
19
|
|
|
19
20
|
# DO NOT MODIFY -- This file is generated by type_spec
|
|
21
|
+
@serial_class(
|
|
22
|
+
named_type_path="sdk.workflows.SimpleWorkflowStep",
|
|
23
|
+
)
|
|
20
24
|
@dataclasses.dataclass(kw_only=True)
|
|
21
25
|
class SimpleWorkflowStep:
|
|
22
26
|
workflow_step_id: base_t.ObjectId
|
|
@@ -24,6 +28,9 @@ class SimpleWorkflowStep:
|
|
|
24
28
|
|
|
25
29
|
|
|
26
30
|
# DO NOT MODIFY -- This file is generated by type_spec
|
|
31
|
+
@serial_class(
|
|
32
|
+
named_type_path="sdk.workflows.SimpleWorkflow",
|
|
33
|
+
)
|
|
27
34
|
@dataclasses.dataclass(kw_only=True)
|
|
28
35
|
class SimpleWorkflow:
|
|
29
36
|
workflow_id: base_t.ObjectId
|
|
File without changes
|
{UncountablePythonSDK-0.0.71.dist-info → UncountablePythonSDK-0.0.73.dist-info}/top_level.txt
RENAMED
|
File without changes
|