unofficially add wf.std as source
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user