refactor: Remove unused "str" input type from TextInput class
This commit is contained in:
parent
c25b104ec7
commit
0575541d3b
1 changed files with 1 additions and 2 deletions
|
|
@ -124,8 +124,7 @@ class TextInput(StrInput):
|
|||
input_types (list[str]): A list of input types that this component supports. In this case, it supports the "Message" input type.
|
||||
"""
|
||||
|
||||
# ! adding str since it's checked on line 143
|
||||
input_types: list[str] = ["Message", "str"]
|
||||
input_types: list[str] = ["Message"]
|
||||
|
||||
@staticmethod
|
||||
def _validate_value(v: Any, _info):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue