fix: indentation

Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithub@users.noreply.github.com>
This commit is contained in:
thiswillbeyourgithub 2025-05-09 10:35:29 +02:00
parent 7253830b10
commit de65056c07

View File

@ -27,7 +27,7 @@ class Filter:
default=4,
description="A valve controlling a numberical value"
# required=False, # you can enforce fields using True
)
)
# To give the user the choice between multiple strings, you can use Literal from typing:
choice_option: Literal["choiceA", "choiceB"] = Field(
default="choiceA",
@ -36,10 +36,10 @@ class Filter:
priority: int = Field(
default=0,
description="Priority level for the filter operations. Lower values are passed through first"
)
)
# The priority field is optional but if present will be used to
# order the Filters.
pass
pass
# Note that this 'pass' helps for parsing and is recommended.
# UserValves are defined the same way.