Skip to content

Commit 7ae6fc7

Browse files
SDK regeneration
1 parent 9bce25e commit 7ae6fc7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+222
-153
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "polytomic"
33

44
[tool.poetry]
55
name = "polytomic"
6-
version = "1.15.5"
6+
version = "0.0.0"
77
description = ""
88
readme = "README.md"
99
authors = []

reference.md

Lines changed: 18 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ client = Polytomic(
1919
version="YOUR_VERSION",
2020
token="YOUR_TOKEN",
2121
)
22-
client.bulk_sync.list(
23-
active=True,
24-
)
22+
client.bulk_sync.list()
2523

2624
```
2725
</dd>
@@ -2548,7 +2546,7 @@ client.models.get_enrichment_source(
25482546
<dl>
25492547
<dd>
25502548

2551-
**params:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Sequence[str]]]]`
2549+
**params:** `typing.Optional[typing.Dict[str, typing.Sequence[str]]]`
25522550

25532551
</dd>
25542552
</dl>
@@ -3432,7 +3430,7 @@ client.model_sync.get_source(
34323430
<dl>
34333431
<dd>
34343432

3435-
**params:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Sequence[str]]]]`
3433+
**params:** `typing.Optional[typing.Dict[str, typing.Sequence[str]]]`
34363434

34373435
</dd>
34383436
</dl>
@@ -3497,7 +3495,7 @@ client.model_sync.get_source_fields(
34973495
<dl>
34983496
<dd>
34993497

3500-
**params:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Sequence[str]]]]`
3498+
**params:** `typing.Optional[typing.Dict[str, typing.Sequence[str]]]`
35013499

35023500
</dd>
35033501
</dl>
@@ -3537,7 +3535,6 @@ client = Polytomic(
35373535
token="YOUR_TOKEN",
35383536
)
35393537
client.model_sync.list(
3540-
active=True,
35413538
target_connection_id="0b155265-c537-44c9-9359-a3ceb468a4da",
35423539
)
35433540

@@ -4520,7 +4517,6 @@ client = Polytomic(
45204517
token="YOUR_TOKEN",
45214518
)
45224519
client.events.list(
4523-
organization_id="248df4b7-aa70-47b8-a036-33ac447e668d",
45244520
starting_after=datetime.datetime.fromisoformat(
45254521
"2020-01-01 00:00:00+00:00",
45264522
),
@@ -4663,8 +4659,8 @@ client = Polytomic(
46634659
token="YOUR_TOKEN",
46644660
)
46654661
client.jobs.get(
4666-
id="248df4b7-aa70-47b8-a036-33ac447e668d",
46674662
type="createmodel",
4663+
id="248df4b7-aa70-47b8-a036-33ac447e668d",
46684664
)
46694665

46704666
```
@@ -4681,15 +4677,15 @@ client.jobs.get(
46814677
<dl>
46824678
<dd>
46834679

4684-
**id:** `str`
4680+
**type:** `str`
46854681

46864682
</dd>
46874683
</dl>
46884684

46894685
<dl>
46904686
<dd>
46914687

4692-
**type:** `str`
4688+
**id:** `str`
46934689

46944690
</dd>
46954691
</dl>
@@ -5519,8 +5515,8 @@ client = Polytomic(
55195515
token="YOUR_TOKEN",
55205516
)
55215517
client.users.get(
5522-
id="248df4b7-aa70-47b8-a036-33ac447e668d",
55235518
org_id="248df4b7-aa70-47b8-a036-33ac447e668d",
5519+
id="248df4b7-aa70-47b8-a036-33ac447e668d",
55245520
)
55255521

55265522
```
@@ -5537,15 +5533,15 @@ client.users.get(
55375533
<dl>
55385534
<dd>
55395535

5540-
**id:** `str`
5536+
**org_id:** `str`
55415537

55425538
</dd>
55435539
</dl>
55445540

55455541
<dl>
55465542
<dd>
55475543

5548-
**org_id:** `str`
5544+
**id:** `str`
55495545

55505546
</dd>
55515547
</dl>
@@ -5601,8 +5597,8 @@ client = Polytomic(
56015597
token="YOUR_TOKEN",
56025598
)
56035599
client.users.update(
5604-
id="248df4b7-aa70-47b8-a036-33ac447e668d",
56055600
org_id="248df4b7-aa70-47b8-a036-33ac447e668d",
5601+
id="248df4b7-aa70-47b8-a036-33ac447e668d",
56065602
email="mail@example.com",
56075603
)
56085604

@@ -5620,15 +5616,15 @@ client.users.update(
56205616
<dl>
56215617
<dd>
56225618

5623-
**id:** `str`
5619+
**org_id:** `str`
56245620

56255621
</dd>
56265622
</dl>
56275623

56285624
<dl>
56295625
<dd>
56305626

5631-
**org_id:** `str`
5627+
**id:** `str`
56325628

56335629
</dd>
56345630
</dl>
@@ -5700,8 +5696,8 @@ client = Polytomic(
57005696
token="YOUR_TOKEN",
57015697
)
57025698
client.users.remove(
5703-
id="248df4b7-aa70-47b8-a036-33ac447e668d",
57045699
org_id="248df4b7-aa70-47b8-a036-33ac447e668d",
5700+
id="248df4b7-aa70-47b8-a036-33ac447e668d",
57055701
)
57065702

57075703
```
@@ -5718,15 +5714,15 @@ client.users.remove(
57185714
<dl>
57195715
<dd>
57205716

5721-
**id:** `str`
5717+
**org_id:** `str`
57225718

57235719
</dd>
57245720
</dl>
57255721

57265722
<dl>
57275723
<dd>
57285724

5729-
**org_id:** `str`
5725+
**id:** `str`
57305726

57315727
</dd>
57325728
</dl>
@@ -6762,7 +6758,7 @@ client.bulk_sync.schemas.list(
67626758
<dl>
67636759
<dd>
67646760

6765-
**filters:** `typing.Optional[typing.Dict[str, typing.Optional[str]]]`
6761+
**filters:** `typing.Optional[typing.Dict[str, str]]`
67666762

67676763
</dd>
67686764
</dl>
@@ -6999,7 +6995,7 @@ client.bulk_sync.schemas.update(
69996995
<dl>
70006996
<dd>
70016997

7002-
**filters:** `typing.Optional[typing.Sequence[BulkFilter]]`
6998+
**filters:** `typing.Optional[typing.Sequence[BulkFilter2]]`
70036999

70047000
</dd>
70057001
</dl>

src/polytomic/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
BulkFetchMode,
1616
BulkField,
1717
BulkFilter,
18+
BulkFilter2,
1819
BulkItemizedSchedule,
1920
BulkMultiScheduleConfiguration,
2021
BulkNormalizeNames,
@@ -50,6 +51,7 @@
5051
CancelModelSyncResponseEnvelope,
5152
CommonOutputActor,
5253
ConfigurationValue,
54+
ConfigurationValue2,
5355
ConnectCardResponse,
5456
ConnectCardResponseEnvelope,
5557
ConnectionListResponseEnvelope,
@@ -122,6 +124,7 @@
122124
Override,
123125
Pagination,
124126
PaginationDetails,
127+
PaginationDetails2,
125128
PickValue,
126129
PolicyAction,
127130
PolicyResponse,
@@ -247,6 +250,7 @@
247250
"BulkFetchMode",
248251
"BulkField",
249252
"BulkFilter",
253+
"BulkFilter2",
250254
"BulkItemizedSchedule",
251255
"BulkMultiScheduleConfiguration",
252256
"BulkNormalizeNames",
@@ -282,6 +286,7 @@
282286
"CancelModelSyncResponseEnvelope",
283287
"CommonOutputActor",
284288
"ConfigurationValue",
289+
"ConfigurationValue2",
285290
"ConflictError",
286291
"ConnectCardResponse",
287292
"ConnectCardResponseEnvelope",
@@ -358,6 +363,7 @@
358363
"Override",
359364
"Pagination",
360365
"PaginationDetails",
366+
"PaginationDetails2",
361367
"PickValue",
362368
"PolicyAction",
363369
"PolicyResponse",

src/polytomic/bulk_sync/client.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@
1919
import datetime as dt
2020
from ..types.bulk_sync_mode import BulkSyncMode
2121
from ..types.bulk_normalize_names import BulkNormalizeNames
22-
from .types.v_2_create_bulk_sync_request_schemas_item import V2CreateBulkSyncRequestSchemasItem
22+
from .types.v2create_bulk_sync_request_schemas_item import V2CreateBulkSyncRequestSchemasItem
2323
from ..types.bulk_sync_response_envelope import BulkSyncResponseEnvelope
2424
from ..core.serialization import convert_and_respect_annotation_metadata
2525
from ..errors.bad_request_error import BadRequestError
2626
from ..errors.forbidden_error import ForbiddenError
2727
from ..errors.unprocessable_entity_error import UnprocessableEntityError
2828
from ..core.jsonable_encoder import jsonable_encoder
2929
from ..errors.not_found_error import NotFoundError
30-
from .types.v_2_update_bulk_sync_request_schemas_item import V2UpdateBulkSyncRequestSchemasItem
30+
from .types.v2update_bulk_sync_request_schemas_item import V2UpdateBulkSyncRequestSchemasItem
3131
from ..types.activate_sync_envelope import ActivateSyncEnvelope
3232
from ..types.bulk_fetch_mode import BulkFetchMode
3333
from ..types.bulk_sync_execution_envelope import BulkSyncExecutionEnvelope
@@ -75,9 +75,7 @@ def list(
7575
version="YOUR_VERSION",
7676
token="YOUR_TOKEN",
7777
)
78-
client.bulk_sync.list(
79-
active=True,
80-
)
78+
client.bulk_sync.list()
8179
"""
8280
_response = self._client_wrapper.httpx_client.request(
8381
"api/bulk/syncs",
@@ -1201,9 +1199,7 @@ async def list(
12011199
12021200
12031201
async def main() -> None:
1204-
await client.bulk_sync.list(
1205-
active=True,
1206-
)
1202+
await client.bulk_sync.list()
12071203
12081204
12091205
asyncio.run(main())

src/polytomic/bulk_sync/executions/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
from ...types.list_bulk_sync_executions_envelope import ListBulkSyncExecutionsEnvelope
1515
from ...core.jsonable_encoder import jsonable_encoder
1616
from ...types.bulk_sync_execution_envelope import BulkSyncExecutionEnvelope
17-
from ...types.v_4_bulk_sync_execution_logs_envelope import V4BulkSyncExecutionLogsEnvelope
18-
from ...types.v_4_export_sync_logs_envelope import V4ExportSyncLogsEnvelope
17+
from ...types.v4bulk_sync_execution_logs_envelope import V4BulkSyncExecutionLogsEnvelope
18+
from ...types.v4export_sync_logs_envelope import V4ExportSyncLogsEnvelope
1919
from ...errors.bad_request_error import BadRequestError
2020
from ...errors.internal_server_error import InternalServerError
2121
from ...core.client_wrapper import AsyncClientWrapper

src/polytomic/bulk_sync/schedules/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from ...errors.internal_server_error import InternalServerError
1515
from json.decoder import JSONDecodeError
1616
from ...core.api_error import ApiError as core_api_error_ApiError
17-
from ...types.v_4_bulk_sync_schedule_api import V4BulkSyncScheduleApi
17+
from ...types.v4bulk_sync_schedule_api import V4BulkSyncScheduleApi
1818
from ...types.schedule_envelope import ScheduleEnvelope
1919
from ...core.serialization import convert_and_respect_annotation_metadata
2020
from ...errors.bad_request_error import BadRequestError

src/polytomic/bulk_sync/schemas/client.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from ...types.bulk_schema_envelope import BulkSchemaEnvelope
2121
import datetime as dt
2222
from ...types.update_bulk_field import UpdateBulkField
23-
from ...types.bulk_filter import BulkFilter
23+
from ...types.bulk_filter2 import BulkFilter2
2424
from ...core.client_wrapper import AsyncClientWrapper
2525

2626
# this is used as the default value for optional parameters
@@ -35,15 +35,15 @@ def list(
3535
self,
3636
id: str,
3737
*,
38-
filters: typing.Optional[typing.Dict[str, typing.Optional[str]]] = None,
38+
filters: typing.Optional[typing.Dict[str, str]] = None,
3939
request_options: typing.Optional[RequestOptions] = None,
4040
) -> ListBulkSchema:
4141
"""
4242
Parameters
4343
----------
4444
id : str
4545
46-
filters : typing.Optional[typing.Dict[str, typing.Optional[str]]]
46+
filters : typing.Optional[typing.Dict[str, str]]
4747
4848
request_options : typing.Optional[RequestOptions]
4949
Request-specific configuration.
@@ -298,7 +298,7 @@ def update(
298298
disable_data_cutoff: typing.Optional[bool] = OMIT,
299299
enabled: typing.Optional[bool] = OMIT,
300300
fields: typing.Optional[typing.Sequence[UpdateBulkField]] = OMIT,
301-
filters: typing.Optional[typing.Sequence[BulkFilter]] = OMIT,
301+
filters: typing.Optional[typing.Sequence[BulkFilter2]] = OMIT,
302302
partition_key: typing.Optional[str] = OMIT,
303303
tracking_field: typing.Optional[str] = OMIT,
304304
user_output_name: typing.Optional[str] = OMIT,
@@ -319,7 +319,7 @@ def update(
319319
320320
fields : typing.Optional[typing.Sequence[UpdateBulkField]]
321321
322-
filters : typing.Optional[typing.Sequence[BulkFilter]]
322+
filters : typing.Optional[typing.Sequence[BulkFilter2]]
323323
324324
partition_key : typing.Optional[str]
325325
@@ -359,7 +359,7 @@ def update(
359359
object_=fields, annotation=typing.Sequence[UpdateBulkField], direction="write"
360360
),
361361
"filters": convert_and_respect_annotation_metadata(
362-
object_=filters, annotation=typing.Sequence[BulkFilter], direction="write"
362+
object_=filters, annotation=typing.Sequence[BulkFilter2], direction="write"
363363
),
364364
"partition_key": partition_key,
365365
"tracking_field": tracking_field,
@@ -434,15 +434,15 @@ async def list(
434434
self,
435435
id: str,
436436
*,
437-
filters: typing.Optional[typing.Dict[str, typing.Optional[str]]] = None,
437+
filters: typing.Optional[typing.Dict[str, str]] = None,
438438
request_options: typing.Optional[RequestOptions] = None,
439439
) -> ListBulkSchema:
440440
"""
441441
Parameters
442442
----------
443443
id : str
444444
445-
filters : typing.Optional[typing.Dict[str, typing.Optional[str]]]
445+
filters : typing.Optional[typing.Dict[str, str]]
446446
447447
request_options : typing.Optional[RequestOptions]
448448
Request-specific configuration.
@@ -721,7 +721,7 @@ async def update(
721721
disable_data_cutoff: typing.Optional[bool] = OMIT,
722722
enabled: typing.Optional[bool] = OMIT,
723723
fields: typing.Optional[typing.Sequence[UpdateBulkField]] = OMIT,
724-
filters: typing.Optional[typing.Sequence[BulkFilter]] = OMIT,
724+
filters: typing.Optional[typing.Sequence[BulkFilter2]] = OMIT,
725725
partition_key: typing.Optional[str] = OMIT,
726726
tracking_field: typing.Optional[str] = OMIT,
727727
user_output_name: typing.Optional[str] = OMIT,
@@ -742,7 +742,7 @@ async def update(
742742
743743
fields : typing.Optional[typing.Sequence[UpdateBulkField]]
744744
745-
filters : typing.Optional[typing.Sequence[BulkFilter]]
745+
filters : typing.Optional[typing.Sequence[BulkFilter2]]
746746
747747
partition_key : typing.Optional[str]
748748
@@ -790,7 +790,7 @@ async def main() -> None:
790790
object_=fields, annotation=typing.Sequence[UpdateBulkField], direction="write"
791791
),
792792
"filters": convert_and_respect_annotation_metadata(
793-
object_=filters, annotation=typing.Sequence[BulkFilter], direction="write"
793+
object_=filters, annotation=typing.Sequence[BulkFilter2], direction="write"
794794
),
795795
"partition_key": partition_key,
796796
"tracking_field": tracking_field,

0 commit comments

Comments
 (0)