|
46 | 46 | from ...types.scenario_run_view import ScenarioRunView |
47 | 47 | from ...types.input_context_param import InputContextParam |
48 | 48 | from ...types.scoring_contract_param import ScoringContractParam |
| 49 | +from ...types.input_context_update_param import InputContextUpdateParam |
49 | 50 | from ...types.scenario_environment_param import ScenarioEnvironmentParam |
| 51 | +from ...types.scoring_contract_update_param import ScoringContractUpdateParam |
50 | 52 |
|
51 | 53 | __all__ = ["ScenariosResource", "AsyncScenariosResource"] |
52 | 54 |
|
@@ -186,11 +188,11 @@ def update( |
186 | 188 | id: str, |
187 | 189 | *, |
188 | 190 | environment_parameters: Optional[ScenarioEnvironmentParam] | NotGiven = NOT_GIVEN, |
189 | | - input_context: Optional[InputContextParam] | NotGiven = NOT_GIVEN, |
| 191 | + input_context: Optional[InputContextUpdateParam] | NotGiven = NOT_GIVEN, |
190 | 192 | metadata: Optional[Dict[str, str]] | NotGiven = NOT_GIVEN, |
191 | 193 | name: Optional[str] | NotGiven = NOT_GIVEN, |
192 | 194 | reference_output: Optional[str] | NotGiven = NOT_GIVEN, |
193 | | - scoring_contract: Optional[ScoringContractParam] | NotGiven = NOT_GIVEN, |
| 195 | + scoring_contract: Optional[ScoringContractUpdateParam] | NotGiven = NOT_GIVEN, |
194 | 196 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
195 | 197 | # The extra values given here take precedence over values defined on the client or passed to this method. |
196 | 198 | extra_headers: Headers | None = None, |
@@ -613,11 +615,11 @@ async def update( |
613 | 615 | id: str, |
614 | 616 | *, |
615 | 617 | environment_parameters: Optional[ScenarioEnvironmentParam] | NotGiven = NOT_GIVEN, |
616 | | - input_context: Optional[InputContextParam] | NotGiven = NOT_GIVEN, |
| 618 | + input_context: Optional[InputContextUpdateParam] | NotGiven = NOT_GIVEN, |
617 | 619 | metadata: Optional[Dict[str, str]] | NotGiven = NOT_GIVEN, |
618 | 620 | name: Optional[str] | NotGiven = NOT_GIVEN, |
619 | 621 | reference_output: Optional[str] | NotGiven = NOT_GIVEN, |
620 | | - scoring_contract: Optional[ScoringContractParam] | NotGiven = NOT_GIVEN, |
| 622 | + scoring_contract: Optional[ScoringContractUpdateParam] | NotGiven = NOT_GIVEN, |
621 | 623 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
622 | 624 | # The extra values given here take precedence over values defined on the client or passed to this method. |
623 | 625 | extra_headers: Headers | None = None, |
|
0 commit comments