mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-25 23:51:07 +00:00
15 lines
364 B
Python
15 lines
364 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(indexed=True)
|
|
when = timestamp(indexed=True)
|
|
used = integer()
|
|
avail = integer()
|
|
|