fsd
This commit is contained in:
parent
7cbc6053ae
commit
3f3131ebad
8 changed files with 19 additions and 34 deletions
|
@ -455,12 +455,6 @@ class User(Base):
|
|||
|
||||
return data
|
||||
|
||||
@property
|
||||
@lazy
|
||||
def full_profileurl(self):
|
||||
if self.profile_url.startswith('/'): return SITE_FULL + self.profile_url
|
||||
return self.profile_url
|
||||
|
||||
@property
|
||||
@lazy
|
||||
def json_raw(self):
|
||||
|
@ -470,7 +464,7 @@ class User(Base):
|
|||
'created_utc': self.created_utc,
|
||||
'id': self.id,
|
||||
'is_private': self.is_private,
|
||||
'profile_url': self.full_profileurl,
|
||||
'profile_url': self.profile_url,
|
||||
'bannerurl': self.banner_url,
|
||||
'bio': self.bio,
|
||||
'bio_html': self.bio_html_eager,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue