From b54a98c7c28e7a3066fe9eaa3e18377808b1ff4c Mon Sep 17 00:00:00 2001 From: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Date: Mon, 10 Jun 2024 02:15:25 +0000 Subject: [PATCH] SDK regeneration --- poetry.lock | 8 ++++---- pyproject.toml | 2 +- src/schematic/__init__.py | 4 +++- src/schematic/core/client_wrapper.py | 2 +- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/poetry.lock b/poetry.lock index a17fa50..2bbd0c2 100644 --- a/poetry.lock +++ b/poetry.lock @@ -210,13 +210,13 @@ files = [ [[package]] name = "packaging" -version = "24.0" +version = "24.1" description = "Core utilities for Python packages" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "packaging-24.0-py3-none-any.whl", hash = "sha256:2ddfb553fdf02fb784c234c7ba6ccc288296ceabec964ad2eae3777778130bc5"}, - {file = "packaging-24.0.tar.gz", hash = "sha256:eb82c5e3e56209074766e6885bb04b8c38a0c015d0a30036ebe7ece34c9989e9"}, + {file = "packaging-24.1-py3-none-any.whl", hash = "sha256:5b8f2217dbdbd2f7f384c41c628544e6d52f2d0f53c6d0c3ea61aa5d1d7ff124"}, + {file = "packaging-24.1.tar.gz", hash = "sha256:026ed72c8ed3fcce5bf8950572258698927fd1dbda10a5e981cdf0ac37f4f002"}, ] [[package]] diff --git a/pyproject.toml b/pyproject.toml index fb92c44..a1d1700 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "schematichq" -version = "1.0.1" +version = "1.0.2" description = "" readme = "README.md" authors = [] diff --git a/src/schematic/__init__.py b/src/schematic/__init__.py index 0b67bef..9cafb84 100644 --- a/src/schematic/__init__.py +++ b/src/schematic/__init__.py @@ -126,7 +126,7 @@ UpsertBillingProductResponse, UpsertBillingSubscriptionResponse, ) -from .client import AsyncSchematic, LocalCache, Schematic +from .client import AsyncSchematic, AsyncSchematicConfig, LocalCache, Schematic, SchematicConfig from .companies import ( CountCompaniesParams, CountCompaniesResponse, @@ -304,6 +304,7 @@ "ApiKeyRequestResponseData", "ApiKeyResponseData", "AsyncSchematic", + "AsyncSchematicConfig", "AudienceRequestBody", "BadRequestError", "BillingProductResponseData", @@ -540,6 +541,7 @@ "RuleResponseData", "RulesDetailResponseData", "Schematic", + "SchematicConfig", "SchematicEnvironment", "SegmentStatusResp", "UnauthorizedError", diff --git a/src/schematic/core/client_wrapper.py b/src/schematic/core/client_wrapper.py index 12788fc..727624e 100644 --- a/src/schematic/core/client_wrapper.py +++ b/src/schematic/core/client_wrapper.py @@ -17,7 +17,7 @@ def get_headers(self) -> typing.Dict[str, str]: headers: typing.Dict[str, str] = { "X-Fern-Language": "Python", "X-Fern-SDK-Name": "schematichq", - "X-Fern-SDK-Version": "1.0.1", + "X-Fern-SDK-Version": "1.0.2", } headers["X-Schematic-Api-Key"] = self.api_key return headers