Skip to content

Commit 7b884ff

Browse files
committed
lint
1 parent cc36bf2 commit 7b884ff

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,9 @@ async def load_toolset(
341341

342342
return tools
343343

344-
@deprecated("Use the `client_headers` parameter in the ToolboxClient constructor instead.")
344+
@deprecated(
345+
"Use the `client_headers` parameter in the ToolboxClient constructor instead."
346+
)
345347
def add_headers(
346348
self,
347349
headers: Mapping[str, Union[Callable[[], str], Callable[[], Awaitable[str]]]],

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,9 @@ def load_toolset(
155155
for async_tool in async_tools
156156
]
157157

158-
@deprecated("Use the `client_headers` parameter in the ToolboxClient constructor instead.")
158+
@deprecated(
159+
"Use the `client_headers` parameter in the ToolboxClient constructor instead."
160+
)
159161
def add_headers(
160162
self,
161163
headers: Mapping[

0 commit comments

Comments
 (0)