add tid
This commit is contained in:
parent
fc41c78d20
commit
60ed4d0938
1 changed files with 4 additions and 0 deletions
|
@ -27,6 +27,10 @@ class Tweet:
|
||||||
def text(self) -> str:
|
def text(self) -> str:
|
||||||
return self.tw.text
|
return self.tw.text
|
||||||
|
|
||||||
|
@property
|
||||||
|
def tid(self) -> str:
|
||||||
|
return self.tw.id_str
|
||||||
|
|
||||||
def __str__(self) -> str:
|
def __str__(self) -> str:
|
||||||
return str(self.tw)
|
return str(self.tw)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue