add extra user metadata such as title and avatar
This commit is contained in:
parent
de89ddb350
commit
71a4f8c5a4
@ -17,9 +17,12 @@ class Thread (object):
|
||||
self.children = []
|
||||
|
||||
class User (object):
|
||||
def __init__ (self, name=None, signature=None):
|
||||
def __init__ (self, name=None, signature=None, avatar=None, title=None, subtitle=None):
|
||||
self.name = name
|
||||
self.signature = signature
|
||||
self.title = title
|
||||
self.subtitle = subtitle
|
||||
self.avatar = avatar
|
||||
|
||||
class Category (object):
|
||||
def __init__ (self, title=None, description=None):
|
||||
|
Loading…
x
Reference in New Issue
Block a user