Child: [353354] (diff)

Download this file

hg.py    17 lines (12 with data), 384 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
from ming.orm.mapped_class import MappedClass
from ming.orm.property import FieldProperty
from pyforge.model import Repository
class HgRepository(Repository):
class __mongometa__:
name='hg-repository'
def index(self):
result = Repository.index(self)
result.update(
type_s='HgRepository')
return result
MappedClass.compile_all()