Skip to content

Commit

Permalink
fix: execute action
Browse files Browse the repository at this point in the history
  • Loading branch information
angrybayblade committed Oct 23, 2024
1 parent bd6a530 commit 4ca1fff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/composio/client/collections.py
Original file line number Diff line number Diff line change
Expand Up @@ -1139,9 +1139,9 @@ def execute(
).json()

@staticmethod
def _serialize_auth(auth: t.Optional[CustomAuthObject]) -> t.Dict:
def _serialize_auth(auth: t.Optional[CustomAuthObject]) -> t.Optional[t.Dict]:
if auth is None:
return {}
return None

data = auth.model_dump(exclude_none=True)
data["parameters"] = [
Expand Down

0 comments on commit 4ca1fff

Please sign in to comment.