We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cfb399 commit 0232617Copy full SHA for 0232617
services/autoscaling/tests/unit/test_modules_dask.py
@@ -43,7 +43,7 @@
43
_authentication_types = [
44
NoAuthentication(),
45
TLSAuthentication.model_construct(
46
- **TLSAuthentication.model_config["json_schema_extra"]["examples"][0]
+ **TLSAuthentication.model_json_schema()["examples"][0]
47
),
48
]
49
@@ -267,7 +267,9 @@ def _add_fct(x: int, y: int) -> int:
267
)
268
assert isinstance(exc, RuntimeError)
269
else:
270
- result = await future_queued_task.result(timeout=_DASK_SCHEDULER_REACTION_TIME_S) # type: ignore
+ result = await future_queued_task.result(
271
+ timeout=_DASK_SCHEDULER_REACTION_TIME_S
272
+ ) # type: ignore
273
assert result == 7
274
275
await _wait_for_dask_scheduler_to_change_state()
0 commit comments