|
45 | 45 | from ...types.scenario_run_view import ScenarioRunView |
46 | 46 | from ...types.input_context_param import InputContextParam |
47 | 47 | from ...types.scoring_contract_param import ScoringContractParam |
| 48 | +from ...types.input_context_update_param import InputContextUpdateParam |
48 | 49 | from ...types.scenario_environment_param import ScenarioEnvironmentParam |
| 50 | +from ...types.scoring_contract_update_param import ScoringContractUpdateParam |
49 | 51 |
|
50 | 52 | __all__ = ["ScenariosResource", "AsyncScenariosResource"] |
51 | 53 |
|
@@ -185,11 +187,11 @@ def update( |
185 | 187 | id: str, |
186 | 188 | *, |
187 | 189 | environment_parameters: Optional[ScenarioEnvironmentParam] | NotGiven = NOT_GIVEN, |
188 | | - input_context: Optional[InputContextParam] | NotGiven = NOT_GIVEN, |
| 190 | + input_context: Optional[InputContextUpdateParam] | NotGiven = NOT_GIVEN, |
189 | 191 | metadata: Optional[Dict[str, str]] | NotGiven = NOT_GIVEN, |
190 | 192 | name: Optional[str] | NotGiven = NOT_GIVEN, |
191 | 193 | reference_output: Optional[str] | NotGiven = NOT_GIVEN, |
192 | | - scoring_contract: Optional[ScoringContractParam] | NotGiven = NOT_GIVEN, |
| 194 | + scoring_contract: Optional[ScoringContractUpdateParam] | NotGiven = NOT_GIVEN, |
193 | 195 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
194 | 196 | # The extra values given here take precedence over values defined on the client or passed to this method. |
195 | 197 | extra_headers: Headers | None = None, |
@@ -553,11 +555,11 @@ async def update( |
553 | 555 | id: str, |
554 | 556 | *, |
555 | 557 | environment_parameters: Optional[ScenarioEnvironmentParam] | NotGiven = NOT_GIVEN, |
556 | | - input_context: Optional[InputContextParam] | NotGiven = NOT_GIVEN, |
| 558 | + input_context: Optional[InputContextUpdateParam] | NotGiven = NOT_GIVEN, |
557 | 559 | metadata: Optional[Dict[str, str]] | NotGiven = NOT_GIVEN, |
558 | 560 | name: Optional[str] | NotGiven = NOT_GIVEN, |
559 | 561 | reference_output: Optional[str] | NotGiven = NOT_GIVEN, |
560 | | - scoring_contract: Optional[ScoringContractParam] | NotGiven = NOT_GIVEN, |
| 562 | + scoring_contract: Optional[ScoringContractUpdateParam] | NotGiven = NOT_GIVEN, |
561 | 563 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
562 | 564 | # The extra values given here take precedence over values defined on the client or passed to this method. |
563 | 565 | extra_headers: Headers | None = None, |
|
0 commit comments