wren node: Train in the panel, as a run of wren's training flow
POST/GET /flows/{name}/nodes/{id}/train submit wren_train on the node's
targets, examples and tests and read its latest run (run.for_node,
cause "train"); "Use this model" writes `model` into the draft.
This commit is contained in:
@@ -388,8 +388,11 @@ class Run(SQLModel, table=True):
|
||||
external_id: str | None = Field(
|
||||
default=None, unique=True, index=True, max_length=255
|
||||
)
|
||||
#: Where it was asked for: api, cli, sdk, hook, sweep or import.
|
||||
#: Where it was asked for: api, cli, sdk, hook, sweep, import or train.
|
||||
cause: str = Field(default="api", max_length=32)
|
||||
#: The node it was asked for from, as `flow.node`: the wren node a
|
||||
#: training run is for. Null for every other run.
|
||||
for_node: str | None = Field(default=None, max_length=255)
|
||||
#: Re-execute every node, whatever the stage cache holds for it.
|
||||
no_cache: bool = False
|
||||
#: Run the unpublished working copy rather than what is published. Read
|
||||
|
||||
Reference in New Issue
Block a user