Skip to content

Commit 64042fc

Browse files
Release 1.6.0
1 parent 29e733f commit 64042fc

Some content is hidden

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

45 files changed

+7055
-3627
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,8 @@ jobs:
3232
curl -sSL https://install.python-poetry.org | python - -y --version 1.5.1
3333
- name: Install dependencies
3434
run: poetry install
35-
3635
- name: Test
37-
run: poetry run pytest ./tests/custom/
36+
run: poetry run pytest .
3837

3938
publish:
4039
needs: [compile, test]

README.md

Lines changed: 0 additions & 66 deletions
This file was deleted.

poetry.lock

Lines changed: 33 additions & 43 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,24 @@
11
[tool.poetry]
22
name = "polytomic"
3-
version = "1.5.0"
3+
version = "1.6.0"
44
description = ""
55
readme = "README.md"
66
authors = []
7-
keywords = []
8-
license = "MIT"
9-
classifiers = [
10-
"Intended Audience :: Developers",
11-
"Programming Language :: Python",
12-
"Programming Language :: Python :: 3",
13-
"Programming Language :: Python :: 3.8",
14-
"Programming Language :: Python :: 3.9",
15-
"Programming Language :: Python :: 3.10",
16-
"Programming Language :: Python :: 3.11",
17-
"Programming Language :: Python :: 3.12",
18-
"Operating System :: OS Independent",
19-
"Operating System :: POSIX",
20-
"Operating System :: MacOS",
21-
"Operating System :: POSIX :: Linux",
22-
"Operating System :: Microsoft :: Windows",
23-
"Topic :: Software Development :: Libraries :: Python Modules",
24-
"Typing :: Typed",
25-
"License :: OSI Approved :: MIT License"
26-
]
277
packages = [
288
{ include = "polytomic", from = "src"}
299
]
3010

31-
[project.urls]
32-
Repository = 'https://github.com/polytomic/polytomic-python'
33-
3411
[tool.poetry.dependencies]
3512
python = "^3.8"
3613
httpx = ">=0.21.2"
3714
pydantic = ">= 1.9.2"
3815
typing_extensions = ">= 4.0.0"
3916

4017
[tool.poetry.dev-dependencies]
41-
mypy = "1.0.1"
18+
mypy = "1.9.0"
4219
pytest = "^7.4.0"
4320
pytest-asyncio = "^0.23.5"
4421
python-dateutil = "^2.9.0"
45-
types-python-dateutil = "^2.9.0.20240316"
4622

4723
[tool.pytest.ini_options]
4824
testpaths = [ "tests" ]

src/polytomic/__init__.py

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
BulkFilter,
1414
BulkItemizedSchedule,
1515
BulkMultiScheduleConfiguration,
16-
BulkMultiScheduleType,
1716
BulkSchedule,
1817
BulkSchema,
1918
BulkSchemaEnvelope,
@@ -59,6 +58,7 @@
5958
ExecutionLogResponse,
6059
ExecutionLogsResponseEnvelope,
6160
ExecutionStatus,
61+
FieldConfiguration,
6262
Filter,
6363
FilterFieldReferenceType,
6464
FilterFunction,
@@ -99,6 +99,7 @@
9999
OrganizationEnvelope,
100100
OrganizationsEnvelope,
101101
Override,
102+
Pagination,
102103
PickValue,
103104
PolicyAction,
104105
PolicyResponse,
@@ -117,6 +118,7 @@
117118
ScheduleScheduleOption,
118119
Schema,
119120
SchemaAssociation,
121+
SchemaConfiguration,
120122
SchemaField,
121123
SchemaIdentityFunction,
122124
SchemaRecordsResponseEnvelope,
@@ -138,6 +140,10 @@
138140
V2EnricherMapping,
139141
V2GetEnrichmentInputFieldsResponseEnvelope,
140142
V2SampleRecord,
143+
V2SchemaConfigurationFieldsItem,
144+
V4QueryResultsEnvelope,
145+
V4RunQueryEnvelope,
146+
V4RunQueryResult,
141147
Webhook,
142148
WebhookEnvelope,
143149
WebhookListEnvelope,
@@ -161,18 +167,12 @@
161167
models,
162168
organization,
163169
permissions,
170+
query_runner,
164171
schemas,
165172
users,
166173
webhooks,
167174
)
168-
from .bulk_sync import (
169-
FieldConfiguration,
170-
SchemaConfiguration,
171-
V2CreateBulkSyncRequestSchemasItem,
172-
V2CreateBulkSyncRequestSchemasItemEnabledFieldsItem,
173-
V2UpdateBulkSyncRequestSchemasItem,
174-
V2UpdateBulkSyncRequestSchemasItemEnabledFieldsItem,
175-
)
175+
from .bulk_sync import V2CreateBulkSyncRequestSchemasItem, V2UpdateBulkSyncRequestSchemasItem
176176
from .environment import PolytomicEnvironment
177177
from .version import __version__
178178

@@ -190,7 +190,6 @@
190190
"BulkFilter",
191191
"BulkItemizedSchedule",
192192
"BulkMultiScheduleConfiguration",
193-
"BulkMultiScheduleType",
194193
"BulkSchedule",
195194
"BulkSchema",
196195
"BulkSchemaEnvelope",
@@ -280,6 +279,7 @@
280279
"OrganizationEnvelope",
281280
"OrganizationsEnvelope",
282281
"Override",
282+
"Pagination",
283283
"PickValue",
284284
"PolicyAction",
285285
"PolicyResponse",
@@ -320,13 +320,15 @@
320320
"User",
321321
"UserEnvelope",
322322
"V2CreateBulkSyncRequestSchemasItem",
323-
"V2CreateBulkSyncRequestSchemasItemEnabledFieldsItem",
324323
"V2EnricherConfiguration",
325324
"V2EnricherMapping",
326325
"V2GetEnrichmentInputFieldsResponseEnvelope",
327326
"V2SampleRecord",
327+
"V2SchemaConfigurationFieldsItem",
328328
"V2UpdateBulkSyncRequestSchemasItem",
329-
"V2UpdateBulkSyncRequestSchemasItemEnabledFieldsItem",
329+
"V4QueryResultsEnvelope",
330+
"V4RunQueryEnvelope",
331+
"V4RunQueryResult",
330332
"Webhook",
331333
"WebhookEnvelope",
332334
"WebhookListEnvelope",
@@ -341,6 +343,7 @@
341343
"models",
342344
"organization",
343345
"permissions",
346+
"query_runner",
344347
"schemas",
345348
"users",
346349
"webhooks",
Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,6 @@
11
# This file was auto-generated by Fern from our API Definition.
22

3-
from .types import (
4-
FieldConfiguration,
5-
SchemaConfiguration,
6-
V2CreateBulkSyncRequestSchemasItem,
7-
V2CreateBulkSyncRequestSchemasItemEnabledFieldsItem,
8-
V2UpdateBulkSyncRequestSchemasItem,
9-
V2UpdateBulkSyncRequestSchemasItemEnabledFieldsItem,
10-
)
3+
from .types import V2CreateBulkSyncRequestSchemasItem, V2UpdateBulkSyncRequestSchemasItem
114
from . import executions, schemas
125

13-
__all__ = [
14-
"FieldConfiguration",
15-
"SchemaConfiguration",
16-
"V2CreateBulkSyncRequestSchemasItem",
17-
"V2CreateBulkSyncRequestSchemasItemEnabledFieldsItem",
18-
"V2UpdateBulkSyncRequestSchemasItem",
19-
"V2UpdateBulkSyncRequestSchemasItemEnabledFieldsItem",
20-
"executions",
21-
"schemas",
22-
]
6+
__all__ = ["V2CreateBulkSyncRequestSchemasItem", "V2UpdateBulkSyncRequestSchemasItem", "executions", "schemas"]

0 commit comments

Comments
 (0)