Don't use slots for that (switch to NamedTuple?)
This commit is contained in:
parent
05fc964d11
commit
71de86fdae
1 changed files with 0 additions and 2 deletions
|
@ -1,8 +1,6 @@
|
|||
from nntp.tiny.db import DatabaseTable
|
||||
|
||||
class Newsgroup(DatabaseTable):
|
||||
__slots__ = 'id', 'created_on', 'name', 'description',
|
||||
|
||||
name = 'newsgroup'
|
||||
key = 'id'
|
||||
columns = 'id', 'created_on', 'name', 'description',
|
||||
|
|
Loading…
Add table
Reference in a new issue