Skip to content

Commit 8793fa7

Browse files
committed
lint
1 parent f4a9c7d commit 8793fa7

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,11 @@
1313
# limitations under the License.
1414

1515
from inspect import Parameter
16-
from typing import Optional, Type, Any, cast
16+
from typing import Any, Optional, Type, cast
1717

1818
from pydantic import BaseModel, Field, create_model
1919

2020

21-
2221
class ParameterSchema(BaseModel):
2322
"""
2423
Schema for a tool parameter.
@@ -76,6 +75,7 @@ def to_pydantic_model(self) -> Type[BaseModel]:
7675
)
7776
return create_model("tool_model", **field_definitions)
7877

78+
7979
class ManifestSchema(BaseModel):
8080
"""
8181
Schema for the Toolbox manifest.

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,9 @@
1717
import copy
1818
import types
1919
from inspect import Signature
20-
from typing import Any, Callable, Iterable, Mapping, Optional, Type, Union, cast
20+
from typing import Any, Callable, Iterable, Mapping, Optional, Union
2121

2222
from aiohttp import ClientSession
23-
from pydantic import BaseModel, Field, create_model
2423

2524
from toolbox_core.protocol import ToolSchema
2625

0 commit comments

Comments
 (0)