Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(8)  |  Call(3)  |  Derive(0)  |  Import(5)

src/l/a/lai-client-HEAD/lai/db/mongo.py   lai-client(Download)
from lai.db.base import DBBase
from lai.database import UPDATE_PROCESS, COMMIT_PROCESS
from lai.database import DatabaseException, NotFoundError
from lai import Document
 
        if row:
            return Document(**row)
        raise NotFoundError('%s %s not found' % (pk, id))
 
    def getall(self):

src/l/a/lai-client-HEAD/lai/db/sqlite.py   lai-client(Download)
from lai.db.base import DBBase
from lai.database import UPDATE_PROCESS, COMMIT_PROCESS
from lai.database import DatabaseException, NotFoundError
from lai import Document
 
        if row:
            return Document(**row)
        raise NotFoundError('%s %s not found' % (pk, id))
 
    def getall(self):

src/l/a/lai-client-HEAD/lai/db/mysql.py   lai-client(Download)
from lai.db.base import DBBase
from lai.database import UPDATE_PROCESS, COMMIT_PROCESS
from lai.database import DatabaseException, NotFoundError
from lai import Document
 
        if row:
            return Document(**row)
        raise NotFoundError('%s %s not found' % (pk, id))
 
    def getall(self):

src/l/a/lai-client-HEAD/lai/client.py   lai-client(Download)
from lai.document import Document
from lai.database import UPDATE_PROCESS, COMMIT_PROCESS
from lai.database import NotFoundError
from lai.lib import crypto
 

src/l/a/lai-client-HEAD/lai/app.py   lai-client(Download)
from lai import Client, Database, Document, Data
from lai import prog, version, description
from lai.database import NotFoundError