Skip to content

Commit

Permalink
Merge pull request #166 from MerleLiuKun/feat-models
Browse files Browse the repository at this point in the history
feat(model): ✨ add some new fields in user and tweet model, …
  • Loading branch information
MerleLiuKun committed Mar 18, 2024
2 parents 8f19b90 + d2ef345 commit af4e6f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pytwitter/models/tweet.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
class TweetAttachments(BaseModel):
poll_ids: Optional[List[str]] = field(default=None, repr=False, compare=False)
media_keys: Optional[List[str]] = field(default=None, repr=False, compare=False)
media_source_tweet_id: Optional[List[str]] = field(default=None, repr=False, compare=False)


@dataclass
Expand Down
1 change: 1 addition & 0 deletions pytwitter/models/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,4 @@ class User(BaseModel):
connection_status: Optional[List[str]] = field(
default=None, repr=False, compare=False
)
most_recent_tweet_id: Optional[str] = field(default=None, repr=False, compare=False)

0 comments on commit af4e6f9

Please sign in to comment.