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
ba13fc5d
Commit
ba13fc5d
authored
Feb 17, 2016
by
Joshua Roesslein
Browse files
Merge pull request #633 from Pietro210/parse-quoted-status
Parse quoted_status dict to Status object
parents
dcd1fb7e
e7944785
Changes
1
Hide whitespace changes
Inline
Side-by-side
tweepy/models.py
View file @
ba13fc5d
...
...
@@ -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