@@ -613,7 +613,7 @@ def optimize(
613613 * ,
614614 netlist : Netlist ,
615615 statements : StatementDictionary ,
616- parameters : typing .Sequence [Parameter ],
616+ parameters : typing .Optional [ typing . Sequence [Parameter ]] = OMIT ,
617617 mapping : typing .Optional [typing .Dict [str , typing .Optional [Computation ]]] = OMIT ,
618618 config : typing .Optional [OptimizeConfig ] = OMIT ,
619619 use_ideal_component_models : typing .Optional [bool ] = OMIT ,
@@ -628,7 +628,7 @@ def optimize(
628628
629629 statements : StatementDictionary
630630
631- parameters : typing.Sequence[Parameter]
631+ parameters : typing.Optional[typing. Sequence[Parameter] ]
632632
633633 mapping : typing.Optional[typing.Dict[str, typing.Optional[Computation]]]
634634
@@ -646,19 +646,14 @@ def optimize(
646646
647647 Examples
648648 --------
649- from axiomatic import Axiomatic, Netlist, Parameter, StatementDictionary
649+ from axiomatic import Axiomatic, Netlist, StatementDictionary
650650
651651 client = Axiomatic(
652652 api_key="YOUR_API_KEY",
653653 )
654654 client.pic.circuit.optimize(
655655 netlist=Netlist(),
656656 statements=StatementDictionary(),
657- parameters=[
658- Parameter(
659- path="path",
660- )
661- ],
662657 )
663658 """
664659 _response = self ._client_wrapper .httpx_client .request (
@@ -1649,7 +1644,7 @@ async def optimize(
16491644 * ,
16501645 netlist : Netlist ,
16511646 statements : StatementDictionary ,
1652- parameters : typing .Sequence [Parameter ],
1647+ parameters : typing .Optional [ typing . Sequence [Parameter ]] = OMIT ,
16531648 mapping : typing .Optional [typing .Dict [str , typing .Optional [Computation ]]] = OMIT ,
16541649 config : typing .Optional [OptimizeConfig ] = OMIT ,
16551650 use_ideal_component_models : typing .Optional [bool ] = OMIT ,
@@ -1664,7 +1659,7 @@ async def optimize(
16641659
16651660 statements : StatementDictionary
16661661
1667- parameters : typing.Sequence[Parameter]
1662+ parameters : typing.Optional[typing. Sequence[Parameter] ]
16681663
16691664 mapping : typing.Optional[typing.Dict[str, typing.Optional[Computation]]]
16701665
@@ -1684,7 +1679,7 @@ async def optimize(
16841679 --------
16851680 import asyncio
16861681
1687- from axiomatic import AsyncAxiomatic, Netlist, Parameter, StatementDictionary
1682+ from axiomatic import AsyncAxiomatic, Netlist, StatementDictionary
16881683
16891684 client = AsyncAxiomatic(
16901685 api_key="YOUR_API_KEY",
@@ -1695,11 +1690,6 @@ async def main() -> None:
16951690 await client.pic.circuit.optimize(
16961691 netlist=Netlist(),
16971692 statements=StatementDictionary(),
1698- parameters=[
1699- Parameter(
1700- path="path",
1701- )
1702- ],
17031693 )
17041694
17051695
0 commit comments