Feat v0.6.3 dead code sweep (#38)
All checks were successful
All checks were successful
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com> Co-committed-by: Jeffrey Smith <jasafpro@gmail.com>
This commit was merged in pull request #38.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package sandbox
|
||||
|
||||
// workflow_module.go — v0.30.2 CS1, v0.3.2 instance API
|
||||
// workflow_module.go
|
||||
//
|
||||
// The workflow module lets extensions read workflow definitions,
|
||||
// manage instances, and programmatically advance workflow stages.
|
||||
@@ -27,7 +27,6 @@ import (
|
||||
// BuildWorkflowModule creates the "workflow" Starlark module for a package.
|
||||
// Requires the workflow.access permission.
|
||||
//
|
||||
// v0.3.2: added get_instance and list_instances for read-only instance access.
|
||||
// Mutating operations (start/advance/cancel) are available via HTTP API;
|
||||
// Starlark builtins for them will be added when the engine interface is
|
||||
// extracted to a shared package to avoid circular imports.
|
||||
@@ -87,7 +86,7 @@ func workflowGetDef(ctx context.Context, stores store.Stores) func(*starlark.Thr
|
||||
}
|
||||
}
|
||||
|
||||
// ── Instance Read API (v0.3.2) ──────────────
|
||||
// ── Instance Read API ──────────────
|
||||
|
||||
func workflowGetInstance(ctx context.Context, stores store.Stores) func(*starlark.Thread, *starlark.Builtin, starlark.Tuple, []starlark.Tuple) (starlark.Value, error) {
|
||||
return func(_ *starlark.Thread, _ *starlark.Builtin, args starlark.Tuple, kwargs []starlark.Tuple) (starlark.Value, error) {
|
||||
@@ -187,5 +186,5 @@ func goValToStarlark(v interface{}) starlark.Value {
|
||||
}
|
||||
}
|
||||
|
||||
// workflowRoute routes the workflow to a named stage (v0.35.0).
|
||||
// workflowRoute routes the workflow to a named stage.
|
||||
// Starlark: workflow.route(channel_id, target_stage, reason)
|
||||
|
||||
Reference in New Issue
Block a user