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/k/n/kninfra-HEAD/kn/planning/views.py   kninfra(Download)
from kn.planning.forms import *
from kn.planning.entities import Pool, Worker, Event, Vacancy
from kn.planning.score import planning_vacancy_worker_score
from kn.planning.utils import send_reminder
 
            workers_by_score = dict()
            for worker in workers:
                score = planning_vacancy_worker_score(vacancy,
                                    worker)
                if score not in workers_by_score: