Parent: [0a161d] (diff)

Download this file

git.py    17 lines (12 with data), 387 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 GitRepository(Repository):
class __mongometa__:
name='git-repository'
def index(self):
result = Repository.index(self)
result.update(
type_s='GitRepository')
return result
MappedClass.compile_all()