UncountablePythonSDK 0.0.162__py3-none-any.whl → 0.0.164__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.
@@ -0,0 +1,57 @@
1
+ # Add a File to a Folder
2
+
3
+ This is a two-step workflow: first upload the file using `upload_files`, then place it in a target folder using `add_file_to_folder`.
4
+
5
+ ## Step 1: Upload the file
6
+
7
+ ```{code-block} python
8
+ from io import BytesIO
9
+ from pathlib import Path
10
+
11
+ from uncountable.core import AuthDetailsApiKey, Client
12
+ from uncountable.core.client import ClientConfig
13
+ from uncountable.core.file_upload import DataFileUpload, UploadedFile
14
+
15
+ client: Client = Client(
16
+ base_url="<BASE_URL>",
17
+ auth_details=AuthDetailsApiKey(
18
+ api_id="<API_ID>", api_secret_key="<API_SECRET_KEY>"
19
+ ),
20
+ config=ClientConfig(allow_insecure_tls=False),
21
+ )
22
+
23
+ filepath = Path("<YOUR_FILE_PATH>")
24
+ file_io: BytesIO = BytesIO(filepath.read_bytes())
25
+
26
+ upload_file_response: list[UploadedFile] = client.upload_files(
27
+ file_uploads=[DataFileUpload(data=file_io, name=filepath.name)]
28
+ )
29
+
30
+ file_id = upload_file_response[0].file_id
31
+ ```
32
+
33
+ ## Step 2: Add the file to a folder
34
+
35
+ ```{code-block} python
36
+ from uncountable.types import identifier_t
37
+
38
+ response = client.add_file_to_folder(
39
+ file_id=file_id,
40
+ folder_key=identifier_t.IdentifierKeyId(id=<FOLDER_ID>),
41
+ )
42
+ ```
43
+
44
+ Example Response:
45
+ ```{code}
46
+ Data(modification_made=True, result_id=4521, entity=Entity(id=892, type=<EntityType.FILE_FOLDER_MEMBERSHIP: 'file_folder_membership'>), result_values=None)
47
+ ```
48
+
49
+ To add the file to the root folder instead of a specific folder:
50
+
51
+ ```{code-block} python
52
+ response = client.add_file_to_folder(
53
+ file_id=file_id,
54
+ folder_key=identifier_t.IdentifierKeyRefName(ref_name="root"),
55
+ )
56
+ ```
57
+
@@ -1,6 +1,7 @@
1
1
  # Integration Examples
2
2
 
3
3
  ```{toctree}
4
+ add_file_to_folder
4
5
  create_ingredient
5
6
  create_output
6
7
  upload_file
@@ -9,7 +9,7 @@ dependencies = [
9
9
  "ruff == 0.*",
10
10
  "openpyxl == 3.*",
11
11
  "more_itertools == 10.*",
12
- "types-paramiko ==4.0.0.20250822",
12
+ "types-paramiko ==4.0.0.20260322",
13
13
  "types-openpyxl == 3.*",
14
14
  "types-pysftp == 0.*",
15
15
  "types-pytz ==2026.*",
@@ -1,11 +1,8 @@
1
1
  from ._is_enum import is_string_enum_class as is_string_enum_class
2
2
  from .argument_parser import CachedParser as CachedParser
3
3
  from .argument_parser import ParserBase as ParserBase
4
- from .argument_parser import ParserError as ParserError
5
- from .argument_parser import ParserExtraFieldsError as ParserExtraFieldsError
6
4
  from .argument_parser import ParserFunction as ParserFunction
7
5
  from .argument_parser import ParserOptions as ParserOptions
8
- from .argument_parser import ParserTypeError as ParserTypeError
9
6
  from .argument_parser import SourceEncoding as SourceEncoding
10
7
  from .argument_parser import build_parser as build_parser
11
8
  from .argument_parser import is_missing as is_missing
@@ -14,3 +11,7 @@ from .argument_parser import is_union as is_union
14
11
  from .case_convert import camel_to_snake_case as camel_to_snake_case
15
12
  from .case_convert import kebab_to_pascal_case as kebab_to_pascal_case
16
13
  from .case_convert import snake_to_camel_case as snake_to_camel_case
14
+ from .parser_error import ParserEnumError as ParserEnumError
15
+ from .parser_error import ParserError as ParserError
16
+ from .parser_error import ParserExtraFieldsError as ParserExtraFieldsError
17
+ from .parser_error import ParserTypeError as ParserTypeError
@@ -26,6 +26,12 @@ from pkgs.serialization import (
26
26
  from ._is_enum import is_string_enum_class
27
27
  from ._is_namedtuple import is_namedtuple_type
28
28
  from .case_convert import camel_to_snake_case, snake_to_camel_case
29
+ from .parser_error import (
30
+ ParserEnumError,
31
+ ParserError,
32
+ ParserExtraFieldsError,
33
+ ParserTypeError,
34
+ )
29
35
 
30
36
  T = typing.TypeVar("T")
31
37
  ParserFunction = typing.Callable[[typing.Any], T]
@@ -72,22 +78,6 @@ class ParserContext:
72
78
  cache: ParserCache
73
79
 
74
80
 
75
- class ParserError(BaseException): ...
76
-
77
-
78
- class ParserExtraFieldsError(ParserError):
79
- extra_fields: set[str]
80
-
81
- def __init__(self, extra_fields: set[str]) -> None:
82
- self.extra_fields = extra_fields
83
-
84
- def __str__(self) -> str:
85
- return f"extra fields were provided: {', '.join(self.extra_fields)}"
86
-
87
-
88
- class ParserTypeError(ParserError): ...
89
-
90
-
91
81
  def is_union(field_type: typing.Any) -> bool:
92
82
  origin = typing.get_origin(field_type)
93
83
  return origin is typing.Union or origin is types.UnionType
@@ -152,8 +142,10 @@ def _invoke_fallback_parsers(
152
142
  except Exception as e:
153
143
  exceptions.append(e)
154
144
  continue
155
- raise ValueError(
156
- f"Unhandled value {value} cannot be cast to a member of {original_type}"
145
+ raise ParserError(
146
+ f"Unhandled value {value} cannot be cast to a member of {original_type}",
147
+ value=value,
148
+ expected_type=original_type,
157
149
  ) from ExceptionGroup("Fallback Parser Exception", exceptions)
158
150
 
159
151
 
@@ -169,7 +161,9 @@ def _invoke_membership_parser(
169
161
  if value == test_value:
170
162
  return test_value
171
163
 
172
- raise ValueError(f"Expected value from {expected_values} but got value {value}")
164
+ raise ParserError(
165
+ f"Expected value from {expected_values} but got value {value}", value=value
166
+ )
173
167
 
174
168
 
175
169
  # Uses `is` to compare
@@ -179,8 +173,10 @@ def _build_identity_parser(
179
173
  def parse(value: typing.Any) -> T:
180
174
  if value is identity_value:
181
175
  return identity_value
182
- raise ValueError(
183
- f"Expected value {identity_value} (type: {type(identity_value)}) but got value {value} (type: {type(value)})"
176
+ raise ParserError(
177
+ f"Expected value {identity_value} (type: {type(identity_value)}) but got value {value} (type: {type(value)})",
178
+ value=value,
179
+ expected_type=type(identity_value),
184
180
  )
185
181
 
186
182
  return parse
@@ -206,12 +202,12 @@ def _build_parser_discriminated_union(
206
202
  else:
207
203
  discriminant = value.get(discriminator)
208
204
  if discriminant is None:
209
- raise ValueError("missing-union-discriminant")
205
+ raise ParserError("missing-union-discriminant")
210
206
  if not isinstance(discriminant, str):
211
- raise ValueError("union-discriminant-is-not-string")
207
+ raise ParserError("union-discriminant-is-not-string", value=discriminant)
212
208
  parser = discriminator_map.get(discriminant)
213
209
  if parser is None:
214
- raise ValueError("missing-type-for-union-discriminant", discriminant)
210
+ raise ParserError("missing-type-for-union-discriminant", value=discriminant)
215
211
  return parser(value)
216
212
 
217
213
  return parse
@@ -384,18 +380,22 @@ def _build_parser_inner(
384
380
  if origin in (list, set):
385
381
  args = typing.get_args(parsed_type)
386
382
  if len(args) != 1:
387
- raise ValueError("List types only support one argument")
383
+ raise ParserError(
384
+ "List types only support one argument", expected_type=parsed_type
385
+ )
388
386
  arg_parser = _build_parser_inner(args[0], context, type_var_map)
389
387
 
390
388
  def parse_element(value: typing.Any) -> typing.Any:
391
389
  try:
392
390
  return arg_parser(value)
393
391
  except Exception as e:
394
- raise ValueError("Failed to parse element", value) from e
392
+ raise ParserError("Failed to parse element", value=value) from e
395
393
 
396
394
  def parse(value: typing.Any) -> typing.Any:
397
395
  if not isinstance(value, list):
398
- raise ValueError("value is not a list", parsed_type)
396
+ raise ParserError(
397
+ "value is not a list", value=value, expected_type=parsed_type
398
+ )
399
399
  return origin(parse_element(x) for x in value)
400
400
 
401
401
  return parse
@@ -403,7 +403,10 @@ def _build_parser_inner(
403
403
  if origin is dict:
404
404
  args = typing.get_args(parsed_type)
405
405
  if len(args) != 2:
406
- raise ValueError("Dict types only support two arguments for now")
406
+ raise ParserError(
407
+ "Dict types only support two arguments for now",
408
+ expected_type=parsed_type,
409
+ )
407
410
  k_inner_parser = _build_parser_inner(
408
411
  args[0],
409
412
  context,
@@ -479,7 +482,11 @@ def _build_parser_inner(
479
482
  return value # type: ignore
480
483
  if isinstance(value, (float, int)):
481
484
  return str(value) # type: ignore
482
- raise ValueError(f"Invalid string value: {type(value)}: {value}")
485
+ raise ParserError(
486
+ f"Invalid string value: {type(value)}: {value}",
487
+ value=value,
488
+ expected_type=str,
489
+ )
483
490
 
484
491
  return parse_str
485
492
 
@@ -488,19 +495,38 @@ def _build_parser_inner(
488
495
  def parse_as_numeric_type(value: typing.Any) -> T:
489
496
  numeric_value: Decimal | float = parsed_type(value) # type: ignore
490
497
  if math.isnan(numeric_value):
491
- raise ValueError(f"Invalid numeric value: {numeric_value}")
498
+ raise ParserError(
499
+ f"Invalid numeric value: {numeric_value}",
500
+ value=numeric_value,
501
+ expected_type=parsed_type,
502
+ )
492
503
 
493
504
  return numeric_value # type: ignore
494
505
 
495
506
  return parse_as_numeric_type
496
507
 
497
- if parsed_type in (dict, bool) or is_string_enum_class(parsed_type):
508
+ if parsed_type in (dict, bool):
498
509
  return lambda value: parsed_type(value) # type: ignore
499
510
 
511
+ if is_string_enum_class(parsed_type):
512
+ assert issubclass(parsed_type, Enum)
513
+ enum_values: set[str] = set(member.value for member in parsed_type)
514
+
515
+ def parse_enum(value: typing.Any) -> T:
516
+ if not isinstance(value, str) or value not in enum_values:
517
+ raise ParserEnumError(
518
+ value=value,
519
+ enum_type=parsed_type,
520
+ valid_values=enum_values,
521
+ )
522
+ return parsed_type(value)
523
+
524
+ return parse_enum
525
+
500
526
  if parsed_type is MissingSentryType:
501
527
 
502
528
  def error(value: typing.Any) -> T:
503
- raise ValueError("Missing type cannot be parsed directly")
529
+ raise ParserError("Missing type cannot be parsed directly")
504
530
 
505
531
  return error
506
532
 
@@ -519,7 +545,9 @@ def _build_parser_inner(
519
545
  type_var_map,
520
546
  )
521
547
 
522
- raise ValueError(f"Unhandled type {parsed_type}/{origin}")
548
+ raise ParserError(
549
+ f"Unhandled type {parsed_type}/{origin}", expected_type=parsed_type
550
+ )
523
551
 
524
552
 
525
553
  # Take in map of parameter name to materialized type
@@ -583,7 +611,9 @@ def _build_parser_dataclass(
583
611
  field_value: typing.Any
584
612
  if field_raw_value == dataclasses.MISSING:
585
613
  if serial_class_data.has_parse_require(field.name):
586
- raise ValueError("missing-required-field", field.name)
614
+ raise ParserError(
615
+ "missing-required-field", field_name=field.name
616
+ )
587
617
  if _has_field_default(field):
588
618
  field_value = _get_field_default(field)
589
619
  elif is_missing(field_type):
@@ -596,7 +626,9 @@ def _build_parser_dataclass(
596
626
  # Backwards compatibilty to dataclasses that didn't set a default value
597
627
  field_value = False
598
628
  else:
599
- raise ValueError("missing-value-for-field", field.name)
629
+ raise ParserError(
630
+ "missing-value-for-field", field_name=field.name
631
+ )
600
632
  elif (
601
633
  field_raw_value is None
602
634
  and not is_optional(field_type)
@@ -612,8 +644,10 @@ def _build_parser_dataclass(
612
644
  data[field.name] = field_value
613
645
 
614
646
  except Exception as e:
615
- raise ValueError(
616
- f"unable-to-parse-field:{field.name}", field_raw_value
647
+ raise ParserError(
648
+ f"unable-to-parse-field:{field.name}",
649
+ field_name=field.name,
650
+ value=field_raw_value,
617
651
  ) from e
618
652
 
619
653
  if context.options.strict_property_parsing:
@@ -0,0 +1,95 @@
1
+ from __future__ import annotations
2
+
3
+ import reprlib
4
+ import typing
5
+
6
+ _UNSET = object()
7
+ _VALUE_REPR_MAX_LENGTH = 120
8
+
9
+
10
+ def _format_value(value: object) -> str:
11
+ value_repr = reprlib.Repr(
12
+ maxstring=_VALUE_REPR_MAX_LENGTH, maxother=_VALUE_REPR_MAX_LENGTH
13
+ ).repr(value)
14
+ if len(value_repr) <= _VALUE_REPR_MAX_LENGTH:
15
+ return value_repr
16
+ return f"{value_repr[: _VALUE_REPR_MAX_LENGTH - 3]}..."
17
+
18
+
19
+ def _format_message(message: str, value: object) -> str:
20
+ if value is _UNSET:
21
+ return message
22
+ return f"{message} (value: {_format_value(value)})"
23
+
24
+
25
+ class ParserError(ValueError):
26
+ """Raised when argument parsing fails. Carries structured context about the failure."""
27
+
28
+ def __init__(
29
+ self,
30
+ message: str,
31
+ *,
32
+ value: typing.Any = _UNSET,
33
+ expected_type: typing.Any = None,
34
+ field_name: str | None = None,
35
+ ) -> None:
36
+ self.error_message = message
37
+ self.value = value
38
+ self.expected_type = expected_type
39
+ self.field_name = field_name
40
+ super().__init__(message)
41
+
42
+ def __str__(self) -> str:
43
+ return _format_message(self.error_message, self.value)
44
+
45
+ def error_chain(self) -> list[ParserError]:
46
+ errors: list[ParserError] = []
47
+ current: BaseException | None = self
48
+ while isinstance(current, ParserError):
49
+ errors.append(current)
50
+ current = current.__cause__
51
+ return errors
52
+
53
+ def format_error_chain(self) -> str:
54
+ messages: list[str] = []
55
+ current: BaseException | None = self
56
+ while current is not None:
57
+ if isinstance(current, ParserError):
58
+ messages.append(_format_message(current.error_message, current.value))
59
+ current = current.__cause__
60
+ else:
61
+ messages.append(str(current))
62
+ break
63
+
64
+ if len(messages) <= 1:
65
+ return _format_message(self.error_message, self.value)
66
+
67
+ return " → ".join(messages)
68
+
69
+
70
+ class ParserExtraFieldsError(ParserError):
71
+ extra_fields: set[str]
72
+
73
+ def __init__(self, extra_fields: set[str]) -> None:
74
+ self.extra_fields = extra_fields
75
+ super().__init__(
76
+ f"extra fields were provided: {', '.join(extra_fields)}",
77
+ )
78
+
79
+
80
+ class ParserEnumError(ParserError):
81
+ valid_values: set[str]
82
+
83
+ def __init__(
84
+ self,
85
+ *,
86
+ value: object,
87
+ enum_type: type,
88
+ valid_values: set[str],
89
+ ) -> None:
90
+ self.valid_values = valid_values
91
+ message = f"'{value}' is not a valid string enum of type {enum_type.__name__}."
92
+ super().__init__(message, value=value, expected_type=enum_type)
93
+
94
+
95
+ class ParserTypeError(ParserError): ...
@@ -24,13 +24,12 @@ from uncountable.types import download_file_t
24
24
  from uncountable.types.client_base import APIRequest, ClientMethods
25
25
  from uncountable.types.client_config import ClientConfigOptions
26
26
  from uncountable.types.client_config_t import RequestContext
27
+ from uncountable.types.request_headers_t import InternalRequestHeaders, VersionHeaders
27
28
 
28
29
  from .file_upload import FileUpload, FileUploader, UploadedFile
29
30
  from .types import AuthDetailsAll, AuthDetailsApiKey, AuthDetailsOAuth
30
31
 
31
32
  DT = typing.TypeVar("DT")
32
- UNC_REQUEST_ID_HEADER = "X-UNC-REQUEST-ID"
33
- UNC_SDK_VERSION_HEADER = "X-UNC-SDK-VERSION"
34
33
 
35
34
 
36
35
  class EndpointMethod(StrEnum):
@@ -328,8 +327,8 @@ class Client(ClientMethods):
328
327
  self, *, api_request: APIRequest, request_id: str
329
328
  ) -> HTTPRequest:
330
329
  headers = self._build_auth_headers()
331
- headers[UNC_REQUEST_ID_HEADER] = request_id
332
- headers[UNC_SDK_VERSION_HEADER] = get_version()
330
+ headers[InternalRequestHeaders.REQUEST_ID] = request_id
331
+ headers[VersionHeaders.UNC_SDK_VERSION] = get_version()
333
332
  if self._cfg.request_context is not None:
334
333
  if self._cfg.request_context.user_locale is not None:
335
334
  headers["X-User-Locale"] = self._cfg.request_context.user_locale
@@ -294,7 +294,7 @@ class BooleanColumn[
294
294
  ) -> ColumnFilter:
295
295
  return ColumnFilter(
296
296
  identifier=self.identifier,
297
- filter=lambda x: listing_t.FilterSpecEquals(column=x, value=other),
297
+ filter=lambda x: listing_t.FilterSpecEqualsBoolean(column=x, value=other),
298
298
  )
299
299
 
300
300
 
@@ -30,34 +30,28 @@ def _construct_auth_details(profile_meta: ProfileMetadata) -> AuthDetailsAll:
30
30
  return AuthDetailsApiKey(api_id=api_id, api_secret_key=api_key)
31
31
 
32
32
 
33
- def _construct_client_config(
34
- *,
35
- profile_meta: ProfileMetadata,
36
- job_logger: JobLogger,
37
- request_context: RequestContext | None = None,
38
- ) -> ClientConfig:
39
- if profile_meta.client_options is None:
40
- return ClientConfig(logger=job_logger, request_context=request_context)
41
- return ClientConfig(
42
- allow_insecure_tls=profile_meta.client_options.allow_insecure_tls,
43
- extra_headers=profile_meta.client_options.extra_headers,
44
- logger=job_logger,
45
- request_context=request_context,
46
- )
47
-
48
-
49
33
  def construct_uncountable_client(
50
34
  profile_meta: ProfileMetadata,
51
35
  logger: JobLogger,
52
36
  *,
53
37
  request_context: RequestContext | None = None,
38
+ headers: dict[str, str] | None = None,
54
39
  ) -> Client:
40
+ extra_headers = {}
41
+ allow_insecure_tls = False
42
+ if profile_meta.client_options is not None:
43
+ extra_headers.update(profile_meta.client_options.extra_headers or {})
44
+ allow_insecure_tls = profile_meta.client_options.allow_insecure_tls
45
+
46
+ extra_headers.update(headers or {})
47
+
55
48
  return Client(
56
49
  base_url=profile_meta.base_url,
57
50
  auth_details=_construct_auth_details(profile_meta),
58
- config=_construct_client_config(
59
- profile_meta=profile_meta,
60
- job_logger=logger,
51
+ config=ClientConfig(
52
+ allow_insecure_tls=allow_insecure_tls,
53
+ extra_headers=extra_headers,
54
+ logger=logger,
61
55
  request_context=request_context,
62
56
  ),
63
57
  app_base_url=profile_meta.app_base_url,
@@ -159,13 +159,17 @@ async def serve(command_queue: CommandQueue, datastore: DatastoreSqlite) -> None
159
159
  else None
160
160
  )
161
161
 
162
- queued_job_metadata = datastore.list_queued_job_metadata(
163
- status=job_status,
164
- limit=request.limit,
165
- offset=request.offset,
166
- job_ref_name=request.job_ref_name or None,
167
- submitted_from=submitted_from,
168
- submitted_to=submitted_to,
162
+ loop = asyncio.get_running_loop()
163
+ queued_job_metadata = await loop.run_in_executor(
164
+ None,
165
+ lambda: datastore.list_queued_job_metadata(
166
+ status=job_status,
167
+ limit=request.limit,
168
+ offset=request.offset,
169
+ job_ref_name=request.job_ref_name or None,
170
+ submitted_from=submitted_from,
171
+ submitted_to=submitted_to,
172
+ ),
169
173
  )
170
174
 
171
175
  response_list: list[ListQueuedJobsResult.ListQueuedJobsResultItem] = []
@@ -36,6 +36,16 @@ class DatastoreSqlite(Datastore):
36
36
  connection.execute(
37
37
  text("alter table queued_jobs add column status VARCHAR")
38
38
  )
39
+ connection.execute(
40
+ text(
41
+ "create index if not exists ix_queued_jobs_status on queued_jobs (status)"
42
+ )
43
+ )
44
+ connection.execute(
45
+ text(
46
+ "create index if not exists ix_queued_jobs_submitted_at on queued_jobs (submitted_at)"
47
+ )
48
+ )
39
49
 
40
50
  def add_job_to_queue(
41
51
  self, job_payload: queued_job_t.QueuedJobPayload, job_ref_name: str
@@ -13,7 +13,10 @@ class QueuedJob(Base):
13
13
  id = Column(Text, primary_key=True)
14
14
  job_ref_name = Column(Text, nullable=False, index=True)
15
15
  submitted_at = Column(
16
- DateTime(timezone=True), server_default=func.current_timestamp(), nullable=False
16
+ DateTime(timezone=True),
17
+ server_default=func.current_timestamp(),
18
+ nullable=False,
19
+ index=True,
17
20
  )
18
21
  payload = Column(JSON, nullable=False)
19
22
  num_attempts = Column(BigInteger, nullable=False, default=0, server_default="0")
@@ -21,4 +24,5 @@ class QueuedJob(Base):
21
24
  Enum(queued_job_t.JobStatus, length=None),
22
25
  default=queued_job_t.JobStatus.QUEUED,
23
26
  nullable=True,
27
+ index=True,
24
28
  )
@@ -23,7 +23,13 @@ from uncountable.integration.queue_runner.datastore.interface import Datastore
23
23
  from uncountable.integration.queue_runner.types import ListenQueue, ResultQueue
24
24
  from uncountable.integration.scan_profiles import load_profiles
25
25
  from uncountable.integration.telemetry import JobLogger, Logger, get_otel_tracer
26
- from uncountable.types import base_t, client_config_t, job_definition_t, queued_job_t
26
+ from uncountable.types import (
27
+ base_t,
28
+ client_config_t,
29
+ job_definition_t,
30
+ queued_job_t,
31
+ request_headers_t,
32
+ )
27
33
 
28
34
 
29
35
  class Worker:
@@ -123,6 +129,11 @@ def run_queued_job(
123
129
  profile_meta=job_details.profile_metadata,
124
130
  logger=job_logger,
125
131
  request_context=request_context,
132
+ headers={
133
+ request_headers_t.IntegrationServerHeaders.JOB_UUID: queued_job.queued_job_uuid,
134
+ request_headers_t.IntegrationServerHeaders.JOB_ID: job_details.job_definition.id,
135
+ request_headers_t.IntegrationServerHeaders.JOB_NAME: job_details.job_definition.name,
136
+ },
126
137
  )
127
138
  batch_processor = AsyncBatchProcessor(client=client)
128
139
 
@@ -108,6 +108,7 @@ from . import recipes_t as recipes_t
108
108
  from .api.integrations import register_sockets_token as register_sockets_token_t
109
109
  from .api.recipes import remove_recipe_from_project as remove_recipe_from_project_t
110
110
  from .api.recipe_links import remove_recipe_link as remove_recipe_link_t
111
+ from . import request_headers_t as request_headers_t
111
112
  from .api.entity import resolve_entity_ids as resolve_entity_ids_t
112
113
  from .api.outputs import resolve_output_conditions as resolve_output_conditions_t
113
114
  from . import response_t as response_t
@@ -258,6 +259,7 @@ __all__: list[str] = [
258
259
  "register_sockets_token_t",
259
260
  "remove_recipe_from_project_t",
260
261
  "remove_recipe_link_t",
262
+ "request_headers_t",
261
263
  "resolve_entity_ids_t",
262
264
  "resolve_output_conditions_t",
263
265
  "response_t",
@@ -324,7 +324,7 @@ class AsyncBatchProcessorBase(ABC):
324
324
  depends_on: list[str] | None = None,
325
325
  _request_options: client_config_t.RequestOptions | None = None,
326
326
  ) -> async_batch_t.QueuedAsyncBatchRequest:
327
- """Creates or updates field values for an entity
327
+ """Creates a new entity or updates an existing one. If the entity already exists, updates its field values. Otherwise, creates a new entity under the specified definition. Returns the entity ID and whether a modification was made.
328
328
 
329
329
  :param on_create_init_field_values: Field values set only when the entity is created (will be ignored if entity already exists)
330
330
  :param depends_on: A list of batch reference keys to process before processing this request
@@ -460,7 +460,7 @@ class AsyncBatchProcessorBase(ABC):
460
460
  depends_on: list[str] | None = None,
461
461
  _request_options: client_config_t.RequestOptions | None = None,
462
462
  ) -> async_batch_t.QueuedAsyncBatchRequest:
463
- """Grant entity permissions to a list of users or user groups or to all users.
463
+ """Grants permissions on an entity. Only permissions that do not already exist are added. Returns whether any new permissions were granted.
464
464
 
465
465
  :param depends_on: A list of batch reference keys to process before processing this request
466
466
  """
@@ -538,7 +538,7 @@ class AsyncBatchProcessorBase(ABC):
538
538
  depends_on: list[str] | None = None,
539
539
  _request_options: client_config_t.RequestOptions | None = None,
540
540
  ) -> async_batch_t.QueuedAsyncBatchRequest:
541
- """Lock an entity
541
+ """Locks an entity to prevent modifications. Recipe entity types are not supported and must use the dedicated lock_recipes endpoint instead. Attempting to lock an already locked entity is a no-op.
542
542
 
543
543
  :param entity_key: Identifier for the entity
544
544
  :param globally_removable: Should the lock be removable by any user or just admins
@@ -623,7 +623,7 @@ class AsyncBatchProcessorBase(ABC):
623
623
  depends_on: list[str] | None = None,
624
624
  _request_options: client_config_t.RequestOptions | None = None,
625
625
  ) -> async_batch_t.QueuedAsyncBatchRequest:
626
- """Look up an entity based on an identifier or field values
626
+ """Looks up an entity by matching field values. Only text and ID field types are supported for matching. Returns the matched entity ID, or null if no match is found. Fails if multiple entities match. Excludes archived entities from results.
627
627
 
628
628
  :param depends_on: A list of batch reference keys to process before processing this request
629
629
  """
@@ -737,7 +737,7 @@ class AsyncBatchProcessorBase(ABC):
737
737
  depends_on: list[str] | None = None,
738
738
  _request_options: client_config_t.RequestOptions | None = None,
739
739
  ) -> async_batch_t.QueuedAsyncBatchRequest:
740
- """Sets the barcode for an entity
740
+ """Sets the barcode value for an entity. Returns whether the new barcode value was set.
741
741
 
742
742
  :param depends_on: A list of batch reference keys to process before processing this request
743
743
  """
@@ -771,7 +771,7 @@ class AsyncBatchProcessorBase(ABC):
771
771
  depends_on: list[str] | None = None,
772
772
  _request_options: client_config_t.RequestOptions | None = None,
773
773
  ) -> async_batch_t.QueuedAsyncBatchRequest:
774
- """Sets field values for an entity
774
+ """Sets field values on an entity. Returns whether the field values were modified.
775
775
 
776
776
  :param entity_identifier: Entity to update
777
777
  :param field_values: Field values to set
@@ -844,7 +844,7 @@ class AsyncBatchProcessorBase(ABC):
844
844
  depends_on: list[str] | None = None,
845
845
  _request_options: client_config_t.RequestOptions | None = None,
846
846
  ) -> async_batch_t.QueuedAsyncBatchRequest:
847
- """Transitions an entity from one phase to another
847
+ """Transitions an entity from one workflow phase to another. Fails if no valid transition exists between the specified phases, or if multiple transitions exist for the same phase pair.
848
848
 
849
849
  :param entity: Entity to transition. If entity_identifier is provided, this should be omitted.
850
850
  :param entity_identifier: Identifier of the entity to transition. If entity is provided, this should be omitted.
@@ -882,7 +882,7 @@ class AsyncBatchProcessorBase(ABC):
882
882
  depends_on: list[str] | None = None,
883
883
  _request_options: client_config_t.RequestOptions | None = None,
884
884
  ) -> async_batch_t.QueuedAsyncBatchRequest:
885
- """Unlock an entity
885
+ """Removes the lock from an entity, allowing modifications again. Recipe entity types are not supported and must use the dedicated unlock_recipes endpoint instead. Attempting to unlock an already unlocked entity is a no-op.
886
886
 
887
887
  :param entity_key: Identifier for the entity
888
888
  :param depends_on: A list of batch reference keys to process before processing this request
@@ -443,7 +443,7 @@ class ClientMethods(ABC):
443
443
  definition_key: identifier_t.IdentifierKey | None = None,
444
444
  _request_options: client_config_t.RequestOptions | None = None,
445
445
  ) -> create_entities_t.Data:
446
- """Creates new Uncountable entities
446
+ """Batch creates new entities of a specified type within a definition. Returns the list of created entity IDs and types.
447
447
 
448
448
  :param definition_id: Definition id for the entities to create
449
449
  :param definition_key: Key for the definition of the entities to create
@@ -474,7 +474,7 @@ class ClientMethods(ABC):
474
474
  parent_entity: entity_t.Entity | None = None,
475
475
  _request_options: client_config_t.RequestOptions | None = None,
476
476
  ) -> create_entity_t.Data:
477
- """Creates a new Uncountable entity
477
+ """Creates a single new entity of a specified type within a definition. Returns the created entity's ID and type.
478
478
 
479
479
  :param definition_id: Definition id of the entity to create
480
480
  :param definition_key: Key for the definition of the entity to create
@@ -549,7 +549,7 @@ class ClientMethods(ABC):
549
549
  on_create_init_field_values: list[field_values_t.FieldArgumentValue] | None = None,
550
550
  _request_options: client_config_t.RequestOptions | None = None,
551
551
  ) -> create_or_update_entity_t.Data:
552
- """Creates or updates field values for an entity
552
+ """Creates a new entity or updates an existing one. If the entity already exists, updates its field values. Otherwise, creates a new entity under the specified definition. Returns the entity ID and whether a modification was made.
553
553
 
554
554
  :param on_create_init_field_values: Field values set only when the entity is created (will be ignored if entity already exists)
555
555
  """
@@ -792,7 +792,7 @@ class ClientMethods(ABC):
792
792
  attributes: list[export_entities_t.ListingAttribute] | None = None,
793
793
  _request_options: client_config_t.RequestOptions | None = None,
794
794
  ) -> export_entities_t.Data:
795
- """Uses a structured loading configuration to export entities in the system. This endpoint is asynchronous, and returns the job ID that can be used to query the status of the export.
795
+ """Queues an asynchronous export of entities using a structured loading configuration. Fails if the export would return more than 1 million rows. Returns an async job ID that can be used to poll for export completion.
796
796
 
797
797
  :param config_key: The configuration reference for the listing config
798
798
  :param limit: The number of data points to return. If not filled in, all filtered entities will be included in the export.
@@ -944,7 +944,7 @@ class ClientMethods(ABC):
944
944
  entity_type: entity_t.EntityType,
945
945
  _request_options: client_config_t.RequestOptions | None = None,
946
946
  ) -> get_entities_data_t.Data:
947
- """Gets the details for a passed entity
947
+ """Retrieves field values for entities of the same type. All requested entities must share the same entity type.
948
948
 
949
949
  :param entity_ids: Ids of the entity to retrieve
950
950
  :param entity_type: The type of the entities requested, e.g. lab_request or approval
@@ -1381,7 +1381,7 @@ class ClientMethods(ABC):
1381
1381
  all_users: bool | None = None,
1382
1382
  _request_options: client_config_t.RequestOptions | None = None,
1383
1383
  ) -> grant_entity_permissions_t.Data:
1384
- """Grant entity permissions to a list of users or user groups or to all users.
1384
+ """Grants permissions on an entity. Only permissions that do not already exist are added. Returns whether any new permissions were granted.
1385
1385
 
1386
1386
  """
1387
1387
  args = grant_entity_permissions_t.Arguments(
@@ -1436,7 +1436,7 @@ class ClientMethods(ABC):
1436
1436
  limit: int | None = None,
1437
1437
  _request_options: client_config_t.RequestOptions | None = None,
1438
1438
  ) -> list_aggregate_t.Data:
1439
- """Uses a structured loading configuration to list aggregated data from the platform
1439
+ """Queries aggregated data using a structured loading configuration. The referenced configuration must be an aggregation listing. Returns column metadata and aggregated row results.
1440
1440
 
1441
1441
  :param config_reference: The configuration reference name for the listing config
1442
1442
  :param attribute_values: Attributes to pass to the configuration for parameterizing filters
@@ -1468,7 +1468,7 @@ class ClientMethods(ABC):
1468
1468
  additional_filter_configs: list[list_entities_t.AdditionalFilterConfig] | None = None,
1469
1469
  _request_options: client_config_t.RequestOptions | None = None,
1470
1470
  ) -> list_entities_t.Data:
1471
- """Uses a structured loading configuration to list entities in the system
1471
+ """Lists entities using a structured loading configuration. Returns column metadata and entity results with their column values.
1472
1472
 
1473
1473
  :param entity_type: DEPRECATED: The type of the entities requested, e.g. lab_request, recipe
1474
1474
  :param config_reference: The configuration reference name for the listing config
@@ -1531,7 +1531,7 @@ class ClientMethods(ABC):
1531
1531
  globally_removable: bool | None = None,
1532
1532
  _request_options: client_config_t.RequestOptions | None = None,
1533
1533
  ) -> lock_entity_t.Data:
1534
- """Lock an entity
1534
+ """Locks an entity to prevent modifications. Recipe entity types are not supported and must use the dedicated lock_recipes endpoint instead. Attempting to lock an already locked entity is a no-op.
1535
1535
 
1536
1536
  :param entity_key: Identifier for the entity
1537
1537
  :param globally_removable: Should the lock be removable by any user or just admins
@@ -1592,7 +1592,7 @@ class ClientMethods(ABC):
1592
1592
  query: lookup_entity_t.LookupEntityQuery,
1593
1593
  _request_options: client_config_t.RequestOptions | None = None,
1594
1594
  ) -> lookup_entity_t.Data:
1595
- """Look up an entity based on an identifier or field values
1595
+ """Looks up an entity by matching field values. Only text and ID field types are supported for matching. Returns the matched entity ID, or null if no match is found. Fails if multiple entities match. Excludes archived entities from results.
1596
1596
 
1597
1597
  """
1598
1598
  args = lookup_entity_t.Arguments(
@@ -1780,7 +1780,7 @@ class ClientMethods(ABC):
1780
1780
  entity_type: entity_t.EntityType,
1781
1781
  _request_options: client_config_t.RequestOptions | None = None,
1782
1782
  ) -> resolve_entity_ids_t.Data:
1783
- """Gets the names for passed in ids
1783
+ """Resolves entity IDs to their display names. All requested entities must share the same entity type.
1784
1784
 
1785
1785
  :param entity_ids: Ids of the entity to retrieve
1786
1786
  :param entity_type: The type of the entities requested
@@ -1850,7 +1850,7 @@ class ClientMethods(ABC):
1850
1850
  barcode_value: str,
1851
1851
  _request_options: client_config_t.RequestOptions | None = None,
1852
1852
  ) -> set_barcode_t.Data:
1853
- """Sets the barcode for an entity
1853
+ """Sets the barcode value for an entity. Returns whether the new barcode value was set.
1854
1854
 
1855
1855
  """
1856
1856
  args = set_barcode_t.Arguments(
@@ -1904,7 +1904,7 @@ class ClientMethods(ABC):
1904
1904
  field_values: list[field_values_t.FieldArgumentValue],
1905
1905
  _request_options: client_config_t.RequestOptions | None = None,
1906
1906
  ) -> set_entity_field_values_t.Data:
1907
- """Sets field values for an entity
1907
+ """Sets field values on an entity. Returns whether the field values were modified.
1908
1908
 
1909
1909
  :param entity_identifier: Entity to update
1910
1910
  :param field_values: Field values to set
@@ -2219,7 +2219,7 @@ class ClientMethods(ABC):
2219
2219
  values: list[field_values_t.ArgumentValueRefName],
2220
2220
  _request_options: client_config_t.RequestOptions | None = None,
2221
2221
  ) -> set_values_t.Data:
2222
- """Sets field values for an entity
2222
+ """Sets field values on an entity. Returns an empty response on success.
2223
2223
 
2224
2224
  """
2225
2225
  args = set_values_t.Arguments(
@@ -2242,7 +2242,7 @@ class ClientMethods(ABC):
2242
2242
  entity_identifier: entity_t.EntityIdentifier | None = None,
2243
2243
  _request_options: client_config_t.RequestOptions | None = None,
2244
2244
  ) -> transition_entity_phase_t.Data:
2245
- """Transitions an entity from one phase to another
2245
+ """Transitions an entity from one workflow phase to another. Fails if no valid transition exists between the specified phases, or if multiple transitions exist for the same phase pair.
2246
2246
 
2247
2247
  :param entity: Entity to transition. If entity_identifier is provided, this should be omitted.
2248
2248
  :param entity_identifier: Identifier of the entity to transition. If entity is provided, this should be omitted.
@@ -2289,7 +2289,7 @@ class ClientMethods(ABC):
2289
2289
  entity_type: entity_t.EntityType,
2290
2290
  _request_options: client_config_t.RequestOptions | None = None,
2291
2291
  ) -> unlock_entity_t.Data:
2292
- """Unlock an entity
2292
+ """Removes the lock from an entity, allowing modifications again. Recipe entity types are not supported and must use the dedicated unlock_recipes endpoint instead. Attempting to unlock an already unlocked entity is a no-op.
2293
2293
 
2294
2294
  :param entity_key: Identifier for the entity
2295
2295
  """
@@ -148,6 +148,8 @@ __all__: list[str] = [
148
148
  "permission": "Permission",
149
149
  "permissions_recipe_link_inheritance": "Permissions Recipe Link Inheritance",
150
150
  "phase_workflow": "Phase Workflow",
151
+ "pipeline_step": "Pipeline Step",
152
+ "pipeline": "Pipeline",
151
153
  "platform_config": "Platform Config",
152
154
  "portal_form": "Portal Form",
153
155
  "predictive_model": "Predictive Model",
@@ -192,6 +194,7 @@ __all__: list[str] = [
192
194
  "rlw_phase": "Phase",
193
195
  "rlw_trigger": "Trigger",
194
196
  "rlw_trigger_set": "Trigger Set",
197
+ "definition_trigger_set": "Definition Trigger Set",
195
198
  "runsheet_configuration": "Runsheet Configuration",
196
199
  "safety_data_sheet": "Safety Data Sheet",
197
200
  "scheduled_notification": "Scheduled Notification",
@@ -212,6 +215,7 @@ __all__: list[str] = [
212
215
  "test_entity": "Test Entity",
213
216
  "time_series_segment": "Time Series Segment",
214
217
  "timesheet_entry": "Timesheet Entry",
218
+ "training_module": "Training Module",
215
219
  "training_run": "Analyze Experiment",
216
220
  "training_run_template": "Scheduled Training Run",
217
221
  "training_set": "Training Set",
@@ -378,6 +382,8 @@ class EntityType(StrEnum):
378
382
  PERMISSION = "permission"
379
383
  PERMISSIONS_RECIPE_LINK_INHERITANCE = "permissions_recipe_link_inheritance"
380
384
  PHASE_WORKFLOW = "phase_workflow"
385
+ PIPELINE_STEP = "pipeline_step"
386
+ PIPELINE = "pipeline"
381
387
  PLATFORM_CONFIG = "platform_config"
382
388
  PORTAL_FORM = "portal_form"
383
389
  PREDICTIVE_MODEL = "predictive_model"
@@ -422,6 +428,7 @@ class EntityType(StrEnum):
422
428
  RLW_PHASE = "rlw_phase"
423
429
  RLW_TRIGGER = "rlw_trigger"
424
430
  RLW_TRIGGER_SET = "rlw_trigger_set"
431
+ DEFINITION_TRIGGER_SET = "definition_trigger_set"
425
432
  RUNSHEET_CONFIGURATION = "runsheet_configuration"
426
433
  SAFETY_DATA_SHEET = "safety_data_sheet"
427
434
  SCHEDULED_NOTIFICATION = "scheduled_notification"
@@ -442,6 +449,7 @@ class EntityType(StrEnum):
442
449
  TEST_ENTITY = "test_entity"
443
450
  TIME_SERIES_SEGMENT = "time_series_segment"
444
451
  TIMESHEET_ENTRY = "timesheet_entry"
452
+ TRAINING_MODULE = "training_module"
445
453
  TRAINING_RUN = "training_run"
446
454
  TRAINING_RUN_TEMPLATE = "training_run_template"
447
455
  TRAINING_SET = "training_set"
@@ -0,0 +1,9 @@
1
+ # ruff: noqa: E402 Q003
2
+ # fmt: off
3
+ # isort: skip_file
4
+ # DO NOT MODIFY -- This file is generated by type_spec
5
+ # Kept only for SDK backwards compatibility
6
+ from .request_headers_t import VersionHeaders as VersionHeaders
7
+ from .request_headers_t import IntegrationServerHeaders as IntegrationServerHeaders
8
+ from .request_headers_t import InternalRequestHeaders as InternalRequestHeaders
9
+ # DO NOT MODIFY -- This file is generated by type_spec
@@ -0,0 +1,33 @@
1
+ # DO NOT MODIFY -- This file is generated by type_spec
2
+ # ruff: noqa: E402 Q003
3
+ # fmt: off
4
+ # isort: skip_file
5
+ from __future__ import annotations
6
+ import typing # noqa: F401
7
+ import datetime # noqa: F401
8
+ from decimal import Decimal # noqa: F401
9
+ from enum import StrEnum
10
+
11
+ __all__: list[str] = [
12
+ "IntegrationServerHeaders",
13
+ "InternalRequestHeaders",
14
+ "VersionHeaders",
15
+ ]
16
+
17
+
18
+ # DO NOT MODIFY -- This file is generated by type_spec
19
+ class VersionHeaders(StrEnum):
20
+ UNC_SDK_VERSION = "X-UNC-SDK-VERSION"
21
+
22
+
23
+ # DO NOT MODIFY -- This file is generated by type_spec
24
+ class IntegrationServerHeaders(StrEnum):
25
+ JOB_UUID = "X-UNC-INTEGRATION-JOB-UUID"
26
+ JOB_ID = "X-UNC-INTEGRATION-JOB-ID"
27
+ JOB_NAME = "X-UNC-INTEGRATION-JOB-NAME"
28
+
29
+
30
+ # DO NOT MODIFY -- This file is generated by type_spec
31
+ class InternalRequestHeaders(StrEnum):
32
+ REQUEST_ID = "X-UNC-REQUEST-ID"
33
+ # DO NOT MODIFY -- This file is generated by type_spec
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: UncountablePythonSDK
3
- Version: 0.0.162
3
+ Version: 0.0.164
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
@@ -3,9 +3,10 @@ docs/conf.py,sha256=Ky-_Y76T7pwN2aBG-dSF79Av70e7ASgcOXEdQ1qyor4,3542
3
3
  docs/index.md,sha256=g4Yi5831fEkywYkkcFohYLkKzSI91SOZF7DxKsm9zgI,3193
4
4
  docs/justfile,sha256=WymCEQ6W2A8Ak79iUPmecmuaUNN2htb7STUrz5K7ELE,273
5
5
  docs/requirements.txt,sha256=V1MVHqwMMjatcTNnZflt-n1t0eOVPkAZajkNfI6ggNo,172
6
+ docs/integration_examples/add_file_to_folder.md,sha256=-8mSReDFaPyDQeAkWyY0x5oFR_NkF81K6PpMKmhNMXY,1557
6
7
  docs/integration_examples/create_ingredient.md,sha256=bzTQ943YhINxa3HQylEA26rbAsjr6HvvN_HkVkrzUeA,1547
7
8
  docs/integration_examples/create_output.md,sha256=aDn2TjzKgY-HnxnvgsZS578cvajmHpF1y2HKkHfdtd4,2104
8
- docs/integration_examples/index.md,sha256=LaQiK1fT8XLtazxLvPr2YjIf3Jh_Mi-goOMLatiozK8,85
9
+ docs/integration_examples/index.md,sha256=V0vJKMIqDadsSRW0wkUa4CQ2cq5RUWM4gMlPHz_18t4,104
9
10
  docs/integration_examples/upload_file.md,sha256=UdDoJasJQkI36iHjLKCFoAfDV4sxzmpg9TqzrfzQbWs,909
10
11
  docs/static/logo_blue.png,sha256=SyYpMTVhhBbhF5Wl8lWaVwz-_p1MIR6dW6bVhufQRME,46708
11
12
  docs/static/favicons/android-chrome-192x192.png,sha256=XoF-AhD55JlSBDGsEPJKfT_VeXT-awhwKyZnxLhrwvk,1369
@@ -30,7 +31,7 @@ examples/set_input_pdf_attribute.py,sha256=A-QqaWeeLyBXQ1zvq91cBZmvGJWEUuVF5TDj0
30
31
  examples/set_recipe_metadata_file.py,sha256=cRVXGz4UN4aqnNrNSzyBmikYHpe63lMIuzOpMwD9EDU,1036
31
32
  examples/set_recipe_output_file_sdk.py,sha256=Lz1amqppnWTX83z-C090wCJ4hcKmCD3kb-4v0uBRi0Y,782
32
33
  examples/upload_files.py,sha256=qMaSvMSdTMPOOP55y1AwEurc0SOdZAMvEydlqJPsGpg,432
33
- examples/integration-server/pyproject.toml,sha256=5tuUq6gOKj_ycB2glx5q_5oMoqBsFUSz7Bz0UqY-Nws,9088
34
+ examples/integration-server/pyproject.toml,sha256=-jX432VHAK0VTwfzWRUrnSL0YKw9w6nmGcsE6kLwzPY,9088
34
35
  examples/integration-server/jobs/materials_auto/concurrent_cron.py,sha256=xsK3H9ZEaniedC2nJUB0rqOcFI8y-ojfl_nLSJb9AMM,312
35
36
  examples/integration-server/jobs/materials_auto/example_cron.py,sha256=y1nAtGwbPJfIrfQsrHVmJLAHmQtCEHIy1g-0PjeXx04,735
36
37
  examples/integration-server/jobs/materials_auto/example_http.py,sha256=htTR61XhG_fF2Zv2gXRGYE5Yc3mSDdigrOR89kcupZY,1380
@@ -42,11 +43,12 @@ examples/integration-server/jobs/materials_auto/example_wh.py,sha256=PN-skP27yJw
42
43
  examples/integration-server/jobs/materials_auto/profile.yaml,sha256=ywDrDRAyqiUdj_HvosNP5bXBL8mCWsvdJ1eYQd-mGYo,2369
43
44
  pkgs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
44
45
  pkgs/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
45
- pkgs/argument_parser/__init__.py,sha256=JyLZ9-mIw2Rn73CEbWnC0O7qfyYv7bZyM21y8KKgYc0,988
46
+ pkgs/argument_parser/__init__.py,sha256=kbarKmvTSa9lrt5hE0PUdJe3UmBHe8KbbnOLqupRZJE,1040
46
47
  pkgs/argument_parser/_is_enum.py,sha256=Gw6jJa8nBwYGqXwwCZbSnWL8Rvr5alkg5lSVAqXtOZM,257
47
48
  pkgs/argument_parser/_is_namedtuple.py,sha256=InCP2orqKbUYc4JsmE7ccri2EQPvLZeRijYPGqVSeXY,323
48
- pkgs/argument_parser/argument_parser.py,sha256=WW7sPUZveM8AWd-rDPGm7XqoywQdXduPwyjRugmV9oY,25522
49
+ pkgs/argument_parser/argument_parser.py,sha256=3qUDflMdtgC7cDZljo3-eSpikVqhT8WVb1nhul8Q_v8,26638
49
50
  pkgs/argument_parser/case_convert.py,sha256=NuJLJUJRbyVb6_Slen4uqaStEHbcOS1d-hBBfDrrw-c,605
51
+ pkgs/argument_parser/parser_error.py,sha256=2DuYW-vQL4F1V_NEr-WW_ZdBPmH7L_uJiOuv7KhMLXw,2732
50
52
  pkgs/filesystem_utils/__init__.py,sha256=Ik9algr3R5KJkMMe-EOBiw22rSvm68yjhYZ7WIKyCQ0,1614
51
53
  pkgs/filesystem_utils/_blob_session.py,sha256=YB_idar5qVuF9QN_A6qjpTuyeZ7JDOLri1LGLfPHLow,5158
52
54
  pkgs/filesystem_utils/_file_share_session.py,sha256=xlxCbNtOOT1xXCiL2Y_unjWZlQ9961J7mAz4D0-uea8,5095
@@ -108,18 +110,18 @@ uncountable/__init__.py,sha256=8l8XWNCKsu7TG94c-xa2KHpDegvxDC2FyQISdWC763Y,89
108
110
  uncountable/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
109
111
  uncountable/core/__init__.py,sha256=RFv0kO6rKFf1PtBPu83hCGmxqkJamRtsgQ9_-ztw7tA,341
110
112
  uncountable/core/async_batch.py,sha256=9pYGFzVCQXt8059qFHgutweGIFPquJ5Xfq6NT5P-1K0,1206
111
- uncountable/core/client.py,sha256=ZT9RFLMRrtDnrfVhPTAysxhD6xj2LJTIt42wz0AVLjc,15140
113
+ uncountable/core/client.py,sha256=DRb2LUacLQaxwQu7YPMK4DHQd68K3CGswa8hF3D2Lac,15159
112
114
  uncountable/core/environment.py,sha256=Z9vu7JtnSDgQB_KKcZnjTFNyARXjRr_PDW9krwxNNAo,1132
113
115
  uncountable/core/file_upload.py,sha256=oIhtUvVfbI7mJO6DaP2aHltv1DD_XV_pOnxyj3wtoLE,5729
114
116
  uncountable/core/types.py,sha256=s2CjqYJpsmbC7xMwxxT7kJ_V9bwokrjjWVVjpMcQpKI,333
115
117
  uncountable/core/query/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
116
118
  uncountable/core/query/builder.py,sha256=Wv7KaU5n6HmN59kg7Ut-yLOBeJpvw_csMrNVwJFBOuA,7523
117
- uncountable/core/query/column.py,sha256=L2bjBIA632ZtlL-Ip6AEK68PanjO8JnfIQ3KSQ4DEVM,44278
119
+ uncountable/core/query/column.py,sha256=Xxvp9C4PkHtcSI5NGAt90NBI4-xpNwpvRJr6f1L51hA,44285
118
120
  uncountable/core/query/row.py,sha256=dy68YKvMz336nyOsj_g2oNTLKBuUnKRUz5n99sApfT0,1600
119
121
  uncountable/core/query/types.py,sha256=xZgc0_O1PIxZoJWQhxkg3qnSvHj3yt-bv9QX1UCOFGw,481
120
122
  uncountable/integration/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
121
123
  uncountable/integration/cli.py,sha256=08aawE-m35ZdtaF-4_Qbbrj-lmuS_2wJsJYtpBEhBkI,8205
122
- uncountable/integration/construct_client.py,sha256=7CPrwg2SCvEJuM7Byx3wLRoihdJ1BAoZ6eoI_7VWgCI,2370
124
+ uncountable/integration/construct_client.py,sha256=WTDw08IM2b_HuTD1XdOF6g70u8PkSfNjqggwMfcqqyM,2214
123
125
  uncountable/integration/cron.py,sha256=6eH-kIs3sdYPCyb62_L2M7U_uQTdMTdwY5hreEJb0hw,887
124
126
  uncountable/integration/entrypoint.py,sha256=BHOYPQgKvZE6HG8Rv15MkdYl8lRkvfDgv1OdLo0oQ9Q,433
125
127
  uncountable/integration/job.py,sha256=ZVcMddHdOobFHO8MZAPNH3Ht6A8Odu6uEUsqtsKmgtc,8447
@@ -141,10 +143,10 @@ uncountable/integration/queue_runner/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeu
141
143
  uncountable/integration/queue_runner/job_scheduler.py,sha256=RWWDADzLFoTVVIAFqSzDedh8Kcpz9ChamEnjCZZa6Aw,9799
142
144
  uncountable/integration/queue_runner/queue_runner.py,sha256=N4sUXmlGzVquybiJ7NQZavCJOBGrxBj6k7mb-TITaN0,1139
143
145
  uncountable/integration/queue_runner/types.py,sha256=8HS6KnYMS_vc5XHeMpg0BFAQC-5P3QLzd-aDYDMMt3E,244
144
- uncountable/integration/queue_runner/worker.py,sha256=MJk6q7QHv65o_dDDM9HGZMXvq_oA7F45T3juA1Jl_q4,5652
146
+ uncountable/integration/queue_runner/worker.py,sha256=WKKe7WlcMo3Ou1LBdZdyVgxO4QkasxAEx1OFcH0W4dw,6070
145
147
  uncountable/integration/queue_runner/command_server/__init__.py,sha256=hMCDLWct8zW4B2a9BaIAsMhtaEgFlxONjeow-6nf6dg,675
146
148
  uncountable/integration/queue_runner/command_server/command_client.py,sha256=M26GtKn6hgKOHin5Tux-ck5SQ1IR2VwXID4OvFQw4jc,5730
147
- uncountable/integration/queue_runner/command_server/command_server.py,sha256=9fh2udUGJ4s6VgO1w_IqsELyM0Qn-39_1o7i_VEjQqY,7704
149
+ uncountable/integration/queue_runner/command_server/command_server.py,sha256=Q9tYkJXfjq1yNIUwDmHIDdX70HVOaTWtZLMDhWN5C0k,7867
148
150
  uncountable/integration/queue_runner/command_server/constants.py,sha256=7J9mQIAMOfV50wnwpn7HgrPFEi3Ritj6HwrGYwxGLoU,88
149
151
  uncountable/integration/queue_runner/command_server/types.py,sha256=ZNqJE6b6rfMZGdcPS-7umB_8x2a7dzTfRBsdGoCzDjY,2077
150
152
  uncountable/integration/queue_runner/command_server/protocol/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -153,15 +155,15 @@ uncountable/integration/queue_runner/command_server/protocol/command_server_pb2.
153
155
  uncountable/integration/queue_runner/command_server/protocol/command_server_pb2.pyi,sha256=W6Rq1G5JuW9k4tOr9iMPPxdhgv-Nt5_YU-f_4kjJe6U,5561
154
156
  uncountable/integration/queue_runner/command_server/protocol/command_server_pb2_grpc.py,sha256=PTI8Gc-njt_3oiKivV0pOVsF2d9h9kqaU66tq2Z-C2Y,15170
155
157
  uncountable/integration/queue_runner/datastore/__init__.py,sha256=6BefApqN8D2zlVOH14QAeVzwQ8j5NIb41-njT02Za0k,88
156
- uncountable/integration/queue_runner/datastore/datastore_sqlite.py,sha256=vFZl0gvCvQ-OKCHxU306GWQfb8DtYI-gwzYrLN1QnGA,11696
158
+ uncountable/integration/queue_runner/datastore/datastore_sqlite.py,sha256=odfDBOWk6AhhdI8GMsvYWgqDDjaRULkhpoanyrcP0AE,12070
157
159
  uncountable/integration/queue_runner/datastore/interface.py,sha256=zonEm2O1l5GXEBaCy_FiFRNt6IY_BRljsGECn5lu76E,1145
158
- uncountable/integration/queue_runner/datastore/model.py,sha256=YPqlULU7FxuwjmhXGuj6P7skqs-JQttY-o0x1bCnBa0,775
160
+ uncountable/integration/queue_runner/datastore/model.py,sha256=SH0tpXH0G7oydUbOT1z7aFZ6SNIZ6EHc9YAEaM5l1oM,832
159
161
  uncountable/integration/secret_retrieval/__init__.py,sha256=3QXVj35w8rRMxVvmmsViFYDi3lcb3g70incfalOEm6o,87
160
162
  uncountable/integration/secret_retrieval/retrieve_secret.py,sha256=LBEf18KHtXZxg-ZZ80stJ1vW39AWf0CQllP6pNu3Eq8,2994
161
163
  uncountable/integration/webhook_server/entrypoint.py,sha256=RQndrVCKdaVBk-xJ592eGqeN-O0IOM7flXDGoJ2HXsc,3505
162
- uncountable/types/__init__.py,sha256=FTfD4Xlv77YSf3SrclyexVxEzJcIme-0MOq3oZBCi3o,12990
164
+ uncountable/types/__init__.py,sha256=a3sJw8p5yry-IoLaU5XASw-E4bq1cepnrlxnTjAhxNo,13068
163
165
  uncountable/types/async_batch.py,sha256=yCCWrrLQfxXVqZp-KskxLBNkNmuELdz4PJjx8ULppgs,662
164
- uncountable/types/async_batch_processor.py,sha256=GMEoEqh0BClpYv9ZGJZLT9CUrsw-XtD1XA-rmSnE61s,40266
166
+ uncountable/types/async_batch_processor.py,sha256=8eIcN3JGemSl5d-1mhiMtZbznsJOMfKvjekt02aYQro,41309
165
167
  uncountable/types/async_batch_t.py,sha256=AA2Jdf1z67qMocK81XlhVmVWp5j_ZCqQwks7GbR5r04,4310
166
168
  uncountable/types/async_jobs.py,sha256=JI0ScfawaqMRbJ2jbgW3YQLhijPnBeYdMnZJjygSxHg,322
167
169
  uncountable/types/async_jobs_t.py,sha256=u4xd3i512PZ-9592Q2ZgWh_faMiI4UMm0F_gOmZnerI,1389
@@ -173,7 +175,7 @@ uncountable/types/calculations.py,sha256=fApOFpgBemt_t7IVneVR0VdI3X5EOxiG6Xhzr6R
173
175
  uncountable/types/calculations_t.py,sha256=pl-lhjyDQuj11Sf9g1-0BsSkN7Ez8UxDp8-KMQ_3enM,709
174
176
  uncountable/types/chemical_structure.py,sha256=ujyragaD26-QG5jgKnWhO7TN3N1V9b_04T2WhqNYxxo,281
175
177
  uncountable/types/chemical_structure_t.py,sha256=VFFyits_vx4t5L2euu_qFiSpsGJjURkDPr3ISnr3nPc,855
176
- uncountable/types/client_base.py,sha256=piLkQpFo83kpPTIgFqLNb6mtEGcOC_h_IElsmcK5kBg,111793
178
+ uncountable/types/client_base.py,sha256=gR89B8OMFmS9JJeF4tS2-p_x4WIOYROsKCuCJilQric,113364
177
179
  uncountable/types/client_config.py,sha256=M7FZ0m_lGmBsIYcMn8pm92DdoVzrLpzd8sH6DqTQLKo,456
178
180
  uncountable/types/client_config_t.py,sha256=m1sVg0zaVf8DvQKaDJH_fG1abU2-VZZH0wOIMDjlECU,1944
179
181
  uncountable/types/curves.py,sha256=QyEyC20jsG-LGKVx6miiF-w70vKMwNkILFBDIJ5Ok9g,345
@@ -181,7 +183,7 @@ uncountable/types/curves_t.py,sha256=DxYepdC3QKKR7mepOOBoyarNcFZQdUa5ZYH-hwCY3BI
181
183
  uncountable/types/data.py,sha256=u2isf4XEug3Eu-xSIoqGaCQmW2dFaKBHCkP_WKYwwBc,500
182
184
  uncountable/types/data_t.py,sha256=vFoypK_WMGfN28r1sSlDYHZNUdBQC0XCN7-_Mlo4FJk,2832
183
185
  uncountable/types/entity.py,sha256=Zclk1LYcRaYrMDhqyCjMSLEg0fE6_q8LHvV22Qvscgs,566
184
- uncountable/types/entity_t.py,sha256=Y6IE-ylyikpwH55hV40mhjr1VMoQEj3isdDUyxx8KOs,25778
186
+ uncountable/types/entity_t.py,sha256=p6jb35KBwU4nWcIMXbieYen4EstWCz2UlQUzON9o99c,26114
185
187
  uncountable/types/experiment_groups.py,sha256=qUpFOx1AKgzaT_4khCOv5Xs6jwiQGbvHH-GUh3v1nv4,288
186
188
  uncountable/types/experiment_groups_t.py,sha256=29Ct-WPejpYMuGfnFfOoosU9iSfjzxpabpBX6oTPFUA,761
187
189
  uncountable/types/exports.py,sha256=VMmxUO2PpV1Y63hZ2AnVor4H-B6aswJ7YpSru_u89lU,334
@@ -246,6 +248,8 @@ uncountable/types/recipe_workflow_steps.py,sha256=fb55_sREdeZrtguIZOuy4ZcTLbRBNA
246
248
  uncountable/types/recipe_workflow_steps_t.py,sha256=sOpRcH2wGbqQ7UY9DhkaPaZcdVjMDx4ZrycEH3WLB7g,3671
247
249
  uncountable/types/recipes.py,sha256=6Z7bagYXX15kGlhYt_OFiYSD3lqFp4H0EquI1fUfYyk,286
248
250
  uncountable/types/recipes_t.py,sha256=Pw8JcMZO1EM16yprQS6d0M0PHwvKmSLjD32dyDPTHNo,734
251
+ uncountable/types/request_headers.py,sha256=OJ1UTSrf_XMrRYV5hWRFglC-7z-RAmjiQXecJbuhrVA,436
252
+ uncountable/types/request_headers_t.py,sha256=onVSmWRDRtadUk0kSG0alOJtT7LG93sX0B_falnXBWk,922
249
253
  uncountable/types/response.py,sha256=SJTwjTxZGItGJJYPZ_T1zTooEbtR5ZA8GT_cf8aXfn8,253
250
254
  uncountable/types/response_t.py,sha256=EJwr5j9IZrtmyD4k8PxHSmTtHa470XkZCQYIpbpsJx0,728
251
255
  uncountable/types/runsheet.py,sha256=-cp2ASZ8cUfSbYPJtCWGojN9HO1M4z9uijpS9WC0XsU,1007
@@ -389,7 +393,7 @@ uncountable/types/api/uploader/complete_async_parse.py,sha256=ffS3ApqCNkZb6QPuYE
389
393
  uncountable/types/api/uploader/invoke_uploader.py,sha256=Bj7Dq4A90k00suacwk3bLA_dCb2aovS1kAbVam2AQnM,1395
390
394
  uncountable/types/api/user/__init__.py,sha256=gCgbynxG3jA8FQHzercKtrHKHkiIKr8APdZYUniAor8,55
391
395
  uncountable/types/api/user/get_current_user_info.py,sha256=Avqi_RXtRgbefrT_dwJ9MrO6eDNSSa_Nu650FSuESlg,1109
392
- uncountablepythonsdk-0.0.162.dist-info/METADATA,sha256=rms0l-jk3HaKExTdt3MknfZGNeZimXkm6TJLKAIeNic,2289
393
- uncountablepythonsdk-0.0.162.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
394
- uncountablepythonsdk-0.0.162.dist-info/top_level.txt,sha256=1UVGjAU-6hJY9qw2iJ7nCBeEwZ793AEN5ZfKX9A1uj4,31
395
- uncountablepythonsdk-0.0.162.dist-info/RECORD,,
396
+ uncountablepythonsdk-0.0.164.dist-info/METADATA,sha256=Yav6Ab7FFMv5auRWj7lCnxXQhLYMRpaaAWrPAB7_rXA,2289
397
+ uncountablepythonsdk-0.0.164.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
398
+ uncountablepythonsdk-0.0.164.dist-info/top_level.txt,sha256=1UVGjAU-6hJY9qw2iJ7nCBeEwZ793AEN5ZfKX9A1uj4,31
399
+ uncountablepythonsdk-0.0.164.dist-info/RECORD,,