Skip to content

Commit 9e01213

Browse files
committed
lint
1 parent c7b76da commit 9e01213

File tree

1 file changed

+3
-12
lines changed
  • packages/toolbox-core/src/toolbox_core

1 file changed

+3
-12
lines changed

packages/toolbox-core/src/toolbox_core/tool.py

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,10 @@
1717
import copy
1818
import types
1919
from inspect import Signature
20-
from pydantic import BaseModel, Field, create_model
21-
22-
from typing import (
23-
Any,
24-
Callable,
25-
Iterable,
26-
Mapping,
27-
Optional,
28-
Union,
29-
cast,
30-
Type
31-
)
20+
from typing import Any, Callable, Iterable, Mapping, Optional, Type, Union, cast
3221

3322
from aiohttp import ClientSession
23+
from pydantic import BaseModel, Field, create_model
3424

3525
from toolbox_core.protocol import ToolSchema
3626

@@ -315,6 +305,7 @@ def identify_required_authn_params(
315305
required_params[param] = services
316306
return required_params
317307

308+
318309
def _schema_to_model(model_name: str, tool_schema: ToolSchema) -> Type[BaseModel]:
319310
"""Converts the given manifest schema to a Pydantic BaseModel class."""
320311
field_definitions = {}

0 commit comments

Comments
 (0)