File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ def _get_error_with_username(self, error_msg: str) -> str:
32
32
Returns:
33
33
Error message with username if available.
34
34
"""
35
- username = self .twitter .self_username ()
35
+ username = self .twitter .self_username
36
36
if username :
37
37
return f"Error for Twitter user @{ username } : { error_msg } "
38
38
return error_msg
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ async def _arun(self) -> TwitterGetMentionsOutput:
84
84
),
85
85
)
86
86
87
- user_id = self .twitter .self_id ()
87
+ user_id = self .twitter .self_id
88
88
if not user_id :
89
89
return TwitterGetMentionsOutput (
90
90
mentions = [],
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ async def _arun(self, max_results: int = 10) -> TwitterGetTimelineOutput:
92
92
),
93
93
)
94
94
95
- user_id = self .twitter .self_id ()
95
+ user_id = self .twitter .self_id
96
96
if not user_id :
97
97
return TwitterGetTimelineOutput (
98
98
tweets = [],
You can’t perform that action at this time.
0 commit comments