You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently I've begun to type hint everything, and I noticed that there's no way to type hint tweepy.models.Status. I tried to use tweepy.Tweet but sadly it doesn't include any fields from extended_entities. I also got errors for trying to type hint with ~tweepy.models.Status with the error "Bad operand type for unary ~".
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Recently I've begun to type hint everything, and I noticed that there's no way to type hint
tweepy.models.Status
. I tried to usetweepy.Tweet
but sadly it doesn't include any fields fromextended_entities
. I also got errors for trying to type hint with~tweepy.models.Status
with the error "Bad operand type for unary ~".I'm using VS Code. All help is appreciated!
Beta Was this translation helpful? Give feedback.
All reactions