Skip to content

Commit c613ae8

Browse files
committed
lint
1 parent 65b729d commit c613ae8

File tree

1 file changed

+8
-6
lines changed
  • packages/toolbox-core/src/toolbox_core

1 file changed

+8
-6
lines changed

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

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,11 @@
2525
Optional,
2626
Union,
2727
)
28-
from toolbox_core.protocol import ToolSchema
28+
2929
from aiohttp import ClientSession
3030

31+
from toolbox_core.protocol import ToolSchema
32+
3133

3234
class ToolboxTool:
3335
"""
@@ -93,9 +95,7 @@ def __init__(
9395
self.__bound_parameters = bound_params
9496

9597
@staticmethod
96-
def _schema_to_docstring(
97-
schema: ToolSchema
98-
) -> str:
98+
def _schema_to_docstring(schema: ToolSchema) -> str:
9999
"""Convert a tool schema into its function docstring"""
100100
docstring = schema.description
101101
if not schema.parameters:
@@ -275,7 +275,9 @@ def bind_parameters(
275275

276276
return self.__copy(
277277
schema=new_schema,
278-
bound_params=types.MappingProxyType(dict(self.__bound_parameters, **bound_params))
278+
bound_params=types.MappingProxyType(
279+
dict(self.__bound_parameters, **bound_params)
280+
),
279281
)
280282

281283

@@ -303,4 +305,4 @@ def identify_required_authn_params(
303305
required = not any(s in services for s in auth_service_names)
304306
if required:
305307
required_params[param] = services
306-
return required_params
308+
return required_params

0 commit comments

Comments
 (0)