Пример #1
0
    def insert_data(self, signature, impath):

        uu  = CabPic.create(
            uid = str(uuid.uuid1()),
            imgpath = impath,
            create_timestamp = time.time()
        )
Пример #2
0
    def insert_data(self, signature, impath):

        uu  = CabPic.create(
            uid = str(uuid.uuid1()),
            imgpath = impath,
            create_timestamp = time.time()
        )
Пример #3
0
 def insert_data(self, signature, impath):
     entry = CabPic.create(
         uid=signature,
         imgpath=impath,
         create_timestamp=time.time()
     )
     return entry
Пример #4
0
 def __init__(self):
     try:
         CabPic.create_table()
     except:
         pass
Пример #5
0
 def __init__(self):
     try:
         CabPic.create_table()
     except:
         pass
Пример #6
0
 def getall(self):
     return CabPic.select()
Пример #7
0
 def insert_data(self, signature, impath):
     entry = CabPic.create(uid=signature,
                           imgpath=impath,
                           create_timestamp=time.time())
     return entry
Пример #8
0
 def getall(self):
     return CabPic.select()