dataleon 0.1.0a4__py3-none-any.whl → 0.1.0a5__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 dataleon might be problematic. Click here for more details.

dataleon/__init__.py CHANGED
@@ -3,7 +3,7 @@
3
3
  import typing as _t
4
4
 
5
5
  from . import types
6
- from ._types import NOT_GIVEN, Omit, NoneType, NotGiven, Transport, ProxiesTypes
6
+ from ._types import NOT_GIVEN, Omit, NoneType, NotGiven, Transport, ProxiesTypes, omit, not_given
7
7
  from ._utils import file_from_path
8
8
  from ._client import (
9
9
  Client,
@@ -48,7 +48,9 @@ __all__ = [
48
48
  "ProxiesTypes",
49
49
  "NotGiven",
50
50
  "NOT_GIVEN",
51
+ "not_given",
51
52
  "Omit",
53
+ "omit",
52
54
  "DataleonError",
53
55
  "APIError",
54
56
  "APIStatusError",
dataleon/_base_client.py CHANGED
@@ -42,7 +42,6 @@ from . import _exceptions
42
42
  from ._qs import Querystring
43
43
  from ._files import to_httpx_files, async_to_httpx_files
44
44
  from ._types import (
45
- NOT_GIVEN,
46
45
  Body,
47
46
  Omit,
48
47
  Query,
@@ -57,6 +56,7 @@ from ._types import (
57
56
  RequestOptions,
58
57
  HttpxRequestFiles,
59
58
  ModelBuilderProtocol,
59
+ not_given,
60
60
  )
61
61
  from ._utils import is_dict, is_list, asyncify, is_given, lru_cache, is_mapping
62
62
  from ._compat import PYDANTIC_V1, model_copy, model_dump
@@ -145,9 +145,9 @@ class PageInfo:
145
145
  def __init__(
146
146
  self,
147
147
  *,
148
- url: URL | NotGiven = NOT_GIVEN,
149
- json: Body | NotGiven = NOT_GIVEN,
150
- params: Query | NotGiven = NOT_GIVEN,
148
+ url: URL | NotGiven = not_given,
149
+ json: Body | NotGiven = not_given,
150
+ params: Query | NotGiven = not_given,
151
151
  ) -> None:
152
152
  self.url = url
153
153
  self.json = json
@@ -595,7 +595,7 @@ class BaseClient(Generic[_HttpxClientT, _DefaultStreamT]):
595
595
  # we internally support defining a temporary header to override the
596
596
  # default `cast_to` type for use with `.with_raw_response` and `.with_streaming_response`
597
597
  # see _response.py for implementation details
598
- override_cast_to = headers.pop(OVERRIDE_CAST_TO_HEADER, NOT_GIVEN)
598
+ override_cast_to = headers.pop(OVERRIDE_CAST_TO_HEADER, not_given)
599
599
  if is_given(override_cast_to):
600
600
  options.headers = headers
601
601
  return cast(Type[ResponseT], override_cast_to)
@@ -825,7 +825,7 @@ class SyncAPIClient(BaseClient[httpx.Client, Stream[Any]]):
825
825
  version: str,
826
826
  base_url: str | URL,
827
827
  max_retries: int = DEFAULT_MAX_RETRIES,
828
- timeout: float | Timeout | None | NotGiven = NOT_GIVEN,
828
+ timeout: float | Timeout | None | NotGiven = not_given,
829
829
  http_client: httpx.Client | None = None,
830
830
  custom_headers: Mapping[str, str] | None = None,
831
831
  custom_query: Mapping[str, object] | None = None,
@@ -1356,7 +1356,7 @@ class AsyncAPIClient(BaseClient[httpx.AsyncClient, AsyncStream[Any]]):
1356
1356
  base_url: str | URL,
1357
1357
  _strict_response_validation: bool,
1358
1358
  max_retries: int = DEFAULT_MAX_RETRIES,
1359
- timeout: float | Timeout | None | NotGiven = NOT_GIVEN,
1359
+ timeout: float | Timeout | None | NotGiven = not_given,
1360
1360
  http_client: httpx.AsyncClient | None = None,
1361
1361
  custom_headers: Mapping[str, str] | None = None,
1362
1362
  custom_query: Mapping[str, object] | None = None,
@@ -1818,8 +1818,8 @@ def make_request_options(
1818
1818
  extra_query: Query | None = None,
1819
1819
  extra_body: Body | None = None,
1820
1820
  idempotency_key: str | None = None,
1821
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
1822
- post_parser: PostParser | NotGiven = NOT_GIVEN,
1821
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
1822
+ post_parser: PostParser | NotGiven = not_given,
1823
1823
  ) -> RequestOptions:
1824
1824
  """Create a dict of type RequestOptions without keys of NotGiven values."""
1825
1825
  options: RequestOptions = {}
dataleon/_client.py CHANGED
@@ -3,7 +3,7 @@
3
3
  from __future__ import annotations
4
4
 
5
5
  import os
6
- from typing import Any, Union, Mapping
6
+ from typing import Any, Mapping
7
7
  from typing_extensions import Self, override
8
8
 
9
9
  import httpx
@@ -11,13 +11,13 @@ import httpx
11
11
  from . import _exceptions
12
12
  from ._qs import Querystring
13
13
  from ._types import (
14
- NOT_GIVEN,
15
14
  Omit,
16
15
  Timeout,
17
16
  NotGiven,
18
17
  Transport,
19
18
  ProxiesTypes,
20
19
  RequestOptions,
20
+ not_given,
21
21
  )
22
22
  from ._utils import is_given, get_async_library
23
23
  from ._version import __version__
@@ -57,7 +57,7 @@ class Dataleon(SyncAPIClient):
57
57
  *,
58
58
  api_key: str | None = None,
59
59
  base_url: str | httpx.URL | None = None,
60
- timeout: Union[float, Timeout, None, NotGiven] = NOT_GIVEN,
60
+ timeout: float | Timeout | None | NotGiven = not_given,
61
61
  max_retries: int = DEFAULT_MAX_RETRIES,
62
62
  default_headers: Mapping[str, str] | None = None,
63
63
  default_query: Mapping[str, object] | None = None,
@@ -133,9 +133,9 @@ class Dataleon(SyncAPIClient):
133
133
  *,
134
134
  api_key: str | None = None,
135
135
  base_url: str | httpx.URL | None = None,
136
- timeout: float | Timeout | None | NotGiven = NOT_GIVEN,
136
+ timeout: float | Timeout | None | NotGiven = not_given,
137
137
  http_client: httpx.Client | None = None,
138
- max_retries: int | NotGiven = NOT_GIVEN,
138
+ max_retries: int | NotGiven = not_given,
139
139
  default_headers: Mapping[str, str] | None = None,
140
140
  set_default_headers: Mapping[str, str] | None = None,
141
141
  default_query: Mapping[str, object] | None = None,
@@ -227,7 +227,7 @@ class AsyncDataleon(AsyncAPIClient):
227
227
  *,
228
228
  api_key: str | None = None,
229
229
  base_url: str | httpx.URL | None = None,
230
- timeout: Union[float, Timeout, None, NotGiven] = NOT_GIVEN,
230
+ timeout: float | Timeout | None | NotGiven = not_given,
231
231
  max_retries: int = DEFAULT_MAX_RETRIES,
232
232
  default_headers: Mapping[str, str] | None = None,
233
233
  default_query: Mapping[str, object] | None = None,
@@ -303,9 +303,9 @@ class AsyncDataleon(AsyncAPIClient):
303
303
  *,
304
304
  api_key: str | None = None,
305
305
  base_url: str | httpx.URL | None = None,
306
- timeout: float | Timeout | None | NotGiven = NOT_GIVEN,
306
+ timeout: float | Timeout | None | NotGiven = not_given,
307
307
  http_client: httpx.AsyncClient | None = None,
308
- max_retries: int | NotGiven = NOT_GIVEN,
308
+ max_retries: int | NotGiven = not_given,
309
309
  default_headers: Mapping[str, str] | None = None,
310
310
  set_default_headers: Mapping[str, str] | None = None,
311
311
  default_query: Mapping[str, object] | None = None,
dataleon/_models.py CHANGED
@@ -256,7 +256,7 @@ class BaseModel(pydantic.BaseModel):
256
256
  mode: Literal["json", "python"] | str = "python",
257
257
  include: IncEx | None = None,
258
258
  exclude: IncEx | None = None,
259
- by_alias: bool = False,
259
+ by_alias: bool | None = None,
260
260
  exclude_unset: bool = False,
261
261
  exclude_defaults: bool = False,
262
262
  exclude_none: bool = False,
@@ -264,6 +264,7 @@ class BaseModel(pydantic.BaseModel):
264
264
  warnings: bool | Literal["none", "warn", "error"] = True,
265
265
  context: dict[str, Any] | None = None,
266
266
  serialize_as_any: bool = False,
267
+ fallback: Callable[[Any], Any] | None = None,
267
268
  ) -> dict[str, Any]:
268
269
  """Usage docs: https://docs.pydantic.dev/2.4/concepts/serialization/#modelmodel_dump
269
270
 
@@ -295,10 +296,12 @@ class BaseModel(pydantic.BaseModel):
295
296
  raise ValueError("context is only supported in Pydantic v2")
296
297
  if serialize_as_any != False:
297
298
  raise ValueError("serialize_as_any is only supported in Pydantic v2")
299
+ if fallback is not None:
300
+ raise ValueError("fallback is only supported in Pydantic v2")
298
301
  dumped = super().dict( # pyright: ignore[reportDeprecated]
299
302
  include=include,
300
303
  exclude=exclude,
301
- by_alias=by_alias,
304
+ by_alias=by_alias if by_alias is not None else False,
302
305
  exclude_unset=exclude_unset,
303
306
  exclude_defaults=exclude_defaults,
304
307
  exclude_none=exclude_none,
@@ -313,13 +316,14 @@ class BaseModel(pydantic.BaseModel):
313
316
  indent: int | None = None,
314
317
  include: IncEx | None = None,
315
318
  exclude: IncEx | None = None,
316
- by_alias: bool = False,
319
+ by_alias: bool | None = None,
317
320
  exclude_unset: bool = False,
318
321
  exclude_defaults: bool = False,
319
322
  exclude_none: bool = False,
320
323
  round_trip: bool = False,
321
324
  warnings: bool | Literal["none", "warn", "error"] = True,
322
325
  context: dict[str, Any] | None = None,
326
+ fallback: Callable[[Any], Any] | None = None,
323
327
  serialize_as_any: bool = False,
324
328
  ) -> str:
325
329
  """Usage docs: https://docs.pydantic.dev/2.4/concepts/serialization/#modelmodel_dump_json
@@ -348,11 +352,13 @@ class BaseModel(pydantic.BaseModel):
348
352
  raise ValueError("context is only supported in Pydantic v2")
349
353
  if serialize_as_any != False:
350
354
  raise ValueError("serialize_as_any is only supported in Pydantic v2")
355
+ if fallback is not None:
356
+ raise ValueError("fallback is only supported in Pydantic v2")
351
357
  return super().json( # type: ignore[reportDeprecated]
352
358
  indent=indent,
353
359
  include=include,
354
360
  exclude=exclude,
355
- by_alias=by_alias,
361
+ by_alias=by_alias if by_alias is not None else False,
356
362
  exclude_unset=exclude_unset,
357
363
  exclude_defaults=exclude_defaults,
358
364
  exclude_none=exclude_none,
dataleon/_qs.py CHANGED
@@ -4,7 +4,7 @@ from typing import Any, List, Tuple, Union, Mapping, TypeVar
4
4
  from urllib.parse import parse_qs, urlencode
5
5
  from typing_extensions import Literal, get_args
6
6
 
7
- from ._types import NOT_GIVEN, NotGiven, NotGivenOr
7
+ from ._types import NotGiven, not_given
8
8
  from ._utils import flatten
9
9
 
10
10
  _T = TypeVar("_T")
@@ -41,8 +41,8 @@ class Querystring:
41
41
  self,
42
42
  params: Params,
43
43
  *,
44
- array_format: NotGivenOr[ArrayFormat] = NOT_GIVEN,
45
- nested_format: NotGivenOr[NestedFormat] = NOT_GIVEN,
44
+ array_format: ArrayFormat | NotGiven = not_given,
45
+ nested_format: NestedFormat | NotGiven = not_given,
46
46
  ) -> str:
47
47
  return urlencode(
48
48
  self.stringify_items(
@@ -56,8 +56,8 @@ class Querystring:
56
56
  self,
57
57
  params: Params,
58
58
  *,
59
- array_format: NotGivenOr[ArrayFormat] = NOT_GIVEN,
60
- nested_format: NotGivenOr[NestedFormat] = NOT_GIVEN,
59
+ array_format: ArrayFormat | NotGiven = not_given,
60
+ nested_format: NestedFormat | NotGiven = not_given,
61
61
  ) -> list[tuple[str, str]]:
62
62
  opts = Options(
63
63
  qs=self,
@@ -143,8 +143,8 @@ class Options:
143
143
  self,
144
144
  qs: Querystring = _qs,
145
145
  *,
146
- array_format: NotGivenOr[ArrayFormat] = NOT_GIVEN,
147
- nested_format: NotGivenOr[NestedFormat] = NOT_GIVEN,
146
+ array_format: ArrayFormat | NotGiven = not_given,
147
+ nested_format: NestedFormat | NotGiven = not_given,
148
148
  ) -> None:
149
149
  self.array_format = qs.array_format if isinstance(array_format, NotGiven) else array_format
150
150
  self.nested_format = qs.nested_format if isinstance(nested_format, NotGiven) else nested_format
dataleon/_types.py CHANGED
@@ -117,18 +117,21 @@ class RequestOptions(TypedDict, total=False):
117
117
  # Sentinel class used until PEP 0661 is accepted
118
118
  class NotGiven:
119
119
  """
120
- A sentinel singleton class used to distinguish omitted keyword arguments
121
- from those passed in with the value None (which may have different behavior).
120
+ For parameters with a meaningful None value, we need to distinguish between
121
+ the user explicitly passing None, and the user not passing the parameter at
122
+ all.
123
+
124
+ User code shouldn't need to use not_given directly.
122
125
 
123
126
  For example:
124
127
 
125
128
  ```py
126
- def get(timeout: Union[int, NotGiven, None] = NotGiven()) -> Response: ...
129
+ def create(timeout: Timeout | None | NotGiven = not_given): ...
127
130
 
128
131
 
129
- get(timeout=1) # 1s timeout
130
- get(timeout=None) # No timeout
131
- get() # Default timeout behavior, which may not be statically known at the method definition.
132
+ create(timeout=1) # 1s timeout
133
+ create(timeout=None) # No timeout
134
+ create() # Default timeout behavior
132
135
  ```
133
136
  """
134
137
 
@@ -140,13 +143,14 @@ class NotGiven:
140
143
  return "NOT_GIVEN"
141
144
 
142
145
 
143
- NotGivenOr = Union[_T, NotGiven]
146
+ not_given = NotGiven()
147
+ # for backwards compatibility:
144
148
  NOT_GIVEN = NotGiven()
145
149
 
146
150
 
147
151
  class Omit:
148
- """In certain situations you need to be able to represent a case where a default value has
149
- to be explicitly removed and `None` is not an appropriate substitute, for example:
152
+ """
153
+ To explicitly omit something from being sent in a request, use `omit`.
150
154
 
151
155
  ```py
152
156
  # as the default `Content-Type` header is `application/json` that will be sent
@@ -156,8 +160,8 @@ class Omit:
156
160
  # to look something like: 'multipart/form-data; boundary=0d8382fcf5f8c3be01ca2e11002d2983'
157
161
  client.post(..., headers={"Content-Type": "multipart/form-data"})
158
162
 
159
- # instead you can remove the default `application/json` header by passing Omit
160
- client.post(..., headers={"Content-Type": Omit()})
163
+ # instead you can remove the default `application/json` header by passing omit
164
+ client.post(..., headers={"Content-Type": omit})
161
165
  ```
162
166
  """
163
167
 
@@ -165,6 +169,9 @@ class Omit:
165
169
  return False
166
170
 
167
171
 
172
+ omit = Omit()
173
+
174
+
168
175
  @runtime_checkable
169
176
  class ModelBuilderProtocol(Protocol):
170
177
  @classmethod
@@ -268,7 +268,7 @@ def _transform_typeddict(
268
268
  annotations = get_type_hints(expected_type, include_extras=True)
269
269
  for key, value in data.items():
270
270
  if not is_given(value):
271
- # we don't need to include `NotGiven` values here as they'll
271
+ # we don't need to include omitted values here as they'll
272
272
  # be stripped out before the request is sent anyway
273
273
  continue
274
274
 
@@ -434,7 +434,7 @@ async def _async_transform_typeddict(
434
434
  annotations = get_type_hints(expected_type, include_extras=True)
435
435
  for key, value in data.items():
436
436
  if not is_given(value):
437
- # we don't need to include `NotGiven` values here as they'll
437
+ # we don't need to include omitted values here as they'll
438
438
  # be stripped out before the request is sent anyway
439
439
  continue
440
440
 
dataleon/_utils/_utils.py CHANGED
@@ -21,7 +21,7 @@ from typing_extensions import TypeGuard
21
21
 
22
22
  import sniffio
23
23
 
24
- from .._types import NotGiven, FileTypes, NotGivenOr, HeadersLike
24
+ from .._types import Omit, NotGiven, FileTypes, HeadersLike
25
25
 
26
26
  _T = TypeVar("_T")
27
27
  _TupleT = TypeVar("_TupleT", bound=Tuple[object, ...])
@@ -63,7 +63,7 @@ def _extract_items(
63
63
  try:
64
64
  key = path[index]
65
65
  except IndexError:
66
- if isinstance(obj, NotGiven):
66
+ if not is_given(obj):
67
67
  # no value was provided - we can safely ignore
68
68
  return []
69
69
 
@@ -126,8 +126,8 @@ def _extract_items(
126
126
  return []
127
127
 
128
128
 
129
- def is_given(obj: NotGivenOr[_T]) -> TypeGuard[_T]:
130
- return not isinstance(obj, NotGiven)
129
+ def is_given(obj: _T | NotGiven | Omit) -> TypeGuard[_T]:
130
+ return not isinstance(obj, NotGiven) and not isinstance(obj, Omit)
131
131
 
132
132
 
133
133
  # Type safe methods for narrowing types with TypeVars.
dataleon/_version.py CHANGED
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "dataleon"
4
- __version__ = "0.1.0-alpha.4" # x-release-please-version
4
+ __version__ = "0.1.0-alpha.5" # x-release-please-version
@@ -9,7 +9,7 @@ from typing_extensions import Literal
9
9
  import httpx
10
10
 
11
11
  from ...types import company_list_params, company_create_params, company_update_params, company_retrieve_params
12
- from ..._types import NOT_GIVEN, Body, Query, Headers, NoneType, NotGiven
12
+ from ..._types import Body, Omit, Query, Headers, NoneType, NotGiven, omit, not_given
13
13
  from ..._utils import maybe_transform, async_maybe_transform
14
14
  from ..._compat import cached_property
15
15
  from .documents import (
@@ -63,14 +63,14 @@ class CompaniesResource(SyncAPIResource):
63
63
  *,
64
64
  company: company_create_params.Company,
65
65
  workspace_id: str,
66
- source_id: str | NotGiven = NOT_GIVEN,
67
- technical_data: company_create_params.TechnicalData | NotGiven = NOT_GIVEN,
66
+ source_id: str | Omit = omit,
67
+ technical_data: company_create_params.TechnicalData | Omit = omit,
68
68
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
69
69
  # The extra values given here take precedence over values defined on the client or passed to this method.
70
70
  extra_headers: Headers | None = None,
71
71
  extra_query: Query | None = None,
72
72
  extra_body: Body | None = None,
73
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
73
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
74
74
  ) -> CompanyRegistration:
75
75
  """
76
76
  Create a new company
@@ -114,14 +114,14 @@ class CompaniesResource(SyncAPIResource):
114
114
  self,
115
115
  company_id: str,
116
116
  *,
117
- document: bool | NotGiven = NOT_GIVEN,
118
- scope: str | NotGiven = NOT_GIVEN,
117
+ document: bool | Omit = omit,
118
+ scope: str | Omit = omit,
119
119
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
120
120
  # The extra values given here take precedence over values defined on the client or passed to this method.
121
121
  extra_headers: Headers | None = None,
122
122
  extra_query: Query | None = None,
123
123
  extra_body: Body | None = None,
124
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
124
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
125
125
  ) -> CompanyRegistration:
126
126
  """
127
127
  Get a company by ID
@@ -165,14 +165,14 @@ class CompaniesResource(SyncAPIResource):
165
165
  *,
166
166
  company: company_update_params.Company,
167
167
  workspace_id: str,
168
- source_id: str | NotGiven = NOT_GIVEN,
169
- technical_data: company_update_params.TechnicalData | NotGiven = NOT_GIVEN,
168
+ source_id: str | Omit = omit,
169
+ technical_data: company_update_params.TechnicalData | Omit = omit,
170
170
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
171
171
  # The extra values given here take precedence over values defined on the client or passed to this method.
172
172
  extra_headers: Headers | None = None,
173
173
  extra_query: Query | None = None,
174
174
  extra_body: Body | None = None,
175
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
175
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
176
176
  ) -> CompanyRegistration:
177
177
  """
178
178
  Update a company by ID
@@ -217,21 +217,21 @@ class CompaniesResource(SyncAPIResource):
217
217
  def list(
218
218
  self,
219
219
  *,
220
- end_date: Union[str, date] | NotGiven = NOT_GIVEN,
221
- limit: int | NotGiven = NOT_GIVEN,
222
- offset: int | NotGiven = NOT_GIVEN,
223
- source_id: str | NotGiven = NOT_GIVEN,
224
- start_date: Union[str, date] | NotGiven = NOT_GIVEN,
220
+ end_date: Union[str, date] | Omit = omit,
221
+ limit: int | Omit = omit,
222
+ offset: int | Omit = omit,
223
+ source_id: str | Omit = omit,
224
+ start_date: Union[str, date] | Omit = omit,
225
225
  state: Literal["VOID", "WAITING", "STARTED", "RUNNING", "PROCESSED", "FAILED", "ABORTED", "EXPIRED", "DELETED"]
226
- | NotGiven = NOT_GIVEN,
227
- status: Literal["rejected", "need_review", "approved"] | NotGiven = NOT_GIVEN,
228
- workspace_id: str | NotGiven = NOT_GIVEN,
226
+ | Omit = omit,
227
+ status: Literal["rejected", "need_review", "approved"] | Omit = omit,
228
+ workspace_id: str | Omit = omit,
229
229
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
230
230
  # The extra values given here take precedence over values defined on the client or passed to this method.
231
231
  extra_headers: Headers | None = None,
232
232
  extra_query: Query | None = None,
233
233
  extra_body: Body | None = None,
234
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
234
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
235
235
  ) -> CompanyListResponse:
236
236
  """
237
237
  Get all companies
@@ -294,7 +294,7 @@ class CompaniesResource(SyncAPIResource):
294
294
  extra_headers: Headers | None = None,
295
295
  extra_query: Query | None = None,
296
296
  extra_body: Body | None = None,
297
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
297
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
298
298
  ) -> None:
299
299
  """
300
300
  Delete a company by ID
@@ -349,14 +349,14 @@ class AsyncCompaniesResource(AsyncAPIResource):
349
349
  *,
350
350
  company: company_create_params.Company,
351
351
  workspace_id: str,
352
- source_id: str | NotGiven = NOT_GIVEN,
353
- technical_data: company_create_params.TechnicalData | NotGiven = NOT_GIVEN,
352
+ source_id: str | Omit = omit,
353
+ technical_data: company_create_params.TechnicalData | Omit = omit,
354
354
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
355
355
  # The extra values given here take precedence over values defined on the client or passed to this method.
356
356
  extra_headers: Headers | None = None,
357
357
  extra_query: Query | None = None,
358
358
  extra_body: Body | None = None,
359
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
359
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
360
360
  ) -> CompanyRegistration:
361
361
  """
362
362
  Create a new company
@@ -400,14 +400,14 @@ class AsyncCompaniesResource(AsyncAPIResource):
400
400
  self,
401
401
  company_id: str,
402
402
  *,
403
- document: bool | NotGiven = NOT_GIVEN,
404
- scope: str | NotGiven = NOT_GIVEN,
403
+ document: bool | Omit = omit,
404
+ scope: str | Omit = omit,
405
405
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
406
406
  # The extra values given here take precedence over values defined on the client or passed to this method.
407
407
  extra_headers: Headers | None = None,
408
408
  extra_query: Query | None = None,
409
409
  extra_body: Body | None = None,
410
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
410
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
411
411
  ) -> CompanyRegistration:
412
412
  """
413
413
  Get a company by ID
@@ -451,14 +451,14 @@ class AsyncCompaniesResource(AsyncAPIResource):
451
451
  *,
452
452
  company: company_update_params.Company,
453
453
  workspace_id: str,
454
- source_id: str | NotGiven = NOT_GIVEN,
455
- technical_data: company_update_params.TechnicalData | NotGiven = NOT_GIVEN,
454
+ source_id: str | Omit = omit,
455
+ technical_data: company_update_params.TechnicalData | Omit = omit,
456
456
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
457
457
  # The extra values given here take precedence over values defined on the client or passed to this method.
458
458
  extra_headers: Headers | None = None,
459
459
  extra_query: Query | None = None,
460
460
  extra_body: Body | None = None,
461
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
461
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
462
462
  ) -> CompanyRegistration:
463
463
  """
464
464
  Update a company by ID
@@ -503,21 +503,21 @@ class AsyncCompaniesResource(AsyncAPIResource):
503
503
  async def list(
504
504
  self,
505
505
  *,
506
- end_date: Union[str, date] | NotGiven = NOT_GIVEN,
507
- limit: int | NotGiven = NOT_GIVEN,
508
- offset: int | NotGiven = NOT_GIVEN,
509
- source_id: str | NotGiven = NOT_GIVEN,
510
- start_date: Union[str, date] | NotGiven = NOT_GIVEN,
506
+ end_date: Union[str, date] | Omit = omit,
507
+ limit: int | Omit = omit,
508
+ offset: int | Omit = omit,
509
+ source_id: str | Omit = omit,
510
+ start_date: Union[str, date] | Omit = omit,
511
511
  state: Literal["VOID", "WAITING", "STARTED", "RUNNING", "PROCESSED", "FAILED", "ABORTED", "EXPIRED", "DELETED"]
512
- | NotGiven = NOT_GIVEN,
513
- status: Literal["rejected", "need_review", "approved"] | NotGiven = NOT_GIVEN,
514
- workspace_id: str | NotGiven = NOT_GIVEN,
512
+ | Omit = omit,
513
+ status: Literal["rejected", "need_review", "approved"] | Omit = omit,
514
+ workspace_id: str | Omit = omit,
515
515
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
516
516
  # The extra values given here take precedence over values defined on the client or passed to this method.
517
517
  extra_headers: Headers | None = None,
518
518
  extra_query: Query | None = None,
519
519
  extra_body: Body | None = None,
520
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
520
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
521
521
  ) -> CompanyListResponse:
522
522
  """
523
523
  Get all companies
@@ -580,7 +580,7 @@ class AsyncCompaniesResource(AsyncAPIResource):
580
580
  extra_headers: Headers | None = None,
581
581
  extra_query: Query | None = None,
582
582
  extra_body: Body | None = None,
583
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
583
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
584
584
  ) -> None:
585
585
  """
586
586
  Delete a company by ID
@@ -7,7 +7,7 @@ from typing_extensions import Literal
7
7
 
8
8
  import httpx
9
9
 
10
- from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven, FileTypes
10
+ from ..._types import Body, Omit, Query, Headers, NotGiven, FileTypes, omit, not_given
11
11
  from ..._utils import extract_files, maybe_transform, deepcopy_minimal, async_maybe_transform
12
12
  from ..._compat import cached_property
13
13
  from ..._resource import SyncAPIResource, AsyncAPIResource
@@ -54,7 +54,7 @@ class DocumentsResource(SyncAPIResource):
54
54
  extra_headers: Headers | None = None,
55
55
  extra_query: Query | None = None,
56
56
  extra_body: Body | None = None,
57
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
57
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
58
58
  ) -> DocumentResponse:
59
59
  """
60
60
  Get documents to an company
@@ -117,14 +117,14 @@ class DocumentsResource(SyncAPIResource):
117
117
  "organizational_chart",
118
118
  "risk_policies",
119
119
  ],
120
- file: FileTypes | NotGiven = NOT_GIVEN,
121
- url: str | NotGiven = NOT_GIVEN,
120
+ file: FileTypes | Omit = omit,
121
+ url: str | Omit = omit,
122
122
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
123
123
  # The extra values given here take precedence over values defined on the client or passed to this method.
124
124
  extra_headers: Headers | None = None,
125
125
  extra_query: Query | None = None,
126
126
  extra_body: Body | None = None,
127
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
127
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
128
128
  ) -> GenericDocument:
129
129
  """
130
130
  Upload documents to an company
@@ -198,7 +198,7 @@ class AsyncDocumentsResource(AsyncAPIResource):
198
198
  extra_headers: Headers | None = None,
199
199
  extra_query: Query | None = None,
200
200
  extra_body: Body | None = None,
201
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
201
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
202
202
  ) -> DocumentResponse:
203
203
  """
204
204
  Get documents to an company
@@ -261,14 +261,14 @@ class AsyncDocumentsResource(AsyncAPIResource):
261
261
  "organizational_chart",
262
262
  "risk_policies",
263
263
  ],
264
- file: FileTypes | NotGiven = NOT_GIVEN,
265
- url: str | NotGiven = NOT_GIVEN,
264
+ file: FileTypes | Omit = omit,
265
+ url: str | Omit = omit,
266
266
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
267
267
  # The extra values given here take precedence over values defined on the client or passed to this method.
268
268
  extra_headers: Headers | None = None,
269
269
  extra_query: Query | None = None,
270
270
  extra_body: Body | None = None,
271
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
271
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
272
272
  ) -> GenericDocument:
273
273
  """
274
274
  Upload documents to an company
@@ -7,7 +7,7 @@ from typing_extensions import Literal
7
7
 
8
8
  import httpx
9
9
 
10
- from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven, FileTypes
10
+ from ..._types import Body, Omit, Query, Headers, NotGiven, FileTypes, omit, not_given
11
11
  from ..._utils import extract_files, maybe_transform, deepcopy_minimal, async_maybe_transform
12
12
  from ..._compat import cached_property
13
13
  from ..._resource import SyncAPIResource, AsyncAPIResource
@@ -54,7 +54,7 @@ class DocumentsResource(SyncAPIResource):
54
54
  extra_headers: Headers | None = None,
55
55
  extra_query: Query | None = None,
56
56
  extra_body: Body | None = None,
57
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
57
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
58
58
  ) -> DocumentResponse:
59
59
  """
60
60
  Get documents to an individuals
@@ -117,14 +117,14 @@ class DocumentsResource(SyncAPIResource):
117
117
  "organizational_chart",
118
118
  "risk_policies",
119
119
  ],
120
- file: FileTypes | NotGiven = NOT_GIVEN,
121
- url: str | NotGiven = NOT_GIVEN,
120
+ file: FileTypes | Omit = omit,
121
+ url: str | Omit = omit,
122
122
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
123
123
  # The extra values given here take precedence over values defined on the client or passed to this method.
124
124
  extra_headers: Headers | None = None,
125
125
  extra_query: Query | None = None,
126
126
  extra_body: Body | None = None,
127
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
127
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
128
128
  ) -> GenericDocument:
129
129
  """
130
130
  Upload documents to an individual
@@ -198,7 +198,7 @@ class AsyncDocumentsResource(AsyncAPIResource):
198
198
  extra_headers: Headers | None = None,
199
199
  extra_query: Query | None = None,
200
200
  extra_body: Body | None = None,
201
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
201
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
202
202
  ) -> DocumentResponse:
203
203
  """
204
204
  Get documents to an individuals
@@ -261,14 +261,14 @@ class AsyncDocumentsResource(AsyncAPIResource):
261
261
  "organizational_chart",
262
262
  "risk_policies",
263
263
  ],
264
- file: FileTypes | NotGiven = NOT_GIVEN,
265
- url: str | NotGiven = NOT_GIVEN,
264
+ file: FileTypes | Omit = omit,
265
+ url: str | Omit = omit,
266
266
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
267
267
  # The extra values given here take precedence over values defined on the client or passed to this method.
268
268
  extra_headers: Headers | None = None,
269
269
  extra_query: Query | None = None,
270
270
  extra_body: Body | None = None,
271
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
271
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
272
272
  ) -> GenericDocument:
273
273
  """
274
274
  Upload documents to an individual
@@ -14,7 +14,7 @@ from ...types import (
14
14
  individual_update_params,
15
15
  individual_retrieve_params,
16
16
  )
17
- from ..._types import NOT_GIVEN, Body, Query, Headers, NoneType, NotGiven
17
+ from ..._types import Body, Omit, Query, Headers, NoneType, NotGiven, omit, not_given
18
18
  from ..._utils import maybe_transform, async_maybe_transform
19
19
  from ..._compat import cached_property
20
20
  from .documents import (
@@ -67,15 +67,15 @@ class IndividualsResource(SyncAPIResource):
67
67
  self,
68
68
  *,
69
69
  workspace_id: str,
70
- person: individual_create_params.Person | NotGiven = NOT_GIVEN,
71
- source_id: str | NotGiven = NOT_GIVEN,
72
- technical_data: individual_create_params.TechnicalData | NotGiven = NOT_GIVEN,
70
+ person: individual_create_params.Person | Omit = omit,
71
+ source_id: str | Omit = omit,
72
+ technical_data: individual_create_params.TechnicalData | Omit = omit,
73
73
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
74
74
  # The extra values given here take precedence over values defined on the client or passed to this method.
75
75
  extra_headers: Headers | None = None,
76
76
  extra_query: Query | None = None,
77
77
  extra_body: Body | None = None,
78
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
78
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
79
79
  ) -> Individual:
80
80
  """
81
81
  Create a new individual
@@ -119,14 +119,14 @@ class IndividualsResource(SyncAPIResource):
119
119
  self,
120
120
  individual_id: str,
121
121
  *,
122
- document: bool | NotGiven = NOT_GIVEN,
123
- scope: str | NotGiven = NOT_GIVEN,
122
+ document: bool | Omit = omit,
123
+ scope: str | Omit = omit,
124
124
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
125
125
  # The extra values given here take precedence over values defined on the client or passed to this method.
126
126
  extra_headers: Headers | None = None,
127
127
  extra_query: Query | None = None,
128
128
  extra_body: Body | None = None,
129
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
129
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
130
130
  ) -> Individual:
131
131
  """
132
132
  Get an individual by ID
@@ -169,15 +169,15 @@ class IndividualsResource(SyncAPIResource):
169
169
  individual_id: str,
170
170
  *,
171
171
  workspace_id: str,
172
- person: individual_update_params.Person | NotGiven = NOT_GIVEN,
173
- source_id: str | NotGiven = NOT_GIVEN,
174
- technical_data: individual_update_params.TechnicalData | NotGiven = NOT_GIVEN,
172
+ person: individual_update_params.Person | Omit = omit,
173
+ source_id: str | Omit = omit,
174
+ technical_data: individual_update_params.TechnicalData | Omit = omit,
175
175
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
176
176
  # The extra values given here take precedence over values defined on the client or passed to this method.
177
177
  extra_headers: Headers | None = None,
178
178
  extra_query: Query | None = None,
179
179
  extra_body: Body | None = None,
180
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
180
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
181
181
  ) -> Individual:
182
182
  """
183
183
  Update an individual by ID
@@ -222,21 +222,21 @@ class IndividualsResource(SyncAPIResource):
222
222
  def list(
223
223
  self,
224
224
  *,
225
- end_date: Union[str, date] | NotGiven = NOT_GIVEN,
226
- limit: int | NotGiven = NOT_GIVEN,
227
- offset: int | NotGiven = NOT_GIVEN,
228
- source_id: str | NotGiven = NOT_GIVEN,
229
- start_date: Union[str, date] | NotGiven = NOT_GIVEN,
225
+ end_date: Union[str, date] | Omit = omit,
226
+ limit: int | Omit = omit,
227
+ offset: int | Omit = omit,
228
+ source_id: str | Omit = omit,
229
+ start_date: Union[str, date] | Omit = omit,
230
230
  state: Literal["VOID", "WAITING", "STARTED", "RUNNING", "PROCESSED", "FAILED", "ABORTED", "EXPIRED", "DELETED"]
231
- | NotGiven = NOT_GIVEN,
232
- status: Literal["rejected", "need_review", "approved"] | NotGiven = NOT_GIVEN,
233
- workspace_id: str | NotGiven = NOT_GIVEN,
231
+ | Omit = omit,
232
+ status: Literal["rejected", "need_review", "approved"] | Omit = omit,
233
+ workspace_id: str | Omit = omit,
234
234
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
235
235
  # The extra values given here take precedence over values defined on the client or passed to this method.
236
236
  extra_headers: Headers | None = None,
237
237
  extra_query: Query | None = None,
238
238
  extra_body: Body | None = None,
239
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
239
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
240
240
  ) -> IndividualListResponse:
241
241
  """
242
242
  Get all individuals
@@ -299,7 +299,7 @@ class IndividualsResource(SyncAPIResource):
299
299
  extra_headers: Headers | None = None,
300
300
  extra_query: Query | None = None,
301
301
  extra_body: Body | None = None,
302
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
302
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
303
303
  ) -> None:
304
304
  """
305
305
  Delete an individual by ID
@@ -353,15 +353,15 @@ class AsyncIndividualsResource(AsyncAPIResource):
353
353
  self,
354
354
  *,
355
355
  workspace_id: str,
356
- person: individual_create_params.Person | NotGiven = NOT_GIVEN,
357
- source_id: str | NotGiven = NOT_GIVEN,
358
- technical_data: individual_create_params.TechnicalData | NotGiven = NOT_GIVEN,
356
+ person: individual_create_params.Person | Omit = omit,
357
+ source_id: str | Omit = omit,
358
+ technical_data: individual_create_params.TechnicalData | Omit = omit,
359
359
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
360
360
  # The extra values given here take precedence over values defined on the client or passed to this method.
361
361
  extra_headers: Headers | None = None,
362
362
  extra_query: Query | None = None,
363
363
  extra_body: Body | None = None,
364
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
364
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
365
365
  ) -> Individual:
366
366
  """
367
367
  Create a new individual
@@ -405,14 +405,14 @@ class AsyncIndividualsResource(AsyncAPIResource):
405
405
  self,
406
406
  individual_id: str,
407
407
  *,
408
- document: bool | NotGiven = NOT_GIVEN,
409
- scope: str | NotGiven = NOT_GIVEN,
408
+ document: bool | Omit = omit,
409
+ scope: str | Omit = omit,
410
410
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
411
411
  # The extra values given here take precedence over values defined on the client or passed to this method.
412
412
  extra_headers: Headers | None = None,
413
413
  extra_query: Query | None = None,
414
414
  extra_body: Body | None = None,
415
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
415
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
416
416
  ) -> Individual:
417
417
  """
418
418
  Get an individual by ID
@@ -455,15 +455,15 @@ class AsyncIndividualsResource(AsyncAPIResource):
455
455
  individual_id: str,
456
456
  *,
457
457
  workspace_id: str,
458
- person: individual_update_params.Person | NotGiven = NOT_GIVEN,
459
- source_id: str | NotGiven = NOT_GIVEN,
460
- technical_data: individual_update_params.TechnicalData | NotGiven = NOT_GIVEN,
458
+ person: individual_update_params.Person | Omit = omit,
459
+ source_id: str | Omit = omit,
460
+ technical_data: individual_update_params.TechnicalData | Omit = omit,
461
461
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
462
462
  # The extra values given here take precedence over values defined on the client or passed to this method.
463
463
  extra_headers: Headers | None = None,
464
464
  extra_query: Query | None = None,
465
465
  extra_body: Body | None = None,
466
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
466
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
467
467
  ) -> Individual:
468
468
  """
469
469
  Update an individual by ID
@@ -508,21 +508,21 @@ class AsyncIndividualsResource(AsyncAPIResource):
508
508
  async def list(
509
509
  self,
510
510
  *,
511
- end_date: Union[str, date] | NotGiven = NOT_GIVEN,
512
- limit: int | NotGiven = NOT_GIVEN,
513
- offset: int | NotGiven = NOT_GIVEN,
514
- source_id: str | NotGiven = NOT_GIVEN,
515
- start_date: Union[str, date] | NotGiven = NOT_GIVEN,
511
+ end_date: Union[str, date] | Omit = omit,
512
+ limit: int | Omit = omit,
513
+ offset: int | Omit = omit,
514
+ source_id: str | Omit = omit,
515
+ start_date: Union[str, date] | Omit = omit,
516
516
  state: Literal["VOID", "WAITING", "STARTED", "RUNNING", "PROCESSED", "FAILED", "ABORTED", "EXPIRED", "DELETED"]
517
- | NotGiven = NOT_GIVEN,
518
- status: Literal["rejected", "need_review", "approved"] | NotGiven = NOT_GIVEN,
519
- workspace_id: str | NotGiven = NOT_GIVEN,
517
+ | Omit = omit,
518
+ status: Literal["rejected", "need_review", "approved"] | Omit = omit,
519
+ workspace_id: str | Omit = omit,
520
520
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
521
521
  # The extra values given here take precedence over values defined on the client or passed to this method.
522
522
  extra_headers: Headers | None = None,
523
523
  extra_query: Query | None = None,
524
524
  extra_body: Body | None = None,
525
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
525
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
526
526
  ) -> IndividualListResponse:
527
527
  """
528
528
  Get all individuals
@@ -585,7 +585,7 @@ class AsyncIndividualsResource(AsyncAPIResource):
585
585
  extra_headers: Headers | None = None,
586
586
  extra_query: Query | None = None,
587
587
  extra_body: Body | None = None,
588
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
588
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
589
589
  ) -> None:
590
590
  """
591
591
  Delete an individual by ID
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: dataleon
3
- Version: 0.1.0a4
3
+ Version: 0.1.0a5
4
4
  Summary: The official Python library for the dataleon API
5
5
  Project-URL: Homepage, https://github.com/dataleonlabs/dataleon-python
6
6
  Project-URL: Repository, https://github.com/dataleonlabs/dataleon-python
@@ -1,17 +1,17 @@
1
- dataleon/__init__.py,sha256=ko9-qflnjK0FD_fBw7q1y0QgAEDpCycU5Tl3aaOPLpk,2637
2
- dataleon/_base_client.py,sha256=BzCUWQMeQnWs0NUaUiQNVa9WFjhZRrREQCG8G2gGt7Q,67049
3
- dataleon/_client.py,sha256=At5lOi-eML4x7tCBK8kav4HPqRwTyHm6ARdlpzQDBRQ,15782
1
+ dataleon/__init__.py,sha256=dkCQycGpczxa7dBkl7uap8s5x3PTSgaq8ccDdD0W7Eo,2683
2
+ dataleon/_base_client.py,sha256=7y7Z_t0HCmC50wlwmphexzMTJkjJ1woqMUW-ufLZ73Q,67049
3
+ dataleon/_client.py,sha256=2VZBOMRmReiuS-YuaVko76y2MtRXqVaSbBangRA3HiA,15767
4
4
  dataleon/_compat.py,sha256=DQBVORjFb33zch24jzkhM14msvnzY7mmSmgDLaVFUM8,6562
5
5
  dataleon/_constants.py,sha256=S14PFzyN9-I31wiV7SmIlL5Ga0MLHxdvegInGdXH7tM,462
6
6
  dataleon/_exceptions.py,sha256=W4jW5ohMuhllYGCFbW6WnGHimPSx6s5fOZ-8nmQ0-PU,3224
7
7
  dataleon/_files.py,sha256=t0rWAe9ugcDgHtsCCCeqmVHYtjWEhsk--KrluyRF9AM,3620
8
- dataleon/_models.py,sha256=c29x_mRccdxlGwdUPfSR5eJxGXe74Ea5Dje5igZTrKQ,30024
9
- dataleon/_qs.py,sha256=AOkSz4rHtK4YI3ZU_kzea-zpwBUgEY8WniGmTPyEimc,4846
8
+ dataleon/_models.py,sha256=lKnskYPONAWDvWo8tmbbVk7HmG7UOsI0Nve0vSMmkRc,30452
9
+ dataleon/_qs.py,sha256=craIKyvPktJ94cvf9zn8j8ekG9dWJzhWv0ob34lIOv4,4828
10
10
  dataleon/_resource.py,sha256=fgorhYtT83s_79XWvOKSwG4cFg7PMsuUhZo5SiISdcw,1112
11
11
  dataleon/_response.py,sha256=CiBLBRRyujvHdUtY9SgkbX5t009r0zabLeRyWZWPJEg,28800
12
12
  dataleon/_streaming.py,sha256=yoIbzyER1eoqp4sNeSH_BSRgILU6jDxcMDRNhbIN6DA,10108
13
- dataleon/_types.py,sha256=MHs6ag3Gpliblsm0_J5sfEqfZLYwvkK6dAl-LJiVO3o,7298
14
- dataleon/_version.py,sha256=PfK3U2dhP8mYIL3wosVxS_6LpGTKVJkmn-tJNTi_uc4,168
13
+ dataleon/_types.py,sha256=u7zRS8mIXHdm4tLaQ23OZn0xGSND-0g5p2sstVQdKyg,7238
14
+ dataleon/_version.py,sha256=moN9jih6U-85pTmHysjKYemdhN7HZN0fGXjzWt_mOP0,168
15
15
  dataleon/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  dataleon/_utils/__init__.py,sha256=7fch0GT9zpNnErbciSpUNa-SjTxxjY6kxHxKMOM4AGs,2305
17
17
  dataleon/_utils/_compat.py,sha256=D8gtAvjJQrDWt9upS0XaG9Rr5l1QhiAx_I_1utT_tt0,1195
@@ -22,17 +22,17 @@ dataleon/_utils/_reflection.py,sha256=ZmGkIgT_PuwedyNBrrKGbxoWtkpytJNU1uU4QHnmEM
22
22
  dataleon/_utils/_resources_proxy.py,sha256=0r8-mmHtO-0naTsBkmvTanjHCrBZrCkjoItzAUSYlRU,599
23
23
  dataleon/_utils/_streams.py,sha256=SMC90diFFecpEg_zgDRVbdR3hSEIgVVij4taD-noMLM,289
24
24
  dataleon/_utils/_sync.py,sha256=TpGLrrhRNWTJtODNE6Fup3_k7zrWm1j2RlirzBwre-0,2862
25
- dataleon/_utils/_transform.py,sha256=i_U4R82RtQJtKKCriwFqmfcWjtwmmsiiF1AEXKQ_OPo,15957
25
+ dataleon/_utils/_transform.py,sha256=NjCzmnfqYrsAikUHQig6N9QfuTVbKipuP3ur9mcNF-E,15951
26
26
  dataleon/_utils/_typing.py,sha256=N_5PPuFNsaygbtA_npZd98SVN1LQQvFTKL6bkWPBZGU,4786
27
- dataleon/_utils/_utils.py,sha256=D2QE7mVPNEJzaB50u8rvDQAUDS5jx7JoeFD7zdj-TeI,12231
27
+ dataleon/_utils/_utils.py,sha256=0dDqauUbVZEXV0NVl7Bwu904Wwo5eyFCZpQThhFNhyA,12253
28
28
  dataleon/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
29
29
  dataleon/resources/__init__.py,sha256=DUqzicaFAQ_yNPplDHxGPIWQWvOJxniKgv6DxUoT_n0,1106
30
30
  dataleon/resources/companies/__init__.py,sha256=wws8cy7BTWpr8cZa75I66xiCKeyjEAAFrDOyNhqrVS8,1080
31
- dataleon/resources/companies/companies.py,sha256=s7R9qQ9j-QxSP429u5gUpFitG6MJEOpwEnC0sRBbOqE,26726
32
- dataleon/resources/companies/documents.py,sha256=KqlrzzRnB-owlrXeZfdSgz49Z-Eg5mFNPyAXASAXjmk,13415
31
+ dataleon/resources/companies/companies.py,sha256=j2TnAfMsDraQs2r2-pCs9WHWDgosE43UnpIeXetA8Gc,26486
32
+ dataleon/resources/companies/documents.py,sha256=4uUwqaCbQSlRzqpn3b9S7YSgH7O_ue5aLafSl71ioA8,13391
33
33
  dataleon/resources/individuals/__init__.py,sha256=an2HSHj7Gu7lrBvWPZD1q2yrTd4BpbXiDH_IIc0I5t4,1106
34
- dataleon/resources/individuals/documents.py,sha256=Q2XrcuxCiA4DWTjlp5mOAit-set0Pd6IEXo-bv5U2yc,13499
35
- dataleon/resources/individuals/individuals.py,sha256=fyi6xmC7lRzD_MHZo0gYiQ5YicV8LdDE7f6A6en-y_k,27068
34
+ dataleon/resources/individuals/documents.py,sha256=t4Tuoo4NyygvCqC4EQ7ujDHGmglrRxRv0hN6RhLRJ4U,13475
35
+ dataleon/resources/individuals/individuals.py,sha256=JG2YOkgQifwMQtl0aSf01hmoXJc1BERoqnTW-Vuhckg,26792
36
36
  dataleon/types/__init__.py,sha256=7W19MbyWffpYMGyU1TIRnB7sMpQxHMsnAPdrYikUE4A,1109
37
37
  dataleon/types/company_create_params.py,sha256=2dFo-f1Hlpz2z21NzDg-Xb1HeOrw030e-LW5swdzlCE,2814
38
38
  dataleon/types/company_list_params.py,sha256=7CMuqd-k7Amguw2Em12nqIureyG9M3wUvprjfcB3jjg,1217
@@ -54,7 +54,7 @@ dataleon/types/individuals/document_upload_params.py,sha256=h7zMLmGzzBL_lDkkcqvm
54
54
  dataleon/types/individuals/generic_document.py,sha256=xSYz52McaxAcOlMAsigvicIRpOFq7jPNjp0sVxuQ4ho,1770
55
55
  dataleon/types/shared/__init__.py,sha256=dLIm-HE37QAl09bUulXYHMB1TD04OAzRbWrZa0fGnq8,121
56
56
  dataleon/types/shared/check.py,sha256=xNjjQRra_S7luP2e-96BdUFUey0XQI8Ee5-21tyBL7s,742
57
- dataleon-0.1.0a4.dist-info/METADATA,sha256=S-WvaZ3fQWcWtzl89sxi7bjzZ4dFyDX6kuz41C6vo8Q,14763
58
- dataleon-0.1.0a4.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
59
- dataleon-0.1.0a4.dist-info/licenses/LICENSE,sha256=yEUx0WqirQ-Xmfk0Zxni5ksk6UNKi28aPozXs_9l41c,11338
60
- dataleon-0.1.0a4.dist-info/RECORD,,
57
+ dataleon-0.1.0a5.dist-info/METADATA,sha256=UShr1f3R-vjIPrHuzETIM36JwDgu68b0DSqTMpTRQaY,14763
58
+ dataleon-0.1.0a5.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
59
+ dataleon-0.1.0a5.dist-info/licenses/LICENSE,sha256=yEUx0WqirQ-Xmfk0Zxni5ksk6UNKi28aPozXs_9l41c,11338
60
+ dataleon-0.1.0a5.dist-info/RECORD,,