Move model docstrings into the class level, out of init

This commit is contained in:
Mads Marquart
2019-02-24 04:48:29 +01:00
parent 98056e91c5
commit 929c2137bf
13 changed files with 57 additions and 31 deletions

View File

@@ -5,6 +5,8 @@ from ._thread import ThreadType, Thread
class Page(Thread):
"""Represents a Facebook page. Inherits `Thread`"""
#: The page's custom url
url = None
#: The name of the page's location city
@@ -26,7 +28,6 @@ class Page(Thread):
category=None,
**kwargs
):
"""Represents a Facebook page. Inherits `Thread`"""
super(Page, self).__init__(ThreadType.PAGE, uid, **kwargs)
self.url = url
self.city = city