fix: typo

Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithub@users.noreply.github.com>
This commit is contained in:
thiswillbeyourgithub 2025-03-09 08:57:58 +01:00
parent be93cd8a05
commit 4887806c22
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ class Filter:
pass
# The inlet method is only used for Filter but the __user__ handling is the same
def inlet(body: dict, __user__: dict):
def inlet(self, body: dict, __user__: dict):
# Because UserValves are defined per user they are only available
# on use.
# Note that although __user__ is a dict, __user__["valves"] is a

View File

@ -137,7 +137,7 @@ class Tools:
pass
# The __user__ handling is the same for Filters, Tools and Functions.
def test_the_tool(message: str, __user__: dict):
def test_the_tool(self, message: str, __user__: dict):
"""
This is a test tool. If the user asks you to test the tools, put any
string you want in the message argument.