Skip to content

Commit

Permalink
SDK regeneration
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Nov 15, 2024
1 parent ee20a01 commit d4a33ce
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 18 deletions.
12 changes: 6 additions & 6 deletions poetry.lock

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

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 = [
Expand Down
6 changes: 3 additions & 3 deletions reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ client.auth.get_token(
<dl>
<dd>

Retrieve an entity from the database based on the ID
<Note>To retrieve a L1 Due Dilligence PDF Report. Include 'Accept: application/pdf' in request headers.</Note> 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.
</dd>
</dl>
</dd>
Expand Down Expand Up @@ -808,7 +808,7 @@ client.entity.get_entity(
<dl>
<dd>

The Entity Summary endpoint returns a smaller entity payload
The Entity Summary endpoint returns a similar payload, minus relationships.
</dd>
</dl>
</dd>
Expand Down Expand Up @@ -2224,7 +2224,7 @@ client.resolution.resolution(
<dl>
<dd>

**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.

</dd>
</dl>
Expand Down
2 changes: 1 addition & 1 deletion src/sayari/core/client_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 4 additions & 4 deletions src/sayari/entity/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def get_entity(
request_options: typing.Optional[RequestOptions] = None,
) -> GetEntityResponse:
"""
Retrieve an entity from the database based on the ID
<Note>To retrieve a L1 Due Dilligence PDF Report. Include 'Accept: application/pdf' in request headers.</Note> 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
----------
Expand Down Expand Up @@ -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
----------
Expand Down Expand Up @@ -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
<Note>To retrieve a L1 Due Dilligence PDF Report. Include 'Accept: application/pdf' in request headers.</Note> 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
----------
Expand Down Expand Up @@ -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
----------
Expand Down
4 changes: 2 additions & 2 deletions src/sayari/resolution/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/sayari/resolution/types/resolution_body.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d4a33ce

Please sign in to comment.