composio-pydanticai 0.7.7__tar.gz → 0.7.8__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: composio_pydanticai
3
- Version: 0.7.7
3
+ Version: 0.7.8
4
4
  Summary: Use Composio to get array of strongly typed tools for Pydantic AI
5
5
  Home-page: https://github.com/ComposioHQ/composio
6
6
  Author: Siddharth
@@ -11,7 +11,7 @@ Classifier: Operating System :: OS Independent
11
11
  Requires-Python: >=3.9,<4
12
12
  Description-Content-Type: text/markdown
13
13
  Requires-Dist: composio_core<0.8.0,>=0.7.0
14
- Requires-Dist: pydantic-ai
14
+ Requires-Dist: pydantic-ai>=0.0.36
15
15
  Dynamic: author
16
16
  Dynamic: author-email
17
17
  Dynamic: classifier
@@ -3,7 +3,7 @@ import typing as t
3
3
  from inspect import Parameter, Signature
4
4
 
5
5
  from pydantic import ValidationError
6
- from pydantic_ai.tools import Tool
6
+ from pydantic_ai.tools import RunContext, Tool
7
7
 
8
8
  from composio import Action, ActionType, AppType, TagType
9
9
  from composio.tools import ComposioToolSet as BaseComposioToolSet
@@ -105,7 +105,7 @@ class ComposioToolSet(
105
105
  # Add type hints
106
106
  params = {param.name: param.annotation for param in parameters}
107
107
  action_func.__annotations__ = {
108
- "ctx": "RunContext[None]",
108
+ "ctx": RunContext[None],
109
109
  "return": t.Dict,
110
110
  **params,
111
111
  }
@@ -114,7 +114,7 @@ class ComposioToolSet(
114
114
  ctx_param = Parameter(
115
115
  name="ctx",
116
116
  kind=Parameter.POSITIONAL_OR_KEYWORD,
117
- annotation="RunContext[None]",
117
+ annotation=RunContext[None],
118
118
  )
119
119
  action_func.__signature__ = Signature(parameters=[ctx_param] + parameters) # type: ignore
120
120
  action_func.__doc__ = description
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: composio_pydanticai
3
- Version: 0.7.7
3
+ Version: 0.7.8
4
4
  Summary: Use Composio to get array of strongly typed tools for Pydantic AI
5
5
  Home-page: https://github.com/ComposioHQ/composio
6
6
  Author: Siddharth
@@ -11,7 +11,7 @@ Classifier: Operating System :: OS Independent
11
11
  Requires-Python: >=3.9,<4
12
12
  Description-Content-Type: text/markdown
13
13
  Requires-Dist: composio_core<0.8.0,>=0.7.0
14
- Requires-Dist: pydantic-ai
14
+ Requires-Dist: pydantic-ai>=0.0.36
15
15
  Dynamic: author
16
16
  Dynamic: author-email
17
17
  Dynamic: classifier
@@ -1,2 +1,2 @@
1
1
  composio_core<0.8.0,>=0.7.0
2
- pydantic-ai
2
+ pydantic-ai>=0.0.36
@@ -9,7 +9,7 @@ from setuptools import setup
9
9
 
10
10
  setup(
11
11
  name="composio_pydanticai",
12
- version="0.7.7",
12
+ version="0.7.8",
13
13
  author="Siddharth",
14
14
  author_email="tech@composio.dev",
15
15
  description="Use Composio to get array of strongly typed tools for Pydantic AI",
@@ -24,7 +24,7 @@ setup(
24
24
  python_requires=">=3.9,<4",
25
25
  install_requires=[
26
26
  "composio_core>=0.7.0,<0.8.0",
27
- "pydantic-ai",
27
+ "pydantic-ai>=0.0.36",
28
28
  ],
29
29
  include_package_data=True,
30
30
  )