mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-24 23:26:43 +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()
|
||
|
|