@@ -434,6 +434,7 @@ def generate(
434434 apply_orientation : typing .Optional [bool ] = OMIT ,
435435 apply_placement : typing .Optional [bool ] = OMIT ,
436436 apply_routing : typing .Optional [bool ] = OMIT ,
437+ return_cell : typing .Optional [bool ] = OMIT ,
437438 request_options : typing .Optional [RequestOptions ] = None ,
438439 ) -> GenerateCodeResponse :
439440 """
@@ -453,6 +454,8 @@ def generate(
453454
454455 apply_routing : typing.Optional[bool]
455456
457+ return_cell : typing.Optional[bool]
458+
456459 request_options : typing.Optional[RequestOptions]
457460 Request-specific configuration.
458461
@@ -482,6 +485,7 @@ def generate(
482485 "apply_orientation" : apply_orientation ,
483486 "apply_placement" : apply_placement ,
484487 "apply_routing" : apply_routing ,
488+ "return_cell" : return_cell ,
485489 },
486490 headers = {
487491 "content-type" : "application/json" ,
@@ -524,6 +528,7 @@ def refine(
524528 apply_orientation : typing .Optional [bool ] = OMIT ,
525529 apply_placement : typing .Optional [bool ] = OMIT ,
526530 apply_routing : typing .Optional [bool ] = OMIT ,
531+ return_cell : typing .Optional [bool ] = OMIT ,
527532 request_options : typing .Optional [RequestOptions ] = None ,
528533 ) -> RefineCodeResponse :
529534 """
@@ -547,6 +552,8 @@ def refine(
547552
548553 apply_routing : typing.Optional[bool]
549554
555+ return_cell : typing.Optional[bool]
556+
550557 request_options : typing.Optional[RequestOptions]
551558 Request-specific configuration.
552559
@@ -578,6 +585,7 @@ def refine(
578585 "apply_orientation" : apply_orientation ,
579586 "apply_placement" : apply_placement ,
580587 "apply_routing" : apply_routing ,
588+ "return_cell" : return_cell ,
581589 },
582590 headers = {
583591 "content-type" : "application/json" ,
@@ -845,9 +853,9 @@ def get_sax_spectrum(
845853 self ,
846854 * ,
847855 netlist : Netlist ,
848- port_pairs : typing .Sequence [typing .Sequence [typing .Optional [typing .Any ]]],
849- settings : Settings ,
850856 wls : typing .Sequence [float ],
857+ port_pairs : typing .Optional [typing .Sequence [typing .Sequence [typing .Optional [typing .Any ]]]] = OMIT ,
858+ settings : typing .Optional [Settings ] = OMIT ,
851859 request_options : typing .Optional [RequestOptions ] = None ,
852860 ) -> GetSpectrumResponse :
853861 """
@@ -857,11 +865,11 @@ def get_sax_spectrum(
857865 ----------
858866 netlist : Netlist
859867
860- port_pairs : typing.Sequence[typing.Sequence[typing.Optional[typing.Any]] ]
868+ wls : typing.Sequence[float ]
861869
862- settings : Settings
870+ port_pairs : typing.Optional[typing.Sequence[typing.Sequence[typing.Optional[typing.Any]]]]
863871
864- wls : typing.Sequence[float ]
872+ settings : typing.Optional[Settings ]
865873
866874 request_options : typing.Optional[RequestOptions]
867875 Request-specific configuration.
@@ -880,8 +888,6 @@ def get_sax_spectrum(
880888 )
881889 client.pic.circuit.get_sax_spectrum(
882890 netlist=Netlist(),
883- port_pairs=[[]],
884- settings={"key": "value"},
885891 wls=[1.1],
886892 )
887893 """
@@ -892,11 +898,11 @@ def get_sax_spectrum(
892898 "netlist" : convert_and_respect_annotation_metadata (
893899 object_ = netlist , annotation = Netlist , direction = "write"
894900 ),
901+ "wls" : wls ,
895902 "port_pairs" : port_pairs ,
896903 "settings" : convert_and_respect_annotation_metadata (
897904 object_ = settings , annotation = Settings , direction = "write"
898905 ),
899- "wls" : wls ,
900906 },
901907 headers = {
902908 "content-type" : "application/json" ,
@@ -1512,6 +1518,7 @@ async def generate(
15121518 apply_orientation : typing .Optional [bool ] = OMIT ,
15131519 apply_placement : typing .Optional [bool ] = OMIT ,
15141520 apply_routing : typing .Optional [bool ] = OMIT ,
1521+ return_cell : typing .Optional [bool ] = OMIT ,
15151522 request_options : typing .Optional [RequestOptions ] = None ,
15161523 ) -> GenerateCodeResponse :
15171524 """
@@ -1531,6 +1538,8 @@ async def generate(
15311538
15321539 apply_routing : typing.Optional[bool]
15331540
1541+ return_cell : typing.Optional[bool]
1542+
15341543 request_options : typing.Optional[RequestOptions]
15351544 Request-specific configuration.
15361545
@@ -1568,6 +1577,7 @@ async def main() -> None:
15681577 "apply_orientation" : apply_orientation ,
15691578 "apply_placement" : apply_placement ,
15701579 "apply_routing" : apply_routing ,
1580+ "return_cell" : return_cell ,
15711581 },
15721582 headers = {
15731583 "content-type" : "application/json" ,
@@ -1610,6 +1620,7 @@ async def refine(
16101620 apply_orientation : typing .Optional [bool ] = OMIT ,
16111621 apply_placement : typing .Optional [bool ] = OMIT ,
16121622 apply_routing : typing .Optional [bool ] = OMIT ,
1623+ return_cell : typing .Optional [bool ] = OMIT ,
16131624 request_options : typing .Optional [RequestOptions ] = None ,
16141625 ) -> RefineCodeResponse :
16151626 """
@@ -1633,6 +1644,8 @@ async def refine(
16331644
16341645 apply_routing : typing.Optional[bool]
16351646
1647+ return_cell : typing.Optional[bool]
1648+
16361649 request_options : typing.Optional[RequestOptions]
16371650 Request-specific configuration.
16381651
@@ -1672,6 +1685,7 @@ async def main() -> None:
16721685 "apply_orientation" : apply_orientation ,
16731686 "apply_placement" : apply_placement ,
16741687 "apply_routing" : apply_routing ,
1688+ "return_cell" : return_cell ,
16751689 },
16761690 headers = {
16771691 "content-type" : "application/json" ,
@@ -1963,9 +1977,9 @@ async def get_sax_spectrum(
19631977 self ,
19641978 * ,
19651979 netlist : Netlist ,
1966- port_pairs : typing .Sequence [typing .Sequence [typing .Optional [typing .Any ]]],
1967- settings : Settings ,
19681980 wls : typing .Sequence [float ],
1981+ port_pairs : typing .Optional [typing .Sequence [typing .Sequence [typing .Optional [typing .Any ]]]] = OMIT ,
1982+ settings : typing .Optional [Settings ] = OMIT ,
19691983 request_options : typing .Optional [RequestOptions ] = None ,
19701984 ) -> GetSpectrumResponse :
19711985 """
@@ -1975,11 +1989,11 @@ async def get_sax_spectrum(
19751989 ----------
19761990 netlist : Netlist
19771991
1978- port_pairs : typing.Sequence[typing.Sequence[typing.Optional[typing.Any]] ]
1992+ wls : typing.Sequence[float ]
19791993
1980- settings : Settings
1994+ port_pairs : typing.Optional[typing.Sequence[typing.Sequence[typing.Optional[typing.Any]]]]
19811995
1982- wls : typing.Sequence[float ]
1996+ settings : typing.Optional[Settings ]
19831997
19841998 request_options : typing.Optional[RequestOptions]
19851999 Request-specific configuration.
@@ -2003,8 +2017,6 @@ async def get_sax_spectrum(
20032017 async def main() -> None:
20042018 await client.pic.circuit.get_sax_spectrum(
20052019 netlist=Netlist(),
2006- port_pairs=[[]],
2007- settings={"key": "value"},
20082020 wls=[1.1],
20092021 )
20102022
@@ -2018,11 +2030,11 @@ async def main() -> None:
20182030 "netlist" : convert_and_respect_annotation_metadata (
20192031 object_ = netlist , annotation = Netlist , direction = "write"
20202032 ),
2033+ "wls" : wls ,
20212034 "port_pairs" : port_pairs ,
20222035 "settings" : convert_and_respect_annotation_metadata (
20232036 object_ = settings , annotation = Settings , direction = "write"
20242037 ),
2025- "wls" : wls ,
20262038 },
20272039 headers = {
20282040 "content-type" : "application/json" ,
0 commit comments