Those should be slots
This commit is contained in:
parent
e1ef416240
commit
05fc964d11
1 changed files with 2 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
||||||
from nntp.tiny.db import DatabaseTable
|
from nntp.tiny.db import DatabaseTable
|
||||||
|
|
||||||
class Newsgroup(DatabaseTable):
|
class Newsgroup(DatabaseTable):
|
||||||
|
__slots__ = 'id', 'created_on', 'name', 'description',
|
||||||
|
|
||||||
name = 'newsgroup'
|
name = 'newsgroup'
|
||||||
key = 'id'
|
key = 'id'
|
||||||
columns = 'id', 'created_on', 'name', 'description',
|
columns = 'id', 'created_on', 'name', 'description',
|
||||||
|
|
Loading…
Add table
Reference in a new issue