core: Add ruff rules ARG (#30732)

See https://docs.astral.sh/ruff/rules/#flake8-unused-arguments-arg
This commit is contained in:
Christophe Bornet
2025-04-09 20:39:36 +02:00
committed by GitHub
parent 66758599a9
commit 98f0016fc2
58 changed files with 328 additions and 180 deletions

View File

@@ -127,6 +127,7 @@ class BasePromptTemplate(
"""Return the output type of the prompt."""
return Union[StringPromptValue, ChatPromptValueConcrete]
@override
def get_input_schema(
self, config: Optional[RunnableConfig] = None
) -> type[BaseModel]: