@devries-cameron20 / composio Mirror · read-only / commits / e9d91171c
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, 20:45 UTC

fix: type checks

angrybayblade committed Aug 28, 2025 at 12:55 UTC e9d91171c6e6859ed735a59d3a727d7fbfc8a1b3
2 files changed +4 -3
python/composio/core/models/toolkits.py
+3 -3
@@ -57,7 +57,7 @@ class Toolkits(Resource):
57 )
58
59 @t.overload
60 - def get(self) -> list[toolkit_list_response.Item]:
60 + def get(self) -> t.List[toolkit_list_response.Item]:
61 """Get all toolkits."""
62
63 @t.overload
@@ -69,7 +69,7 @@ class Toolkits(Resource):
69 self,
70 *,
71 query: toolkit_list_params.ToolkitListParams,
72 - ) -> list[toolkit_list_response.Item]:
72 + ) -> t.List[toolkit_list_response.Item]:
73 """Get a list of toolkits by query."""
74
75 def get(
@@ -79,7 +79,7 @@ class Toolkits(Resource):
79 query: t.Optional[toolkit_list_params.ToolkitListParams] = None,
80 ) -> t.Union[
81 toolkit_retrieve_response.ToolkitRetrieveResponse,
82 - list[toolkit_list_response.Item],
82 + t.List[toolkit_list_response.Item],
83 ]:
84 if slug is not None:
85 return self._client.toolkits.retrieve(slug=slug)
python/noxfile.py
+1
@@ -21,6 +21,7 @@ type_stubs = [
21 "fastapi",
22 "langchain",
23 "langgraph",
24 + "llama-index",
25 "openai-agents",
26 "langchain-openai",
27 "google-cloud-aiplatform",