Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
stat committed Nov 15, 2024
1 parent 30000b8 commit 09994f5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from cdp_agentkit_core.actions.social.twitter.account_mentions import AccountMentionsAction
from cdp_agentkit_core.actions.social.twitter.action import TwitterAction
from cdp_agentkit_core.actions.social.twitter.post_tweet import PostTweetAction
from cdp_agentkit_core.actions.social.twitter.post_tweet_reply import PostTweetReplyAction


def get_all_twitter_actions() -> list[type[TwitterAction]]:
Expand All @@ -19,5 +20,6 @@ def get_all_twitter_actions() -> list[type[TwitterAction]]:
"AccountDetailsAction",
"AccountMentionsAction",
"PostTweetAction",
"PostTweetReplyAction",
"TWITTER_ACTIONS",
]
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ def account_mentions(client: tweepy.Client, account_id: str) -> str:
"""
message = ""

print(f"attempting to get mentions for account_id: {account_id}")

try:
response = client.get_users_mentions(account_id)
mentions = response.data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class PostTweetReplyInput(BaseModel):


def post_tweet_reply(client: tweepy.Client, tweet_id: str, tweet_reply: str) -> str:
"""post tweet reply to Twitter.
"""Post tweet reply to Twitter.
Args:
client (tweepy.Client): The tweepy client to use.
Expand Down

0 comments on commit 09994f5

Please sign in to comment.