Skip to content

Commit 216415b

Browse files
SDK regeneration
1 parent 15a726d commit 216415b

File tree

12 files changed

+178
-125
lines changed

12 files changed

+178
-125
lines changed

poetry.lock

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

reference.md

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1059,7 +1059,7 @@ client.info.get_history()
10591059
<dl>
10601060
<dd>
10611061

1062-
Get metadta about the api, both its versions, which releases are present, and the identity of the authenticated user.
1062+
Get metadata about the api, both its versions, which releases are present, and the identity of the authenticated user.
10631063
</dd>
10641064
</dl>
10651065
</dd>
@@ -3396,7 +3396,10 @@ The resolution endpoints allow users to search for matching entities against a p
33963396

33973397
```python
33983398
from sayari import Sayari
3399-
from sayari.project_entity import CreateResolvedProjectEntityRequest
3399+
from sayari.project_entity import (
3400+
CreateResolvedProjectEntityRequest,
3401+
ResolutionAttrSchema,
3402+
)
34003403

34013404
client = Sayari(
34023405
client_id="YOUR_CLIENT_ID",
@@ -3405,11 +3408,15 @@ client = Sayari(
34053408
client.project_entity.create_project_entity(
34063409
project_id="0n4473",
34073410
request=CreateResolvedProjectEntityRequest(
3408-
name=["Marvel Garment"],
3409-
country=["KHM"],
3410-
address=[
3411-
"Beung Thom 3 Village, Sangkat Beung Thom, Posenchey, Phnom Penh"
3412-
],
3411+
limit=25,
3412+
profile="suppliers",
3413+
attributes=ResolutionAttrSchema(
3414+
name=["Marvel Garment"],
3415+
country=["KHM"],
3416+
address=[
3417+
"Beung Thom 3 Village, Sangkat Beung Thom, Posenchey, Phnom Penh"
3418+
],
3419+
),
34133420
),
34143421
)
34153422

@@ -4069,7 +4076,7 @@ Checks if a project entity with the given attributes already exists.
40694076

40704077
```python
40714078
from sayari import Sayari
4072-
from sayari.project_entity import ResolutionAttributes
4079+
from sayari.project_entity import ResolutionAttributes, ResolutionAttrSchema
40734080

40744081
client = Sayari(
40754082
client_id="YOUR_CLIENT_ID",
@@ -4078,8 +4085,10 @@ client = Sayari(
40784085
client.project_entity.project_entity_exists(
40794086
project_id="YVB88Y",
40804087
request=ResolutionAttributes(
4081-
name=["Example Company"],
4082-
country=["USA"],
4088+
attributes=ResolutionAttrSchema(
4089+
name=["Example Company"],
4090+
country=["USA"],
4091+
),
40834092
),
40844093
)
40854094

@@ -4153,7 +4162,7 @@ Stores a project entity given entity IDs and a list of attributes.
41534162

41544163
```python
41554164
from sayari import Sayari
4156-
from sayari.project_entity import ResolutionAttributes, SaveProjectEntityBody
4165+
from sayari.project_entity import ResolutionAttrSchema, SaveProjectEntityBody
41574166

41584167
client = Sayari(
41594168
client_id="YOUR_CLIENT_ID",
@@ -4163,7 +4172,7 @@ client.project_entity.save_project_entity(
41634172
project_id="YVB88Y",
41644173
request=SaveProjectEntityBody(
41654174
entity_ids=["entity_id_1", "entity_id_2"],
4166-
attributes=ResolutionAttributes(
4175+
attributes=ResolutionAttrSchema(
41674176
name=["Example Company"],
41684177
country=["USA"],
41694178
),

src/sayari/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@
262262
ProjectRiskChangesResponse,
263263
ProjectRiskChangesResponseData,
264264
ProjectRiskFactor,
265+
ResolutionAttrSchema,
265266
ResolutionAttributes,
266267
ResolutionProfile,
267268
RiskCategoriesSummary,
@@ -717,6 +718,7 @@
717718
"RelationshipInfo",
718719
"Relationships",
719720
"ReportingPeriodType",
721+
"ResolutionAttrSchema",
720722
"ResolutionAttributes",
721723
"ResolutionBody",
722724
"ResolutionPersistedResponse",

src/sayari/metadata/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def __init__(self, *, client_wrapper: SyncClientWrapper):
2424

2525
def metadata(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetadataResponse:
2626
"""
27-
Get metadta about the api, both its versions, which releases are present, and the identity of the authenticated user.
27+
Get metadata about the api, both its versions, which releases are present, and the identity of the authenticated user.
2828
2929
Parameters
3030
----------
@@ -112,7 +112,7 @@ def __init__(self, *, client_wrapper: AsyncClientWrapper):
112112

113113
async def metadata(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetadataResponse:
114114
"""
115-
Get metadta about the api, both its versions, which releases are present, and the identity of the authenticated user.
115+
Get metadata about the api, both its versions, which releases are present, and the identity of the authenticated user.
116116
117117
Parameters
118118
----------

src/sayari/project_entity/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
ProjectRiskChangesResponse,
4646
ProjectRiskChangesResponseData,
4747
ProjectRiskFactor,
48+
ResolutionAttrSchema,
4849
ResolutionAttributes,
4950
ResolutionProfile,
5051
RiskCategoriesSummary,
@@ -115,6 +116,7 @@
115116
"ProjectRiskChangesResponse",
116117
"ProjectRiskChangesResponseData",
117118
"ProjectRiskFactor",
119+
"ResolutionAttrSchema",
118120
"ResolutionAttributes",
119121
"ResolutionProfile",
120122
"RiskCategoriesSummary",

0 commit comments

Comments
 (0)