Skip to content

Commit 1ee88f0

Browse files
committed
Release 0.0.121
1 parent 0fb8ee5 commit 1ee88f0

File tree

4 files changed

+20
-4
lines changed

4 files changed

+20
-4
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "axiomatic"
33

44
[tool.poetry]
55
name = "axiomatic"
6-
version = "0.0.120"
6+
version = "0.0.121"
77
description = ""
88
readme = "README.md"
99
authors = []

reference.md

+8
Original file line numberDiff line numberDiff line change
@@ -2013,6 +2013,14 @@ client.pic.circuit.validate(
20132013
<dl>
20142014
<dd>
20152015

2016+
**use_ideal_component_models:** `typing.Optional[bool]`
2017+
2018+
</dd>
2019+
</dl>
2020+
2021+
<dl>
2022+
<dd>
2023+
20162024
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
20172025

20182026
</dd>

src/axiomatic/core/client_wrapper.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def get_headers(self) -> typing.Dict[str, str]:
1616
headers: typing.Dict[str, str] = {
1717
"X-Fern-Language": "Python",
1818
"X-Fern-SDK-Name": "axiomatic",
19-
"X-Fern-SDK-Version": "0.0.120",
19+
"X-Fern-SDK-Version": "0.0.121",
2020
}
2121
headers["X-API-Key"] = self.api_key
2222
return headers

src/axiomatic/pic/circuit/client.py

+10-2
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ def validate(
186186
netlist: Netlist,
187187
statements: StatementDictionary,
188188
mapping: typing.Optional[typing.Dict[str, typing.Optional[Computation]]] = OMIT,
189+
use_ideal_component_models: typing.Optional[bool] = OMIT,
189190
request_options: typing.Optional[RequestOptions] = None,
190191
) -> ValidateNetlistResponse:
191192
"""
@@ -199,6 +200,8 @@ def validate(
199200
200201
mapping : typing.Optional[typing.Dict[str, typing.Optional[Computation]]]
201202
203+
use_ideal_component_models : typing.Optional[bool]
204+
202205
request_options : typing.Optional[RequestOptions]
203206
Request-specific configuration.
204207
@@ -232,6 +235,7 @@ def validate(
232235
"mapping": convert_and_respect_annotation_metadata(
233236
object_=mapping, annotation=typing.Dict[str, typing.Optional[Computation]], direction="write"
234237
),
238+
"use_ideal_component_models": use_ideal_component_models,
235239
},
236240
headers={
237241
"content-type": "application/json",
@@ -971,7 +975,7 @@ def get_optimizable_parameters(
971975
)
972976
"""
973977
_response = self._client_wrapper.httpx_client.request(
974-
"pic/circuit/optimizable-parameters/get",
978+
"pic/circuit/optimizable-parameters",
975979
method="POST",
976980
json={
977981
"netlist": convert_and_respect_annotation_metadata(
@@ -1177,6 +1181,7 @@ async def validate(
11771181
netlist: Netlist,
11781182
statements: StatementDictionary,
11791183
mapping: typing.Optional[typing.Dict[str, typing.Optional[Computation]]] = OMIT,
1184+
use_ideal_component_models: typing.Optional[bool] = OMIT,
11801185
request_options: typing.Optional[RequestOptions] = None,
11811186
) -> ValidateNetlistResponse:
11821187
"""
@@ -1190,6 +1195,8 @@ async def validate(
11901195
11911196
mapping : typing.Optional[typing.Dict[str, typing.Optional[Computation]]]
11921197
1198+
use_ideal_component_models : typing.Optional[bool]
1199+
11931200
request_options : typing.Optional[RequestOptions]
11941201
Request-specific configuration.
11951202
@@ -1231,6 +1238,7 @@ async def main() -> None:
12311238
"mapping": convert_and_respect_annotation_metadata(
12321239
object_=mapping, annotation=typing.Dict[str, typing.Optional[Computation]], direction="write"
12331240
),
1241+
"use_ideal_component_models": use_ideal_component_models,
12341242
},
12351243
headers={
12361244
"content-type": "application/json",
@@ -2042,7 +2050,7 @@ async def main() -> None:
20422050
asyncio.run(main())
20432051
"""
20442052
_response = await self._client_wrapper.httpx_client.request(
2045-
"pic/circuit/optimizable-parameters/get",
2053+
"pic/circuit/optimizable-parameters",
20462054
method="POST",
20472055
json={
20482056
"netlist": convert_and_respect_annotation_metadata(

0 commit comments

Comments
 (0)