@@ -590,6 +590,7 @@ def optimize(
590
590
parameters : typing .Sequence [Parameter ],
591
591
mapping : typing .Optional [typing .Dict [str , typing .Optional [Computation ]]] = OMIT ,
592
592
config : typing .Optional [OptimizeConfig ] = OMIT ,
593
+ use_ideal_component_models : typing .Optional [bool ] = OMIT ,
593
594
request_options : typing .Optional [RequestOptions ] = None ,
594
595
) -> OptimizeNetlistResponse :
595
596
"""
@@ -607,6 +608,8 @@ def optimize(
607
608
608
609
config : typing.Optional[OptimizeConfig]
609
610
611
+ use_ideal_component_models : typing.Optional[bool]
612
+
610
613
request_options : typing.Optional[RequestOptions]
611
614
Request-specific configuration.
612
615
@@ -651,6 +654,7 @@ def optimize(
651
654
"config" : convert_and_respect_annotation_metadata (
652
655
object_ = config , annotation = OptimizeConfig , direction = "write"
653
656
),
657
+ "use_ideal_component_models" : use_ideal_component_models ,
654
658
},
655
659
headers = {
656
660
"content-type" : "application/json" ,
@@ -827,6 +831,7 @@ def get_sax_spectrum(
827
831
port_out : str ,
828
832
settings : Settings ,
829
833
wls : typing .Sequence [float ],
834
+ use_ideal_component_models : typing .Optional [bool ] = OMIT ,
830
835
request_options : typing .Optional [RequestOptions ] = None ,
831
836
) -> GetSpectrumResponse :
832
837
"""
@@ -844,6 +849,8 @@ def get_sax_spectrum(
844
849
845
850
wls : typing.Sequence[float]
846
851
852
+ use_ideal_component_models : typing.Optional[bool]
853
+
847
854
request_options : typing.Optional[RequestOptions]
848
855
Request-specific configuration.
849
856
@@ -880,6 +887,7 @@ def get_sax_spectrum(
880
887
object_ = settings , annotation = Settings , direction = "write"
881
888
),
882
889
"wls" : wls ,
890
+ "use_ideal_component_models" : use_ideal_component_models ,
883
891
},
884
892
headers = {
885
893
"content-type" : "application/json" ,
@@ -912,7 +920,11 @@ def get_sax_spectrum(
912
920
raise ApiError (status_code = _response .status_code , body = _response_json )
913
921
914
922
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 ,
916
928
) -> GetOptimizableParametersResponse :
917
929
"""
918
930
Gets the optimizable parameters of a circuit.
@@ -921,6 +933,8 @@ def get_optimizable_parameters(
921
933
----------
922
934
netlist : Netlist
923
935
936
+ get_key_parameters : typing.Optional[bool]
937
+
924
938
request_options : typing.Optional[RequestOptions]
925
939
Request-specific configuration.
926
940
@@ -947,6 +961,7 @@ def get_optimizable_parameters(
947
961
"netlist" : convert_and_respect_annotation_metadata (
948
962
object_ = netlist , annotation = Netlist , direction = "write"
949
963
),
964
+ "get_key_parameters" : get_key_parameters ,
950
965
},
951
966
headers = {
952
967
"content-type" : "application/json" ,
@@ -1590,6 +1605,7 @@ async def optimize(
1590
1605
parameters : typing .Sequence [Parameter ],
1591
1606
mapping : typing .Optional [typing .Dict [str , typing .Optional [Computation ]]] = OMIT ,
1592
1607
config : typing .Optional [OptimizeConfig ] = OMIT ,
1608
+ use_ideal_component_models : typing .Optional [bool ] = OMIT ,
1593
1609
request_options : typing .Optional [RequestOptions ] = None ,
1594
1610
) -> OptimizeNetlistResponse :
1595
1611
"""
@@ -1607,6 +1623,8 @@ async def optimize(
1607
1623
1608
1624
config : typing.Optional[OptimizeConfig]
1609
1625
1626
+ use_ideal_component_models : typing.Optional[bool]
1627
+
1610
1628
request_options : typing.Optional[RequestOptions]
1611
1629
Request-specific configuration.
1612
1630
@@ -1659,6 +1677,7 @@ async def main() -> None:
1659
1677
"config" : convert_and_respect_annotation_metadata (
1660
1678
object_ = config , annotation = OptimizeConfig , direction = "write"
1661
1679
),
1680
+ "use_ideal_component_models" : use_ideal_component_models ,
1662
1681
},
1663
1682
headers = {
1664
1683
"content-type" : "application/json" ,
@@ -1851,6 +1870,7 @@ async def get_sax_spectrum(
1851
1870
port_out : str ,
1852
1871
settings : Settings ,
1853
1872
wls : typing .Sequence [float ],
1873
+ use_ideal_component_models : typing .Optional [bool ] = OMIT ,
1854
1874
request_options : typing .Optional [RequestOptions ] = None ,
1855
1875
) -> GetSpectrumResponse :
1856
1876
"""
@@ -1868,6 +1888,8 @@ async def get_sax_spectrum(
1868
1888
1869
1889
wls : typing.Sequence[float]
1870
1890
1891
+ use_ideal_component_models : typing.Optional[bool]
1892
+
1871
1893
request_options : typing.Optional[RequestOptions]
1872
1894
Request-specific configuration.
1873
1895
@@ -1912,6 +1934,7 @@ async def main() -> None:
1912
1934
object_ = settings , annotation = Settings , direction = "write"
1913
1935
),
1914
1936
"wls" : wls ,
1937
+ "use_ideal_component_models" : use_ideal_component_models ,
1915
1938
},
1916
1939
headers = {
1917
1940
"content-type" : "application/json" ,
@@ -1944,7 +1967,11 @@ async def main() -> None:
1944
1967
raise ApiError (status_code = _response .status_code , body = _response_json )
1945
1968
1946
1969
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 ,
1948
1975
) -> GetOptimizableParametersResponse :
1949
1976
"""
1950
1977
Gets the optimizable parameters of a circuit.
@@ -1953,6 +1980,8 @@ async def get_optimizable_parameters(
1953
1980
----------
1954
1981
netlist : Netlist
1955
1982
1983
+ get_key_parameters : typing.Optional[bool]
1984
+
1956
1985
request_options : typing.Optional[RequestOptions]
1957
1986
Request-specific configuration.
1958
1987
@@ -1987,6 +2016,7 @@ async def main() -> None:
1987
2016
"netlist" : convert_and_respect_annotation_metadata (
1988
2017
object_ = netlist , annotation = Netlist , direction = "write"
1989
2018
),
2019
+ "get_key_parameters" : get_key_parameters ,
1990
2020
},
1991
2021
headers = {
1992
2022
"content-type" : "application/json" ,
0 commit comments