Added nodes for float params: ParamFloatInvocation and FloatCollectionOutput. Also added FloatOutput.

This commit is contained in:
user1
2023-05-26 11:06:37 -07:00
committed by Kent Keirsey
parent a4dec8c1d6
commit d9b1e4a98c
3 changed files with 28 additions and 1 deletions

View File

@ -22,6 +22,14 @@ class IntCollectionOutput(BaseInvocationOutput):
# Outputs
collection: list[int] = Field(default=[], description="The int collection")
class FloatCollectionOutput(BaseInvocationOutput):
"""A collection of floats"""
type: Literal["float_collection"] = "float_collection"
# Outputs
collection: list[float] = Field(default=[], description="The float collection")
class RangeInvocation(BaseInvocation):
"""Creates a range of numbers from start to stop with step"""