unofficially add wf.std as source

This commit is contained in:
lda
2026-05-09 20:34:22 +07:00 Verified
parent 47b337a9c3
commit 8dc149b12d
8 changed files with 63 additions and 3 deletions
+2
View File
@@ -101,6 +101,8 @@ def node(
description=description or fn.description,
is_async=is_async if is_async is not None else fn.is_async,
accepts_context=fn.accepts_context,
input_schema_contract=fn.input_schema_contract,
output_schema_contract=fn.output_schema_contract,
)
inferred_input_model: type[BaseModel] | None = input_model
+2
View File
@@ -61,7 +61,9 @@ class NodeSpec(Generic[InputT, OutputT]):
is_async: bool = False
accepts_context: bool = True
input_schema_contract: dict[str, Any] | None = None
"enforced schema, if None use input_model"
output_schema_contract: dict[str, Any] | None = None
"enforced schema, if None use output_model"
def __call__(
self,