fix(core): add quotes to cast to satisfy ruff TC006

This commit is contained in:
Sydney Runkle
2026-04-30 13:53:37 -04:00
parent c8df1783e1
commit 0fc85dcd63

View File

@@ -318,7 +318,7 @@ def create_schema_from_function(
**field_definitions,
)
model.__doc__ = textwrap.dedent(description or func.__doc__ or "")
return cast(type[BaseModel], model)
return cast("type[BaseModel]", model)
class ToolException(Exception): # noqa: N818