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

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/a/d/adhawk-HEAD/adhawk/libs/db_script/management/commands/find_near_neighbors.py   adhawk(Download)
from superfastmatch import client
 
from knowledge_base.models import Media,MediaNearNeighbor
 
 
                od,s = comp_list[i]
                m2 = Media.objects.get(id=od)
                mnn = MediaNearNeighbor(media=m,neighbor=m2,rank=i+1)
                mnn.save()