@devries-cameron20 / composio Mirror · read-only / commits / b965d0102
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 22, 19:30 UTC

fix lint issue

Prateek committed Oct 27, 2025 at 10:37 UTC b965d0102cd48cd26ea4e723e0d84d22d035889b
2 files changed +5 -4
python/composio/client/__init__.py
+2 -2
@@ -4,8 +4,8 @@ This module is a light wrapper around the auto-generated composio client.
4
5 import contextvars
6 import typing as t
7 -from uuid import uuid4
7 from importlib.metadata import version
8 +from uuid import uuid4
9
10 import typing_extensions as te
11 from composio_client import (
@@ -96,7 +96,7 @@ class HttpClient(BaseComposio, WithLogger):
96 ctx = self.request_ctx.get()
97 request.headers["x-request-id"] = ctx.get("id") or uuid4().hex
98 request.headers["x-framework"] = ctx["provider"]
99 - request.headers["x-source"] = 'python'
99 + request.headers["x-source"] = "python"
100 try:
101 request.headers["x-sdk-version"] = version("composio")
102 except Exception:
python/tests/test_tool_execution.py
+3 -2
@@ -1,11 +1,12 @@
1 """Test tool execution with toolkit versions."""
2
3 -import pytest
3 from unittest.mock import Mock, patch
4
5 +import pytest
6 +
7 from composio.client.types import Tool, tool_list_response
7 -from composio.core.models.tools import Tools
8 from composio.core.models.base import allow_tracking
9 +from composio.core.models.tools import Tools
10 from composio.exceptions import ToolVersionRequiredError
11
12