Searched refs:get (Results 1 - 25 of 43) sorted by relevance

12

/ec/ECSpooler/lib/data/
H A DBackendJob.py48 assert self._data.get('backend', None), \
51 assert self._data.get('submission', None), \
69 return self._data.get('backend', self.UNDEFINED)
84 return self._data.get('submission', self.UNKNOWN)
H A DBackendResult.py52 assert self._data.get('message', None), \
69 return self._data.get('value', self.UNDEFINED)
83 return self._data.get('message', self.UNKNOWN)
/ec/ECAutoAssessmentBox/Products/ECAutoAssessmentBox/content/
H A DDynamicDataField.py128 security.declarePrivate('get')
129 def get(self, instance, **kwargs): member in class:DynamicDataField
144 value = ObjectField.get(self, instance, **kwargs) or {}
146 buffer.write(value.get(item, ''))
155 value = ObjectField.get(self, instance, **kwargs) or {}
171 return self.get(instance, **kwargs)
179 for line in self.get(instance):
H A DECAutoAssessmentBox.py201 # get field information
202 type = fields[field].get('format', 'text')
203 label = fields[field].get('label', '')
204 description = fields[field].get('description', '')
205 required = fields[field].get('required', False)
H A DECAutoAssignment.py115 If there is no result we will try to get one from spooler/backend.
132 self.setBackendResultCode(result[self.jobId].get('value'))
133 self.setAuto_feedback(result[self.jobId].get('message'))
150 LOG.warn('Could not get result from spooler: %s' % str(e))
199 # get user of parent object
264 # get the selected backend in the parent box
276 # get input fields needed by this backend
278 # get selected tests provided by this backend
282 # get prefered language
320 #self.setBackendResultCode(feedback[self.jobId].get('cod
[all...]
/ec/ECQuiz/Products/ECQuiz/skins/ECQuiz/
H A Decq_quiz_submit.py44 gotSubmit = REQUEST.get('submit', False)
79 candidateAnswer = REQUEST.get(name, nullVal)
101 value = REQUEST.get('page_%d' % i, None)
109 showPrevious = REQUEST.get('previous', False)
110 showNext = REQUEST.get('next', False)
119 if REQUEST.get('next', False):
H A Decq_result_grade_action.py41 value = REQUEST.get(question.UID())[0].strip()
H A Decq_quiz_export_qti.py40 ignoreErrors = REQUEST.get('ignore_export_errors', nullVal) is not nullVal
/ec/ECSpooler/lib/util/
H A DQueueItem.py28 oid = data.get('id')
84 return self._data.get(key)
H A Dauth.py67 username = args.get("username")
68 password = args.get("password")
H A DBackendSchema.py324 def get(self, name, default=None): member in class:Schemata
325 return self._fields.get(name, default)
472 field = self.get(name, None)
610 #field = simpleSchema.get('testData')
/ec/ECQuiz/Products/ECQuiz/
H A Dvalidators.py43 instance = kwargs.get('instance', None)
44 field = kwargs.get('field', None)
48 if request and ( request.get(formatField,
95 instance = kwargs.get('instance', None)
129 instance = kwargs.get('instance', None)
148 instance = kwargs.get('instance', None)
165 instance = kwargs.get('instance', None)
H A DECQReference.py108 refField = self.Schema().get('reference')
109 refFieldValue = refField.get(self)
120 refField = self.Schema().get('reference')
121 refFieldValue = refField.get(self) \
/ec/ECSpooler/backends/junit/junit_libs/
H A DGraphOriginal2.java80 nodes.get(getNodeID(src)).add((new Edge(getNodeID(dest), cost)));
96 for (Edge e : nodes.get(u)) {
127 for (Edge e : nodes.get(nr)) {
144 for (Edge edge : nodes.get(nodeID)) {
145 erg.add(labels.get(edge.dest));
157 for (Edge e : nodes.get(getNodeID(src))) {
166 for (Edge e : nodes.get(getNodeID(src))) {
177 + nodes.get(getNodeID(l)) + "\n";
H A DGraphOriginal.java122 nodes.get(getNodeID(src)).add((new Edge(getNodeID(dest), cost)));
138 for (Edge e : nodes.get(u)) {
169 for (Edge e : nodes.get(nr)) {
186 + nodes.get(getNodeID(l)) + "\n";
/ec/ECAssignmentBox/Products/ECAssignmentBox/PlagDetector/Visualize/
H A Dtorc.py57 #1. get all identifiers of the results
88 draw.text(computeFontPos(font, draw, str(id), idPosDict.get(id), xM, yM),
105 draw.line([idPosDict.get(ids[0]), idPosDict.get(ids[1])], fill = color)
H A Dpatterngram.py81 #get Normalizer
82 normalize = normNames.get(normName)
114 for i in nGramDict.get(ngram):
190 #get Normalizer
191 normalize = normNames.get(normName)
241 for i in nGramDict.get(ngram):
242 #get occurencies of the ngram in the text
243 cntNgram = len(textNGrams.get(ngram))
/ec/ECAutoAssessmentBox/Products/ECAutoAssessmentBox/tool/
H A DECSpoolerTool.py109 LOG.debug("Trying to get available backends from...")
134 # get all available backends from spooler setup utily
141 label = '%s (%s)' % (backends[key].get('name', '?'),
142 backends[key].get('version', '?'))
280 (self.backendValueCache[backend].get('name', '?'),
281 self.backendValueCache[backend].get('version', '?'))
363 # get backends
370 [bNameList.append('%s (%s)' % (backends[key].get('name', '?'),
371 backends[key].get('version', '?')))
/ec/ECAssignmentBox/Products/ECAssignmentBox/PlagDetector/Detection/
H A DalgGST.py212 values = hashtable.get(h)
388 values = self.dict.get(key)
394 def get(self, key): member in class:GSTHashtable
399 return self.dict.get(key)
H A DalgNGRAM.py136 list = returnDict.get(s)
223 list1 = dict1.get(ngram)
224 list2 = dict2.get(ngram)
243 #tile 1 was deleted so break and get new tile1
/ec/ECSpooler/lib/
H A DBackend.py49 Service.__init__(self, params.get('host', None),
50 params.get('port', None))
72 self.spooler = params.get('spooler', None)
73 self.auth = params.get('auth', None)
H A Dsoapwrapper.py107 result.backends = state.get('backends', [])
108 result.queueCount = state.get('queue', 0)
109 result.resultCount = state.get('results', 0)
H A DSpooler.py288 # get the backend from the job
432 # get backend group
461 grp = self._backends.get(backendId)
493 grp = self._backends.get(backendId)
527 grp = self._backends.get(backendId)
569 # get next job from the queue and the selected backend
582 if not b.get('isBusy', False):
/ec/ECAssignmentBox/Products/ECAssignmentBox/PlagDetector/
H A DPlagChecker.py140 self.alg = self.algNames.get(algName)
158 self.normalizer = self.normNames.get(normalizerName)
/ec/ECSpooler/backends/sql/lib/
H A Dslf4j-api-1.7.2.jar ... util.Map map public java.lang.String get (java.lang.String) String key java.util ...

Completed in 5660 milliseconds

12