UncountablePythonSDK 0.0.88__py3-none-any.whl → 0.0.90__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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: UncountablePythonSDK
3
- Version: 0.0.88
3
+ Version: 0.0.90
4
4
  Summary: Uncountable SDK
5
5
  Project-URL: Homepage, https://github.com/uncountableinc/uncountable-python-sdk
6
6
  Project-URL: Repository, https://github.com/uncountableinc/uncountable-python-sdk.git
@@ -27,7 +27,7 @@ examples/integration-server/jobs/materials_auto/example_wh.py,sha256=Hx5nonavOh2
27
27
  examples/integration-server/jobs/materials_auto/profile.yaml,sha256=XlOXSRplMJ13T6900pv1wDKxeE9V1hZZTMuvup1MiBM,896
28
28
  pkgs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
29
29
  pkgs/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
30
- pkgs/argument_parser/__init__.py,sha256=JRfZkC0-q6axr8F5_TKrjSprJ7d7chfcPvf-iMQqFg0,447
30
+ pkgs/argument_parser/__init__.py,sha256=1qShokCP8e-h8oeO0r9EZPDOdSPUQ9Q4fAxW4tlH24I,503
31
31
  pkgs/argument_parser/_is_enum.py,sha256=Gw6jJa8nBwYGqXwwCZbSnWL8Rvr5alkg5lSVAqXtOZM,257
32
32
  pkgs/argument_parser/_is_namedtuple.py,sha256=Rjc1bKanIPPogl3qG5JPBxglG1TqWYOo1nxxhBASQWY,265
33
33
  pkgs/argument_parser/argument_parser.py,sha256=XjWQdcWanfaCGdLx7c_yQtqbZp7db-KAWzw8sTpXOsY,17713
@@ -40,7 +40,7 @@ pkgs/filesystem_utils/_s3_session.py,sha256=_jLK5C-UElT5Sl5teM2pFR7fQe11NlhUd04E
40
40
  pkgs/filesystem_utils/_sftp_session.py,sha256=6zoF7YsEUp0GpyFb-BeIhUAWvbTK7IUjvPNJ1B0vEyI,4743
41
41
  pkgs/filesystem_utils/file_type_utils.py,sha256=Au79J66Rh_Yyt_dXctsygPAg1Y4QRawqwRhbvnCpDIY,1933
42
42
  pkgs/filesystem_utils/filesystem_session.py,sha256=BQ2Go8Mu9-GcnaWh2Pm4x7ugLVsres6XrOQ8RoiEpcE,1045
43
- pkgs/serialization/__init__.py,sha256=LifasRW0a50A3qRFmo2bf3FQ6TXhZWOTz2-CVTgPjcQ,753
43
+ pkgs/serialization/__init__.py,sha256=6zgJCsQjjWs4Vj1Z6i3rWpZrziy92xt4ayOJswxv45o,832
44
44
  pkgs/serialization/missing_sentry.py,sha256=aM_9KxbCk9dVvXvcOKgkIQBqFWvLhv8QlIUCiuFEXMo,806
45
45
  pkgs/serialization/opaque_key.py,sha256=8ak7aMCGWkKDjnG374yqy8gtnCCUzG2DSJEBfoPgi0c,194
46
46
  pkgs/serialization/serial_class.py,sha256=fEceYVIV8dc3Ium-okYxp9cCNFg05HcliXqoCcV5Wcc,6151
@@ -60,7 +60,7 @@ pkgs/type_spec/emit_io_ts.py,sha256=CUvBs0boB_X-Kndh66yYcqFfq3oC_LGs8YffLkJ0ZXA,
60
60
  pkgs/type_spec/emit_open_api.py,sha256=_oBTuYixZUp3DT2cJaiY55VnCi_jGjqV_1vBx2dYdsw,24596
61
61
  pkgs/type_spec/emit_open_api_util.py,sha256=x4GCiZSGdypJ9Qtm6I5W_3UvwdJyMs8_OGhJ8_THznA,2401
62
62
  pkgs/type_spec/emit_python.py,sha256=iJgRfke0rCFKY_7nGWLCPR_SQ4gfRuudC6b7r5ftKPE,47456
63
- pkgs/type_spec/emit_typescript.py,sha256=PNeXHoeMA8UWgxsgJisIhJeFX5CNXn0NIz8UtgTvxes,8838
63
+ pkgs/type_spec/emit_typescript.py,sha256=VgOD3k3hdXyrdYMMY0fZjfpE6-aCm0zuCSjvRVkRHMo,8834
64
64
  pkgs/type_spec/emit_typescript_util.py,sha256=sugxboeMwXiIdk4RDyUR_CxU31Le3OQ7i5HmuHeSLvc,10447
65
65
  pkgs/type_spec/load_types.py,sha256=vO8VLI7aTKzzHQIla-WO-5Z_mfTuwUqH4ZSKN9E9n5U,3688
66
66
  pkgs/type_spec/open_api_util.py,sha256=IGh-_snGPST_P_8FdYtO8MTEa9PUxRW6Rzg9X9EgQik,7114
@@ -68,21 +68,21 @@ pkgs/type_spec/test.py,sha256=4ueujBq-pEgnX3Z69HyPmD-bullFXmpixcpVzfOkhP4,489
68
68
  pkgs/type_spec/util.py,sha256=79SLJsSPVnBe2_3CTF6J-7-QD9nRr6o8MKvfjyx53eI,4864
69
69
  pkgs/type_spec/actions_registry/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
70
70
  pkgs/type_spec/actions_registry/__main__.py,sha256=JGwKxcAmrQdbpVR2vwknoimN1Q-r5h4SADw1cYLYzgk,4331
71
- pkgs/type_spec/actions_registry/emit_typescript.py,sha256=nzqnZbI2OyFSQtyWxINfEsUBF-oLcfUJJnxxeIbzlLE,5990
71
+ pkgs/type_spec/actions_registry/emit_typescript.py,sha256=W1lI36ITdJ7MBf37wlTB7H3X9Ljt217vIGMv4e3fxfY,5986
72
72
  pkgs/type_spec/parts/base.py.prepart,sha256=St6P21VP8Um_nagZFuSyNzYiKDSrsK3TNOuGY_1O8cg,2186
73
73
  pkgs/type_spec/parts/base.ts.prepart,sha256=2FJJvpg2olCcavxj0nbYWdwKl6KeScour2JjSvN42l8,1001
74
74
  pkgs/type_spec/type_info/__main__.py,sha256=pmVjVqXyVh8vKTNCTFgz80Sg74C5BKToP3E6GS-X_So,857
75
75
  pkgs/type_spec/type_info/emit_type_info.py,sha256=EzX0ONjrLtQFlN5cEAaw2RPVyadmgmZazOfqHUbL_PI,13362
76
76
  pkgs/type_spec/value_spec/__init__.py,sha256=Z-grlcZtxAfEXhPHsK0nD7PFLGsv4eqvunaPN7_TA84,83
77
77
  pkgs/type_spec/value_spec/__main__.py,sha256=6bzP85p_Cm4bPp5tXz8D_4p64wMn5SKsXC7SqSZquYc,8318
78
- pkgs/type_spec/value_spec/convert_type.py,sha256=Tg5YsYOwvmf_EqbCAtCmqy3-dud8OwdbEOzAaRN7cCs,2286
78
+ pkgs/type_spec/value_spec/convert_type.py,sha256=X5N7DOTo5XOIHbcYHh9RZFthzb2gcnYg2tRuVMBhbxY,2517
79
79
  pkgs/type_spec/value_spec/emit_python.py,sha256=KXZqEw7ZNoDk2i77UV7jljiKuE_kgmp7oRyKRIxYUhY,7007
80
80
  pkgs/type_spec/value_spec/types.py,sha256=a2zxbbCRWepY1l8OtjeCDKgBKFPFHVgV99oP6pTtaro,441
81
81
  uncountable/__init__.py,sha256=8l8XWNCKsu7TG94c-xa2KHpDegvxDC2FyQISdWC763Y,89
82
82
  uncountable/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
83
83
  uncountable/core/__init__.py,sha256=RFv0kO6rKFf1PtBPu83hCGmxqkJamRtsgQ9_-ztw7tA,341
84
84
  uncountable/core/async_batch.py,sha256=9pYGFzVCQXt8059qFHgutweGIFPquJ5Xfq6NT5P-1K0,1206
85
- uncountable/core/client.py,sha256=SVBaoXfbV-sj7py3JHOFrQs9_i3E_7P8LqGSDeTAV5Q,11217
85
+ uncountable/core/client.py,sha256=rIdwZoXKor8XCOemItSG624aHV2DHIh8trq2uCGXZ_Y,11251
86
86
  uncountable/core/environment.py,sha256=K2TtE52JbW5UOBkBSc2Ee2l9rDIoRNoFDXDqRha1fJI,1036
87
87
  uncountable/core/file_upload.py,sha256=L1tjW-zw0vu6y7ytqSWR_aVF8OIsqlQYHCa-24kbAf4,3408
88
88
  uncountable/core/types.py,sha256=s2CjqYJpsmbC7xMwxxT7kJ_V9bwokrjjWVVjpMcQpKI,333
@@ -124,10 +124,10 @@ uncountable/integration/queue_runner/datastore/model.py,sha256=8-RI5A2yPZVGBLWIN
124
124
  uncountable/integration/secret_retrieval/__init__.py,sha256=3QXVj35w8rRMxVvmmsViFYDi3lcb3g70incfalOEm6o,87
125
125
  uncountable/integration/secret_retrieval/retrieve_secret.py,sha256=9iz9N8Z-B68QwFCXsx8hTYbgDbk06ejkJ3RQ9mCLMyM,3000
126
126
  uncountable/integration/webhook_server/entrypoint.py,sha256=yQWQq_k3kbJkSsEEt6k22YwhXekezJZfV0rnn-hP-Yo,5516
127
- uncountable/types/__init__.py,sha256=HaqDPQiYcRk_xbKtOebSskAHBHQ_3rBd08ghBO1ZCI4,9120
127
+ uncountable/types/__init__.py,sha256=jQpQR-ISmkhyC7XziQbuUnMBP2Qa8C5ixgczj_4WDJw,9138
128
128
  uncountable/types/async_batch.py,sha256=-qOtydEQDfZLkuDvQPH6PxnE_JBFeO1Ro1eaxLyiWD4,683
129
- uncountable/types/async_batch_processor.py,sha256=WQqEFi9azyE7Gmk2KtD7F5xMtNZOIxHLj0is67WA60s,14420
130
- uncountable/types/async_batch_t.py,sha256=JZY4t6GuriSCDr1cWu8vs-2awGrw8Hsr5OP-SFJ5V0E,3065
129
+ uncountable/types/async_batch_processor.py,sha256=P8ArIgnrTdsISckBy0WLRLI3-t3TJRCgpX0KEB9VlGc,14450
130
+ uncountable/types/async_batch_t.py,sha256=Lb-L7zGxsk1F-MIo3eSnNQStren2ad9R1mE5gIiXyhY,3077
131
131
  uncountable/types/async_jobs.py,sha256=gFtEPBZot72sR5zrMWc5zD5QrgNmFmGyD67Y-KhyAmo,343
132
132
  uncountable/types/async_jobs_t.py,sha256=sEh1Ev46ff4n1v8mMV3rEbH3MGmaXnLuvYf0UhDdzeU,1425
133
133
  uncountable/types/auth_retrieval.py,sha256=FY8Vr_BWD4O8PsauPNt_7_08YZSHFaUlTT72L5XJ-4o,570
@@ -138,13 +138,13 @@ uncountable/types/calculations.py,sha256=FFO_D3BbKoGDZnqWvTKpW4KF359i2vrKjpdFCLY
138
138
  uncountable/types/calculations_t.py,sha256=157qD0VqijD5kNDF5BRsfGli3WaPGnNjoo2o2CPX-Ik,669
139
139
  uncountable/types/chemical_structure.py,sha256=E-LnikTFDoVQ1b2zKaVUIO_PAKm-7aZZYJi8I8SDSic,302
140
140
  uncountable/types/chemical_structure_t.py,sha256=zDJ6WkeT3YwWZRZT21znQn2ZYelv3L7yv7kJiGoNZCw,824
141
- uncountable/types/client_base.py,sha256=7AA4rHQ0N1o22Grqij3ckyy5QbjsrGl5X6YTRfbH_fU,69635
141
+ uncountable/types/client_base.py,sha256=GFm2wIltgRqvXMGm_u2PnHskDnjMFL2ytI0py_5LYVI,69683
142
142
  uncountable/types/client_config.py,sha256=4h5Liko9uKCo9_0gdbPhoK6Jr2Kv7tioLiQ8iKeq-_4,301
143
143
  uncountable/types/client_config_t.py,sha256=6dStfR0IEHiPW8f9_aF3DD_tHmXXw2rEVrgpebzq8Fg,747
144
144
  uncountable/types/curves.py,sha256=W6uMpG5SyW1MS82szNpxkFEn1MnxNpBFyFbQb2Ysfng,366
145
145
  uncountable/types/curves_t.py,sha256=lKhRM-2cZ_sFaW7pa_I_Ipz_pJhm3_yTFehRXI79pKk,1416
146
146
  uncountable/types/entity.py,sha256=Y7r_xuYIsY_v1NfIil_d-1_4-lUDMmOSKnMBYCJ20jM,587
147
- uncountable/types/entity_t.py,sha256=iyf8BKII5Jy072RguoJDAg-o0ZKa8ZrVUrKPrpWLR0E,17155
147
+ uncountable/types/entity_t.py,sha256=oFgQaCIP25viCk-HN3l3ggyR6GqKGWXkWJ_1K9xvqRY,17175
148
148
  uncountable/types/experiment_groups.py,sha256=_0OXcPzSAbkE-rfKt5tPx178YJ4pcEKZvrCxUHgDnvw,309
149
149
  uncountable/types/experiment_groups_t.py,sha256=qEs8YW0eJOJ_sCOObT5v9QRx9wsjLYpJqJhCJXa-vNA,721
150
150
  uncountable/types/field_values.py,sha256=x3oNoMTgT9k1knWVxAVaX4krj7V8palj90FZuFtFbRw,1202
@@ -219,7 +219,7 @@ uncountable/types/api/entity/grant_entity_permissions.py,sha256=YAXyJ3I_nqDQYFYG
219
219
  uncountable/types/api/entity/list_entities.py,sha256=ykbdq4DD31uiRz4i8LH-8LLeA2Lpp_5fWfb5fdyx248,2000
220
220
  uncountable/types/api/entity/lock_entity.py,sha256=mMZx2tWOtuYg0sIftdPsFWgZO5LCav2ubqTw97dCtDU,1197
221
221
  uncountable/types/api/entity/resolve_entity_ids.py,sha256=GnQjeoTdzL0PIubrLay-PpaRsYFFWVGrTxhzSmP4hhw,1387
222
- uncountable/types/api/entity/set_entity_values.py,sha256=irihNNbUHScKhOWpC0D8R9b3QXPT8yuSJVBnat1Y42o,1182
222
+ uncountable/types/api/entity/set_entity_field_values.py,sha256=FA-V9NrFeoiNnHrz3bh2qzDzldI5n5ILrKVuefVuKCo,1200
223
223
  uncountable/types/api/entity/set_values.py,sha256=O_LpcYeBXFfxxUVOL2FDDYQwU7La-IBM_uEQLgtPrVo,1125
224
224
  uncountable/types/api/entity/transition_entity_phase.py,sha256=J0lO_dubmTCO9s7P2DZgC-Zq6m0VagpXfg0jZqxz5XM,2160
225
225
  uncountable/types/api/entity/unlock_entity.py,sha256=8UGffqqV8eiSbz_-7y0W2CXLsz4IvM496RFz6L0Y23o,1150
@@ -288,7 +288,7 @@ uncountable/types/api/triggers/__init__.py,sha256=gCgbynxG3jA8FQHzercKtrHKHkiIKr
288
288
  uncountable/types/api/triggers/run_trigger.py,sha256=-oZgPyn43xEKSCs81DVNzwaYMCdRJxbM9GY6fsqKwf4,1090
289
289
  uncountable/types/api/uploader/__init__.py,sha256=gCgbynxG3jA8FQHzercKtrHKHkiIKr8APdZYUniAor8,55
290
290
  uncountable/types/api/uploader/invoke_uploader.py,sha256=6mwVG136oLp9JcbB2I-kZnrcm3aeZzYZB-SFjEImY2o,1314
291
- UncountablePythonSDK-0.0.88.dist-info/METADATA,sha256=ffYG155Wxi8gwlAe-T91tlE8En-elS89jOL5ZgBHCQY,2064
292
- UncountablePythonSDK-0.0.88.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
293
- UncountablePythonSDK-0.0.88.dist-info/top_level.txt,sha256=1UVGjAU-6hJY9qw2iJ7nCBeEwZ793AEN5ZfKX9A1uj4,31
294
- UncountablePythonSDK-0.0.88.dist-info/RECORD,,
291
+ UncountablePythonSDK-0.0.90.dist-info/METADATA,sha256=8_VsTo7yg4CfYb7io56h0z1Tm4laQsg1uBoWUdqA_JM,2064
292
+ UncountablePythonSDK-0.0.90.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
293
+ UncountablePythonSDK-0.0.90.dist-info/top_level.txt,sha256=1UVGjAU-6hJY9qw2iJ7nCBeEwZ793AEN5ZfKX9A1uj4,31
294
+ UncountablePythonSDK-0.0.90.dist-info/RECORD,,
@@ -1,4 +1,5 @@
1
1
  from .argument_parser import CachedParser as CachedParser
2
+ from .argument_parser import ParserError as ParserError
2
3
  from .argument_parser import ParserFunction as ParserFunction
3
4
  from .argument_parser import ParserOptions as ParserOptions
4
5
  from .argument_parser import build_parser as build_parser
@@ -8,5 +8,6 @@ from .serial_class import get_serial_class_data as get_serial_class_data
8
8
  from .serial_class import get_serial_string_enum_data as get_serial_string_enum_data
9
9
  from .serial_class import serial_class as serial_class
10
10
  from .serial_class import serial_string_enum as serial_string_enum
11
+ from .serial_class import SerialClassDataInspector as SerialClassDataInspector
11
12
  from .serial_union import serial_union_annotation as serial_union_annotation
12
13
  from .serial_union import get_serial_union_data as get_serial_union_data
@@ -64,7 +64,7 @@ def _emit_imports(
64
64
  sorted([f"type {_action_namespace_name(item)}" for item in list(namespaces)])
65
65
  )
66
66
  out.write(
67
- f'import {{ ActionsRegistryT, {namespaces_to_import} }} from "unc_mat/types"\n\n'
67
+ f'import {{ ActionsRegistryT, {namespaces_to_import} }} from "unc_types"\n\n'
68
68
  )
69
69
  out.write(MODIFY_NOTICE)
70
70
  return out.getvalue()
@@ -157,7 +157,7 @@ def _emit_endpoint(
157
157
  wrap_call = (
158
158
  f"{wrap_name}<Arguments>" if is_binary else f"{wrap_name}<Arguments, Response>"
159
159
  )
160
- type_path = f"unc_mat/types/{'/'.join(namespace.path)}"
160
+ type_path = f"unc_types/{'/'.join(namespace.path)}"
161
161
 
162
162
  if is_binary:
163
163
  tsx_response_part = f"""import {{ {wrap_name} }} from "unc_base/api"
@@ -31,6 +31,11 @@ TYPE_MAP = {
31
31
  # not part of type_spec's types now
32
32
  "Symbol": MappedType(base_type=value_spec_t.BaseType.SYMBOL),
33
33
  "Any": MappedType(base_type=value_spec_t.BaseType.ANY),
34
+ "None": MappedType(base_type=value_spec_t.BaseType.NONE),
35
+ "Tuple": MappedType(
36
+ base_type=value_spec_t.BaseType.TUPLE, variable_param_count=True
37
+ ),
38
+ "Never": MappedType(base_type=value_spec_t.BaseType.NEVER),
34
39
  }
35
40
 
36
41
 
@@ -189,10 +189,11 @@ class Client(ClientMethods):
189
189
  extra_details: dict[str, JsonValue] | None = None
190
190
  try:
191
191
  data = response.json()
192
- if "error" in data:
193
- extra_details = data
192
+ extra_details = data
194
193
  except JSONDecodeError:
195
- pass
194
+ extra_details = {
195
+ "body": response.text,
196
+ }
196
197
  raise APIResponseError.construct_error(
197
198
  status_code=response.status_code,
198
199
  extra_details=extra_details,
@@ -85,7 +85,7 @@ from . import response_t as response_t
85
85
  from .api.triggers import run_trigger as run_trigger_t
86
86
  from . import secret_retrieval_t as secret_retrieval_t
87
87
  from .api.permissions import set_core_permissions as set_core_permissions_t
88
- from .api.entity import set_entity_values as set_entity_values_t
88
+ from .api.entity import set_entity_field_values as set_entity_field_values_t
89
89
  from .api.inputs import set_input_attribute_values as set_input_attribute_values_t
90
90
  from .api.inputs import set_input_category as set_input_category_t
91
91
  from .api.inputs import set_input_subcategories as set_input_subcategories_t
@@ -192,7 +192,7 @@ __all__: list[str] = [
192
192
  "run_trigger_t",
193
193
  "secret_retrieval_t",
194
194
  "set_core_permissions_t",
195
- "set_entity_values_t",
195
+ "set_entity_field_values_t",
196
196
  "set_input_attribute_values_t",
197
197
  "set_input_category_t",
198
198
  "set_input_subcategories_t",
@@ -21,12 +21,12 @@ __all__: list[str] = [
21
21
  ]
22
22
 
23
23
  ENDPOINT_METHOD = "POST"
24
- ENDPOINT_PATH = "api/external/entity/set_entity_values"
24
+ ENDPOINT_PATH = "api/external/entity/set_entity_field_values"
25
25
 
26
26
 
27
27
  # DO NOT MODIFY -- This file is generated by type_spec
28
28
  @serial_class(
29
- named_type_path="sdk.api.entity.set_entity_values.Arguments",
29
+ named_type_path="sdk.api.entity.set_entity_field_values.Arguments",
30
30
  )
31
31
  @dataclasses.dataclass(kw_only=True)
32
32
  class Arguments:
@@ -36,7 +36,7 @@ class Arguments:
36
36
 
37
37
  # DO NOT MODIFY -- This file is generated by type_spec
38
38
  @serial_class(
39
- named_type_path="sdk.api.entity.set_entity_values.Data",
39
+ named_type_path="sdk.api.entity.set_entity_field_values.Data",
40
40
  )
41
41
  @dataclasses.dataclass(kw_only=True)
42
42
  class Data(async_batch_t.AsyncBatchActionReturn):
@@ -24,7 +24,7 @@ import uncountable.types.api.uploader.invoke_uploader as invoke_uploader_t
24
24
  from uncountable.types import recipe_identifiers_t
25
25
  from uncountable.types import recipe_metadata_t
26
26
  from uncountable.types import recipe_workflow_steps_t
27
- import uncountable.types.api.entity.set_entity_values as set_entity_values_t
27
+ import uncountable.types.api.entity.set_entity_field_values as set_entity_field_values_t
28
28
  import uncountable.types.api.recipes.set_recipe_metadata as set_recipe_metadata_t
29
29
  import uuid
30
30
  from abc import ABC, abstractmethod
@@ -313,7 +313,7 @@ class AsyncBatchProcessorBase(ABC):
313
313
  batch_reference=req.batch_reference,
314
314
  )
315
315
 
316
- def set_entity_values(
316
+ def set_entity_field_values(
317
317
  self,
318
318
  *,
319
319
  entity_identifier: entity_t.EntityIdentifier,
@@ -326,7 +326,7 @@ class AsyncBatchProcessorBase(ABC):
326
326
  :param field_values: Field values to set
327
327
  :param depends_on: A list of batch reference keys to process before processing this request
328
328
  """
329
- args = set_entity_values_t.Arguments(
329
+ args = set_entity_field_values_t.Arguments(
330
330
  entity_identifier=entity_identifier,
331
331
  field_values=field_values,
332
332
  )
@@ -335,7 +335,7 @@ class AsyncBatchProcessorBase(ABC):
335
335
  batch_reference = str(uuid.uuid4())
336
336
 
337
337
  req = async_batch_t.AsyncBatchRequest(
338
- path=async_batch_t.AsyncBatchRequestPath.SET_ENTITY_VALUES,
338
+ path=async_batch_t.AsyncBatchRequestPath.SET_ENTITY_FIELD_VALUES,
339
339
  data=json_data,
340
340
  depends_on=depends_on,
341
341
  batch_reference=batch_reference,
@@ -37,7 +37,7 @@ class AsyncBatchRequestPath(StrEnum):
37
37
  ASSOCIATE_RECIPE_AS_INPUT = "recipes/associate_recipe_as_input"
38
38
  CLEAR_RECIPE_OUTPUTS = "recipes/clear_recipe_outputs"
39
39
  GRANT_ENTITY_PERMISSIONS = "entity/grant_entity_permissions"
40
- SET_ENTITY_VALUES = "entity/set_entity_values"
40
+ SET_ENTITY_FIELD_VALUES = "entity/set_entity_field_values"
41
41
 
42
42
 
43
43
  # DO NOT MODIFY -- This file is generated by type_spec
@@ -69,7 +69,7 @@ import uncountable.types.api.entity.resolve_entity_ids as resolve_entity_ids_t
69
69
  import uncountable.types.api.outputs.resolve_output_conditions as resolve_output_conditions_t
70
70
  import uncountable.types.api.triggers.run_trigger as run_trigger_t
71
71
  import uncountable.types.api.permissions.set_core_permissions as set_core_permissions_t
72
- import uncountable.types.api.entity.set_entity_values as set_entity_values_t
72
+ import uncountable.types.api.entity.set_entity_field_values as set_entity_field_values_t
73
73
  import uncountable.types.api.inputs.set_input_attribute_values as set_input_attribute_values_t
74
74
  import uncountable.types.api.inputs.set_input_category as set_input_category_t
75
75
  import uncountable.types.api.inputs.set_input_subcategories as set_input_subcategories_t
@@ -1233,27 +1233,27 @@ class ClientMethods(ABC):
1233
1233
  )
1234
1234
  return self.do_request(api_request=api_request, return_type=set_core_permissions_t.Data)
1235
1235
 
1236
- def set_entity_values(
1236
+ def set_entity_field_values(
1237
1237
  self,
1238
1238
  *,
1239
1239
  entity_identifier: entity_t.EntityIdentifier,
1240
1240
  field_values: list[field_values_t.FieldArgumentValue],
1241
- ) -> set_entity_values_t.Data:
1241
+ ) -> set_entity_field_values_t.Data:
1242
1242
  """Sets field values for an entity
1243
1243
 
1244
1244
  :param entity_identifier: Entity to update
1245
1245
  :param field_values: Field values to set
1246
1246
  """
1247
- args = set_entity_values_t.Arguments(
1247
+ args = set_entity_field_values_t.Arguments(
1248
1248
  entity_identifier=entity_identifier,
1249
1249
  field_values=field_values,
1250
1250
  )
1251
1251
  api_request = APIRequest(
1252
- method=set_entity_values_t.ENDPOINT_METHOD,
1253
- endpoint=set_entity_values_t.ENDPOINT_PATH,
1252
+ method=set_entity_field_values_t.ENDPOINT_METHOD,
1253
+ endpoint=set_entity_field_values_t.ENDPOINT_PATH,
1254
1254
  args=args,
1255
1255
  )
1256
- return self.do_request(api_request=api_request, return_type=set_entity_values_t.Data)
1256
+ return self.do_request(api_request=api_request, return_type=set_entity_field_values_t.Data)
1257
1257
 
1258
1258
  def set_input_attribute_values(
1259
1259
  self,
@@ -84,7 +84,7 @@ __all__: list[str] = [
84
84
  "ingredient_tag_map": "Ingredient Tag Map",
85
85
  "input_group": "Input Group",
86
86
  "inv_local_locations": "Inventory Location",
87
- "inventory_amount": "Inventory Amount",
87
+ "inventory_amount": "Inventory Item",
88
88
  "inventory_limit": "Inventory Limit",
89
89
  "inventory_history": "Inventory History",
90
90
  "lab_location": "Lab Location",
@@ -124,7 +124,7 @@ __all__: list[str] = [
124
124
  "recipe_ingredient": "Experiment Ingredient",
125
125
  "recipe_ingredient_actual": "Experiment Ingredient Actual",
126
126
  "recipe_ingredients_compounded": "Experiment Ingredients Compounded",
127
- "recipe_ingredients_compounded_calculation": "Experiment Ingredients Compounded Caclulation",
127
+ "recipe_ingredients_compounded_calculation": "Experiment Ingredients Compounded Calculation",
128
128
  "recipe_output": "Experiment Output",
129
129
  "recipe_output_metadata": "Experiment Output Metadata",
130
130
  "recipe_permission_view": "Experiment Permission View",
@@ -375,7 +375,7 @@ class Entity:
375
375
  @serial_class(
376
376
  named_type_path="sdk.entity.EntityIdentifier",
377
377
  )
378
- @dataclasses.dataclass(kw_only=True)
378
+ @dataclasses.dataclass(kw_only=True, frozen=True, eq=True)
379
379
  class EntityIdentifier:
380
380
  identifier_key: identifier_t.IdentifierKey
381
381
  type: EntityType