From d4a33ce98b5adc5ab111b57d757665b432e0362c Mon Sep 17 00:00:00 2001 From: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Date: Fri, 15 Nov 2024 16:28:47 +0000 Subject: [PATCH] SDK regeneration --- poetry.lock | 12 ++++++------ pyproject.toml | 2 +- reference.md | 6 +++--- src/sayari/core/client_wrapper.py | 2 +- src/sayari/entity/client.py | 8 ++++---- src/sayari/resolution/client.py | 4 ++-- src/sayari/resolution/types/resolution_body.py | 2 +- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/poetry.lock b/poetry.lock index a854d49..f7b51af 100644 --- a/poetry.lock +++ b/poetry.lock @@ -85,13 +85,13 @@ files = [ [[package]] name = "httpcore" -version = "1.0.6" +version = "1.0.7" description = "A minimal low-level HTTP client." optional = false python-versions = ">=3.8" files = [ - {file = "httpcore-1.0.6-py3-none-any.whl", hash = "sha256:27b59625743b85577a8c0e10e55b50b5368a4f2cfe8cc7bcfa9cf00829c2682f"}, - {file = "httpcore-1.0.6.tar.gz", hash = "sha256:73f6dbd6eb8c21bbf7ef8efad555481853f5f6acdeaff1edb0694289269ee17f"}, + {file = "httpcore-1.0.7-py3-none-any.whl", hash = "sha256:a3fff8f43dc260d5bd363d9f9cf1830fa3a458b332856f34282de498ed420edd"}, + {file = "httpcore-1.0.7.tar.gz", hash = "sha256:8551cb62a169ec7162ac7be8d4817d561f60e08eaa485234898414bb5a8a0b4c"}, ] [package.dependencies] @@ -466,13 +466,13 @@ files = [ [[package]] name = "tomli" -version = "2.0.2" +version = "2.1.0" description = "A lil' TOML parser" optional = false python-versions = ">=3.8" files = [ - {file = "tomli-2.0.2-py3-none-any.whl", hash = "sha256:2ebe24485c53d303f690b0ec092806a085f07af5a5aa1464f3931eec36caaa38"}, - {file = "tomli-2.0.2.tar.gz", hash = "sha256:d46d457a85337051c36524bc5349dd91b1877838e2979ac5ced3e710ed8a60ed"}, + {file = "tomli-2.1.0-py3-none-any.whl", hash = "sha256:a5c57c3d1c56f5ccdf89f6523458f60ef716e210fc47c4cfb188c5ba473e0391"}, + {file = "tomli-2.1.0.tar.gz", hash = "sha256:3f646cae2aec94e17d04973e4249548320197cfabdf130015d023de4b74d8ab8"}, ] [[package]] diff --git a/pyproject.toml b/pyproject.toml index c707123..518ecd2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "sayari" -version = "0.1.23" +version = "0.1.24" description = "A Python SDK for Sayari" readme = "README.md" authors = [ diff --git a/reference.md b/reference.md index 0e6be61..32a36c4 100644 --- a/reference.md +++ b/reference.md @@ -342,7 +342,7 @@ client.auth.get_token(
-Retrieve an entity from the database based on the ID +To retrieve a L1 Due Dilligence PDF Report. Include 'Accept: application/pdf' in request headers. Retrieve an entity profile from the database based on the entity ID. This endpoint returns the full profile, entity_summary returns the same payload minus relationships.
@@ -808,7 +808,7 @@ client.entity.get_entity(
-The Entity Summary endpoint returns a smaller entity payload +The Entity Summary endpoint returns a similar payload, minus relationships.
@@ -2224,7 +2224,7 @@ client.resolution.resolution(
-**search_fallback:** `typing.Optional[bool]` — Enables a name search fallback when either the corporate or supplier profiles fails to find a match. When invoked, the fallback will make a call similar to /search/entity on name only. By default set to true. +**search_fallback:** `typing.Optional[bool]` — Enables a name search fallback when either the corporate or supplier profiles fails to find a match. When invoked, the fallback will make a call similar to /search/entity on name only. By default set to false.
diff --git a/src/sayari/core/client_wrapper.py b/src/sayari/core/client_wrapper.py index d272ad8..c00e6c7 100644 --- a/src/sayari/core/client_wrapper.py +++ b/src/sayari/core/client_wrapper.py @@ -22,7 +22,7 @@ def get_headers(self) -> typing.Dict[str, str]: headers: typing.Dict[str, str] = { "X-Fern-Language": "Python", "X-Fern-SDK-Name": "sayari", - "X-Fern-SDK-Version": "0.1.23", + "X-Fern-SDK-Version": "0.1.24", } token = self._get_token() if token is not None: diff --git a/src/sayari/entity/client.py b/src/sayari/entity/client.py index 0946a56..6e6ef54 100644 --- a/src/sayari/entity/client.py +++ b/src/sayari/entity/client.py @@ -87,7 +87,7 @@ def get_entity( request_options: typing.Optional[RequestOptions] = None, ) -> GetEntityResponse: """ - Retrieve an entity from the database based on the ID + To retrieve a L1 Due Dilligence PDF Report. Include 'Accept: application/pdf' in request headers. Retrieve an entity profile from the database based on the entity ID. This endpoint returns the full profile, entity_summary returns the same payload minus relationships. Parameters ---------- @@ -403,7 +403,7 @@ def entity_summary( self, id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> EntitySummaryResponse: """ - The Entity Summary endpoint returns a smaller entity payload + The Entity Summary endpoint returns a similar payload, minus relationships. Parameters ---------- @@ -568,7 +568,7 @@ async def get_entity( request_options: typing.Optional[RequestOptions] = None, ) -> GetEntityResponse: """ - Retrieve an entity from the database based on the ID + To retrieve a L1 Due Dilligence PDF Report. Include 'Accept: application/pdf' in request headers. Retrieve an entity profile from the database based on the entity ID. This endpoint returns the full profile, entity_summary returns the same payload minus relationships. Parameters ---------- @@ -892,7 +892,7 @@ async def entity_summary( self, id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> EntitySummaryResponse: """ - The Entity Summary endpoint returns a smaller entity payload + The Entity Summary endpoint returns a similar payload, minus relationships. Parameters ---------- diff --git a/src/sayari/resolution/client.py b/src/sayari/resolution/client.py index 641fc95..3cdb636 100644 --- a/src/sayari/resolution/client.py +++ b/src/sayari/resolution/client.py @@ -109,7 +109,7 @@ def resolution( Specifies the minimum score required to pass, which controls the strictness of the matching threshold. The default value is 77, and tuned for general use-case accuracy. Increase the value for stricter matching, reduce to loosen. search_fallback : typing.Optional[bool] - Enables a name search fallback when either the corporate or supplier profiles fails to find a match. When invoked, the fallback will make a call similar to /search/entity on name only. By default set to true. + Enables a name search fallback when either the corporate or supplier profiles fails to find a match. When invoked, the fallback will make a call similar to /search/entity on name only. By default set to false. cutoff_threshold : typing.Optional[int] Specifies the window of similar results returned in the match group. Increase for fewer multiple matches, decrease to open the aperture and allow for more matches. Default is .8 @@ -447,7 +447,7 @@ async def resolution( Specifies the minimum score required to pass, which controls the strictness of the matching threshold. The default value is 77, and tuned for general use-case accuracy. Increase the value for stricter matching, reduce to loosen. search_fallback : typing.Optional[bool] - Enables a name search fallback when either the corporate or supplier profiles fails to find a match. When invoked, the fallback will make a call similar to /search/entity on name only. By default set to true. + Enables a name search fallback when either the corporate or supplier profiles fails to find a match. When invoked, the fallback will make a call similar to /search/entity on name only. By default set to false. cutoff_threshold : typing.Optional[int] Specifies the window of similar results returned in the match group. Increase for fewer multiple matches, decrease to open the aperture and allow for more matches. Default is .8 diff --git a/src/sayari/resolution/types/resolution_body.py b/src/sayari/resolution/types/resolution_body.py index 98fd87d..23fee81 100644 --- a/src/sayari/resolution/types/resolution_body.py +++ b/src/sayari/resolution/types/resolution_body.py @@ -78,7 +78,7 @@ class ResolutionBody(UniversalBaseModel): search_fallback: typing.Optional[bool] = pydantic.Field(default=None) """ - Enables a name search fallback when either the corporate or supplier profiles fails to find a match. When invoked, the fallback will make a call similar to /search/entity on name only. By default set to true. + Enables a name search fallback when either the corporate or supplier profiles fails to find a match. When invoked, the fallback will make a call similar to /search/entity on name only. By default set to false. """ cutoff_threshold: typing.Optional[int] = pydantic.Field(default=None)