Skip to content

Commit

Permalink
Release 1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
polytomic-sdk-bot committed Jun 28, 2024
1 parent 29e733f commit 64042fc
Show file tree
Hide file tree
Showing 45 changed files with 7,055 additions and 3,627 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,8 @@ jobs:
curl -sSL https://install.python-poetry.org | python - -y --version 1.5.1
- name: Install dependencies
run: poetry install

- name: Test
run: poetry run pytest ./tests/custom/
run: poetry run pytest .

publish:
needs: [compile, test]
Expand Down
66 changes: 0 additions & 66 deletions README.md

This file was deleted.

76 changes: 33 additions & 43 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 2 additions & 26 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,48 +1,24 @@
[tool.poetry]
name = "polytomic"
version = "1.5.0"
version = "1.6.0"
description = ""
readme = "README.md"
authors = []
keywords = []
license = "MIT"
classifiers = [
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
"Operating System :: POSIX",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
"License :: OSI Approved :: MIT License"
]
packages = [
{ include = "polytomic", from = "src"}
]

[project.urls]
Repository = 'https://github.com/polytomic/polytomic-python'

[tool.poetry.dependencies]
python = "^3.8"
httpx = ">=0.21.2"
pydantic = ">= 1.9.2"
typing_extensions = ">= 4.0.0"

[tool.poetry.dev-dependencies]
mypy = "1.0.1"
mypy = "1.9.0"
pytest = "^7.4.0"
pytest-asyncio = "^0.23.5"
python-dateutil = "^2.9.0"
types-python-dateutil = "^2.9.0.20240316"

[tool.pytest.ini_options]
testpaths = [ "tests" ]
Expand Down
27 changes: 15 additions & 12 deletions src/polytomic/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
BulkFilter,
BulkItemizedSchedule,
BulkMultiScheduleConfiguration,
BulkMultiScheduleType,
BulkSchedule,
BulkSchema,
BulkSchemaEnvelope,
Expand Down Expand Up @@ -59,6 +58,7 @@
ExecutionLogResponse,
ExecutionLogsResponseEnvelope,
ExecutionStatus,
FieldConfiguration,
Filter,
FilterFieldReferenceType,
FilterFunction,
Expand Down Expand Up @@ -99,6 +99,7 @@
OrganizationEnvelope,
OrganizationsEnvelope,
Override,
Pagination,
PickValue,
PolicyAction,
PolicyResponse,
Expand All @@ -117,6 +118,7 @@
ScheduleScheduleOption,
Schema,
SchemaAssociation,
SchemaConfiguration,
SchemaField,
SchemaIdentityFunction,
SchemaRecordsResponseEnvelope,
Expand All @@ -138,6 +140,10 @@
V2EnricherMapping,
V2GetEnrichmentInputFieldsResponseEnvelope,
V2SampleRecord,
V2SchemaConfigurationFieldsItem,
V4QueryResultsEnvelope,
V4RunQueryEnvelope,
V4RunQueryResult,
Webhook,
WebhookEnvelope,
WebhookListEnvelope,
Expand All @@ -161,18 +167,12 @@
models,
organization,
permissions,
query_runner,
schemas,
users,
webhooks,
)
from .bulk_sync import (
FieldConfiguration,
SchemaConfiguration,
V2CreateBulkSyncRequestSchemasItem,
V2CreateBulkSyncRequestSchemasItemEnabledFieldsItem,
V2UpdateBulkSyncRequestSchemasItem,
V2UpdateBulkSyncRequestSchemasItemEnabledFieldsItem,
)
from .bulk_sync import V2CreateBulkSyncRequestSchemasItem, V2UpdateBulkSyncRequestSchemasItem
from .environment import PolytomicEnvironment
from .version import __version__

Expand All @@ -190,7 +190,6 @@
"BulkFilter",
"BulkItemizedSchedule",
"BulkMultiScheduleConfiguration",
"BulkMultiScheduleType",
"BulkSchedule",
"BulkSchema",
"BulkSchemaEnvelope",
Expand Down Expand Up @@ -280,6 +279,7 @@
"OrganizationEnvelope",
"OrganizationsEnvelope",
"Override",
"Pagination",
"PickValue",
"PolicyAction",
"PolicyResponse",
Expand Down Expand Up @@ -320,13 +320,15 @@
"User",
"UserEnvelope",
"V2CreateBulkSyncRequestSchemasItem",
"V2CreateBulkSyncRequestSchemasItemEnabledFieldsItem",
"V2EnricherConfiguration",
"V2EnricherMapping",
"V2GetEnrichmentInputFieldsResponseEnvelope",
"V2SampleRecord",
"V2SchemaConfigurationFieldsItem",
"V2UpdateBulkSyncRequestSchemasItem",
"V2UpdateBulkSyncRequestSchemasItemEnabledFieldsItem",
"V4QueryResultsEnvelope",
"V4RunQueryEnvelope",
"V4RunQueryResult",
"Webhook",
"WebhookEnvelope",
"WebhookListEnvelope",
Expand All @@ -341,6 +343,7 @@
"models",
"organization",
"permissions",
"query_runner",
"schemas",
"users",
"webhooks",
Expand Down
20 changes: 2 additions & 18 deletions src/polytomic/bulk_sync/__init__.py
Original file line number Diff line number Diff line change
@@ -1,22 +1,6 @@
# This file was auto-generated by Fern from our API Definition.

from .types import (
FieldConfiguration,
SchemaConfiguration,
V2CreateBulkSyncRequestSchemasItem,
V2CreateBulkSyncRequestSchemasItemEnabledFieldsItem,
V2UpdateBulkSyncRequestSchemasItem,
V2UpdateBulkSyncRequestSchemasItemEnabledFieldsItem,
)
from .types import V2CreateBulkSyncRequestSchemasItem, V2UpdateBulkSyncRequestSchemasItem
from . import executions, schemas

__all__ = [
"FieldConfiguration",
"SchemaConfiguration",
"V2CreateBulkSyncRequestSchemasItem",
"V2CreateBulkSyncRequestSchemasItemEnabledFieldsItem",
"V2UpdateBulkSyncRequestSchemasItem",
"V2UpdateBulkSyncRequestSchemasItemEnabledFieldsItem",
"executions",
"schemas",
]
__all__ = ["V2CreateBulkSyncRequestSchemasItem", "V2UpdateBulkSyncRequestSchemasItem", "executions", "schemas"]
Loading

0 comments on commit 64042fc

Please sign in to comment.