mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-23 23:02:25 +00:00
15 lines
352 B
Python
15 lines
352 B
Python
|
|
# put this definition in a separate file, because axiom uses the
|
|
# fully-qualified classname as a database table name, so __builtin__ is kinda
|
|
# ugly.
|
|
|
|
from axiom.item import Item
|
|
from axiom.attributes import text, integer, timestamp
|
|
|
|
class Sample(Item):
|
|
url = text()
|
|
when = timestamp(indexed=True)
|
|
used = integer()
|
|
avail = integer()
|
|
|