Skip to content

Commit 43f00ad

Browse files
committed
Release 0.0.91
1 parent ef9154a commit 43f00ad

File tree

4 files changed

+58
-4
lines changed

4 files changed

+58
-4
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
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.90"
6+
version = "0.0.91"
77
description = ""
88
readme = "README.md"
99
authors = []

reference.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2476,6 +2476,14 @@ client.pic.circuit.optimize(
24762476
<dl>
24772477
<dd>
24782478

2479+
**use_ideal_component_models:** `typing.Optional[bool]`
2480+
2481+
</dd>
2482+
</dl>
2483+
2484+
<dl>
2485+
<dd>
2486+
24792487
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
24802488

24812489
</dd>
@@ -2730,6 +2738,14 @@ client.pic.circuit.get_sax_spectrum(
27302738
<dl>
27312739
<dd>
27322740

2741+
**use_ideal_component_models:** `typing.Optional[bool]`
2742+
2743+
</dd>
2744+
</dl>
2745+
2746+
<dl>
2747+
<dd>
2748+
27332749
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
27342750

27352751
</dd>
@@ -2800,6 +2816,14 @@ client.pic.circuit.get_optimizable_parameters(
28002816
<dl>
28012817
<dd>
28022818

2819+
**get_key_parameters:** `typing.Optional[bool]`
2820+
2821+
</dd>
2822+
</dl>
2823+
2824+
<dl>
2825+
<dd>
2826+
28032827
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
28042828

28052829
</dd>

src/axiomatic/core/client_wrapper.py

Lines changed: 1 addition & 1 deletion
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.90",
19+
"X-Fern-SDK-Version": "0.0.91",
2020
}
2121
headers["X-API-Key"] = self.api_key
2222
return headers

src/axiomatic/pic/circuit/client.py

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,7 @@ def optimize(
590590
parameters: typing.Sequence[Parameter],
591591
mapping: typing.Optional[typing.Dict[str, typing.Optional[Computation]]] = OMIT,
592592
config: typing.Optional[OptimizeConfig] = OMIT,
593+
use_ideal_component_models: typing.Optional[bool] = OMIT,
593594
request_options: typing.Optional[RequestOptions] = None,
594595
) -> OptimizeNetlistResponse:
595596
"""
@@ -607,6 +608,8 @@ def optimize(
607608
608609
config : typing.Optional[OptimizeConfig]
609610
611+
use_ideal_component_models : typing.Optional[bool]
612+
610613
request_options : typing.Optional[RequestOptions]
611614
Request-specific configuration.
612615
@@ -651,6 +654,7 @@ def optimize(
651654
"config": convert_and_respect_annotation_metadata(
652655
object_=config, annotation=OptimizeConfig, direction="write"
653656
),
657+
"use_ideal_component_models": use_ideal_component_models,
654658
},
655659
headers={
656660
"content-type": "application/json",
@@ -827,6 +831,7 @@ def get_sax_spectrum(
827831
port_out: str,
828832
settings: Settings,
829833
wls: typing.Sequence[float],
834+
use_ideal_component_models: typing.Optional[bool] = OMIT,
830835
request_options: typing.Optional[RequestOptions] = None,
831836
) -> GetSpectrumResponse:
832837
"""
@@ -844,6 +849,8 @@ def get_sax_spectrum(
844849
845850
wls : typing.Sequence[float]
846851
852+
use_ideal_component_models : typing.Optional[bool]
853+
847854
request_options : typing.Optional[RequestOptions]
848855
Request-specific configuration.
849856
@@ -880,6 +887,7 @@ def get_sax_spectrum(
880887
object_=settings, annotation=Settings, direction="write"
881888
),
882889
"wls": wls,
890+
"use_ideal_component_models": use_ideal_component_models,
883891
},
884892
headers={
885893
"content-type": "application/json",
@@ -912,7 +920,11 @@ def get_sax_spectrum(
912920
raise ApiError(status_code=_response.status_code, body=_response_json)
913921

914922
def get_optimizable_parameters(
915-
self, *, netlist: Netlist, request_options: typing.Optional[RequestOptions] = None
923+
self,
924+
*,
925+
netlist: Netlist,
926+
get_key_parameters: typing.Optional[bool] = OMIT,
927+
request_options: typing.Optional[RequestOptions] = None,
916928
) -> GetOptimizableParametersResponse:
917929
"""
918930
Gets the optimizable parameters of a circuit.
@@ -921,6 +933,8 @@ def get_optimizable_parameters(
921933
----------
922934
netlist : Netlist
923935
936+
get_key_parameters : typing.Optional[bool]
937+
924938
request_options : typing.Optional[RequestOptions]
925939
Request-specific configuration.
926940
@@ -947,6 +961,7 @@ def get_optimizable_parameters(
947961
"netlist": convert_and_respect_annotation_metadata(
948962
object_=netlist, annotation=Netlist, direction="write"
949963
),
964+
"get_key_parameters": get_key_parameters,
950965
},
951966
headers={
952967
"content-type": "application/json",
@@ -1590,6 +1605,7 @@ async def optimize(
15901605
parameters: typing.Sequence[Parameter],
15911606
mapping: typing.Optional[typing.Dict[str, typing.Optional[Computation]]] = OMIT,
15921607
config: typing.Optional[OptimizeConfig] = OMIT,
1608+
use_ideal_component_models: typing.Optional[bool] = OMIT,
15931609
request_options: typing.Optional[RequestOptions] = None,
15941610
) -> OptimizeNetlistResponse:
15951611
"""
@@ -1607,6 +1623,8 @@ async def optimize(
16071623
16081624
config : typing.Optional[OptimizeConfig]
16091625
1626+
use_ideal_component_models : typing.Optional[bool]
1627+
16101628
request_options : typing.Optional[RequestOptions]
16111629
Request-specific configuration.
16121630
@@ -1659,6 +1677,7 @@ async def main() -> None:
16591677
"config": convert_and_respect_annotation_metadata(
16601678
object_=config, annotation=OptimizeConfig, direction="write"
16611679
),
1680+
"use_ideal_component_models": use_ideal_component_models,
16621681
},
16631682
headers={
16641683
"content-type": "application/json",
@@ -1851,6 +1870,7 @@ async def get_sax_spectrum(
18511870
port_out: str,
18521871
settings: Settings,
18531872
wls: typing.Sequence[float],
1873+
use_ideal_component_models: typing.Optional[bool] = OMIT,
18541874
request_options: typing.Optional[RequestOptions] = None,
18551875
) -> GetSpectrumResponse:
18561876
"""
@@ -1868,6 +1888,8 @@ async def get_sax_spectrum(
18681888
18691889
wls : typing.Sequence[float]
18701890
1891+
use_ideal_component_models : typing.Optional[bool]
1892+
18711893
request_options : typing.Optional[RequestOptions]
18721894
Request-specific configuration.
18731895
@@ -1912,6 +1934,7 @@ async def main() -> None:
19121934
object_=settings, annotation=Settings, direction="write"
19131935
),
19141936
"wls": wls,
1937+
"use_ideal_component_models": use_ideal_component_models,
19151938
},
19161939
headers={
19171940
"content-type": "application/json",
@@ -1944,7 +1967,11 @@ async def main() -> None:
19441967
raise ApiError(status_code=_response.status_code, body=_response_json)
19451968

19461969
async def get_optimizable_parameters(
1947-
self, *, netlist: Netlist, request_options: typing.Optional[RequestOptions] = None
1970+
self,
1971+
*,
1972+
netlist: Netlist,
1973+
get_key_parameters: typing.Optional[bool] = OMIT,
1974+
request_options: typing.Optional[RequestOptions] = None,
19481975
) -> GetOptimizableParametersResponse:
19491976
"""
19501977
Gets the optimizable parameters of a circuit.
@@ -1953,6 +1980,8 @@ async def get_optimizable_parameters(
19531980
----------
19541981
netlist : Netlist
19551982
1983+
get_key_parameters : typing.Optional[bool]
1984+
19561985
request_options : typing.Optional[RequestOptions]
19571986
Request-specific configuration.
19581987
@@ -1987,6 +2016,7 @@ async def main() -> None:
19872016
"netlist": convert_and_respect_annotation_metadata(
19882017
object_=netlist, annotation=Netlist, direction="write"
19892018
),
2019+
"get_key_parameters": get_key_parameters,
19902020
},
19912021
headers={
19922022
"content-type": "application/json",

0 commit comments

Comments
 (0)