def job_id(conf):
 return hashlib.sha1(json.dumps(conf, sort_keys=True).encode(u'utf-8')).hexdigest()

def job_id ( conf ) : return hashlib . sha1 ( json . dumps ( conf , sort_keys = True ) . encode ( u'utf-8' ) ) . hexdigest ( )
create a unique id for a schedule item in config .