@@ -90,6 +90,7 @@ def create(
9090 self ,
9191 * ,
9292 input_context : InputContextParam ,
93+ is_public : bool ,
9394 name : str ,
9495 scoring_contract : ScoringContractParam ,
9596 environment_parameters : Optional [ScenarioEnvironmentParam ] | NotGiven = NOT_GIVEN ,
@@ -110,6 +111,8 @@ def create(
110111 Args:
111112 input_context: The input context for the Scenario.
112113
114+ is_public: Whether this scenario is public.
115+
113116 name: Name of the scenario.
114117
115118 scoring_contract: The scoring contract for the Scenario.
@@ -137,6 +140,7 @@ def create(
137140 body = maybe_transform (
138141 {
139142 "input_context" : input_context ,
143+ "is_public" : is_public ,
140144 "name" : name ,
141145 "scoring_contract" : scoring_contract ,
142146 "environment_parameters" : environment_parameters ,
@@ -193,6 +197,7 @@ def update(
193197 id : str ,
194198 * ,
195199 input_context : InputContextParam ,
200+ is_public : bool ,
196201 name : str ,
197202 scoring_contract : ScoringContractParam ,
198203 environment_parameters : Optional [ScenarioEnvironmentParam ] | NotGiven = NOT_GIVEN ,
@@ -213,6 +218,8 @@ def update(
213218 Args:
214219 input_context: The input context for the Scenario.
215220
221+ is_public: Whether this scenario is public.
222+
216223 name: Name of the scenario.
217224
218225 scoring_contract: The scoring contract for the Scenario.
@@ -242,6 +249,7 @@ def update(
242249 body = maybe_transform (
243250 {
244251 "input_context" : input_context ,
252+ "is_public" : is_public ,
245253 "name" : name ,
246254 "scoring_contract" : scoring_contract ,
247255 "environment_parameters" : environment_parameters ,
@@ -513,6 +521,7 @@ async def create(
513521 self ,
514522 * ,
515523 input_context : InputContextParam ,
524+ is_public : bool ,
516525 name : str ,
517526 scoring_contract : ScoringContractParam ,
518527 environment_parameters : Optional [ScenarioEnvironmentParam ] | NotGiven = NOT_GIVEN ,
@@ -533,6 +542,8 @@ async def create(
533542 Args:
534543 input_context: The input context for the Scenario.
535544
545+ is_public: Whether this scenario is public.
546+
536547 name: Name of the scenario.
537548
538549 scoring_contract: The scoring contract for the Scenario.
@@ -560,6 +571,7 @@ async def create(
560571 body = await async_maybe_transform (
561572 {
562573 "input_context" : input_context ,
574+ "is_public" : is_public ,
563575 "name" : name ,
564576 "scoring_contract" : scoring_contract ,
565577 "environment_parameters" : environment_parameters ,
@@ -616,6 +628,7 @@ async def update(
616628 id : str ,
617629 * ,
618630 input_context : InputContextParam ,
631+ is_public : bool ,
619632 name : str ,
620633 scoring_contract : ScoringContractParam ,
621634 environment_parameters : Optional [ScenarioEnvironmentParam ] | NotGiven = NOT_GIVEN ,
@@ -636,6 +649,8 @@ async def update(
636649 Args:
637650 input_context: The input context for the Scenario.
638651
652+ is_public: Whether this scenario is public.
653+
639654 name: Name of the scenario.
640655
641656 scoring_contract: The scoring contract for the Scenario.
@@ -665,6 +680,7 @@ async def update(
665680 body = await async_maybe_transform (
666681 {
667682 "input_context" : input_context ,
683+ "is_public" : is_public ,
668684 "name" : name ,
669685 "scoring_contract" : scoring_contract ,
670686 "environment_parameters" : environment_parameters ,
0 commit comments