diff --git a/mkdocs/site/packages/evo-compute/ComputeClient.html b/mkdocs/site/packages/evo-compute/ComputeClient.html index c3ec360dc..b85ce073a 100644 --- a/mkdocs/site/packages/evo-compute/ComputeClient.html +++ b/mkdocs/site/packages/evo-compute/ComputeClient.html @@ -147,12 +147,11 @@
Check the parameters against the task's JSON Schema before submitting
-(required-field presence, and, under deep_validation, the whole payload).
+(required-field presence, and, under deep_validation, known value constraints).
Defaults to True. False turns off deep validation too, whatever
deep_validation says. It does not make the call unchecked: the parameters are
-still bound to the signature synthesised from the schema, so an unknown or missing
-required argument is still rejected. That is how the payload is built, not a
-validation pass, and there is no useful call to make without it.
Additionally run full JSON Schema Draft 2020-12 validation. +
Additionally check the full JSON Schema Draft 2020-12 constraints.
Defaults to False. Only consulted when validate is True.
property
+
+
+context: IContext
+The context used to submit tasks and load their results.
+ +Discover the task (cached), resolve and validate the parameters, submit, and hydrate the results.
- - -Parameters:
-| Name | -Type | -Description | -Default | -
|---|---|---|---|
- topic
- |
-
- str
- |
-
-
-
- The task topic. - |
- - required - | -
- task
- |
-
- str
- |
-
-
-
- The task name. - |
- - required - | -
- parameters
- |
-
- dict[str, Any]
- |
-
-
-
- The task parameters, plus |
- - required - | -
- validate
- |
-
- bool | None
- |
-
-
-
- Override the client's schema-validation setting for this call.
- |
-
- None
- |
-
- deep_validation
- |
-
- bool | None
- |
-
-
-
- Override the client's deep-validation setting for this call. -Only consulted when validation is enabled. - |
-
- None
- |
-
- check_schemas
- |
-
- bool | None
- |
-
-
-
- Override the client's supported-schema setting for this call.
-Falls back to |
-
- None
- |
-
Returns:
-| Type | -Description | -
|---|---|
- TaskResult
- |
-
-
-
- The hydrated results of the finished job. - |
-
Raises:
-| Type | -Description | -
|---|---|
- AttributeError
- |
-
-
-
- If the topic does not advertise the task. - |
-
- ParameterValidationError
- |
-
-
-
- If the parameters or referenced objects fail validation. - |
-
Run a task by name, using its custom runner when one is registered.
+Parameters use the same names as client.<topic>.<task>.run(...).
+Custom tasks return their native result; other tasks return TaskResult.
+Validation options override the client's settings for this call.
+Preview is off unless parameters explicitly includes preview=True.