Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Zahra Rajabi
tweepy
Commits
e7944785
Commit
e7944785
authored
Jul 18, 2015
by
Pietro
Browse files
Parse quoted_status dict to Status object
parent
ae1465d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
tweepy/models.py
View file @
e7944785
...
...
@@ -93,6 +93,8 @@ class Status(Model):
setattr
(
status
,
'source_url'
,
None
)
elif
k
==
'retweeted_status'
:
setattr
(
status
,
k
,
Status
.
parse
(
api
,
v
))
elif
k
==
'quoted_status'
:
setattr
(
status
,
k
,
Status
.
parse
(
api
,
v
))
elif
k
==
'place'
:
if
v
is
not
None
:
setattr
(
status
,
k
,
Place
.
parse
(
api
,
v
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment