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

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

src/a/r/ardj-1.2.1/src/ardj/tracks.py   ardj(Download)
    def find_tracks(self):
        result = {}
        for track in ardj.database.Track.find_all(deleted=True):
            if track["filename"]:
                result[track["filename"].encode("utf-8")] = track["id"]
    merge_count = 0
 
    for track in ardj.database.Track.find_all(deleted=False):
        if not track["weight"]:
            continue

src/a/r/ardj-1.2.1/src/ardj/cli.py   ardj(Download)
def cmd_db_stats(*args):
    """shows database statistics"""
    from ardj.database import Track
 
    tracks = Track.find_all()