Testing Pipelines
This commit is contained in:
parent
1ab1571bf5
commit
c69ea5a44a
@ -78,11 +78,13 @@ class Pipeline(FunctionCallingBlueprint):
|
|||||||
return "Invalid equation"
|
return "Invalid equation"
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
super().__init__()
|
||||||
self.valves = self.Valves(
|
self.valves = self.Valves(
|
||||||
**{
|
**{
|
||||||
"pipelines": ["pipeline-testmodel"], # Connect to all pipelines
|
"pipelines": ["pipeline-testmodel"], # Connect to all pipelines
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
self.tools = self.Tools(self)
|
||||||
# Optionally, you can set the id and name of the pipeline.
|
# Optionally, you can set the id and name of the pipeline.
|
||||||
# Best practice is to not specify the id so that it can be automatically inferred from the filename, so that users can install multiple versions of the same pipeline.
|
# Best practice is to not specify the id so that it can be automatically inferred from the filename, so that users can install multiple versions of the same pipeline.
|
||||||
# The identifier must be unique across all pipelines.
|
# The identifier must be unique across all pipelines.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user