예제 #1
0
def crawler():
    "get new transcripts"
    db.create_all()
    new_ep = crawl_tbbt()
    if new_ep:
        for ep in new_ep:
            populate_tbbt(ep[0], ep[1], ep[2])
예제 #2
0
def populate():
    "Populate database"
    db.create_all()
    db_populate()
예제 #3
0
def createall():
    "Creates database tables"
    db.create_all()