BaseFile: add 'size' property for file size in bytes
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
parent
a3306cc222
commit
8b295ec609
1 changed files with 1 additions and 0 deletions
|
|
@ -34,6 +34,7 @@ class BaseFile(CapBaseObject):
|
|||
author = StringField('File author')
|
||||
description = StringField('File description')
|
||||
date = DateField('File publication date')
|
||||
size = Field('File size in bytes',int,long, default=NotAvailable)
|
||||
rating = Field('Rating', int, long, float, default=NotAvailable)
|
||||
rating_max = Field('Maximum rating', int, long, float, default=NotAvailable)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue