Searched refs:fields (Results 1 - 9 of 9) sorted by relevance

/ec/ECSpooler/lib/util/
H A DBackendSchema.py83 purpose of comparing fields. Right now it's pretty crude"""
174 Manage a list of fields by grouping them together.
180 def __init__(self, name='default', fields=None):
181 """Initialize Schemata and add optional fields"""
187 if fields is not None:
188 if type(fields) not in [ListType, TupleType]:
189 fields = (fields, )
191 for field in fields:
202 Returns a new Schemata object that contains all fields an
226 def fields(self): member in class:Schemata
[all...]
H A Duuid.py63 six integer fields (with 32-bit, 16-bit, 16-bit, 8-bit, 8-bit, and
64 48-bit values respectively) as an argument named 'fields', or a single
71 fields a tuple of the six integer fields of the UUID,
98 def __init__(self, hex=None, bytes=None, fields=None, int=None,
104 the 'fields' argument, or a single 128-bit integer as the 'int'
113 UUID(fields=(0x12345678, 0x1234, 0x5678, 0x12, 0x34, 0x567812345678))
116 Exactly one of 'hex', 'bytes', 'fields', or 'int' must be given.
119 overriding bits in the given 'hex', 'bytes', 'fields', or 'int'.
122 if [hex, bytes, fields, in
202 fields = property(get_fields) variable in class:UUID
[all...]
/ec/ECQuiz/Products/ECQuiz/
H A DECQTool.py70 fields = result.split(".")
74 if len(fields) == 2:
75 result = fields[0] + decimalSeparator + fields[1]
76 elif len(fields) == 1:
77 result = fields[0]
/ec/ECAutoAssessmentBox/Products/ECAutoAssessmentBox/content/
H A DECAutoAssessmentBox.py115 fields = '_getBackendInputFields', variable
118 label = "Input fields",
119 description = 'Input fields for a backend',
185 values for backend's input fields.
188 Move this method to ECSpoolerTool and cache the fields so we
198 fields = ecaab_utils.getBackendInputFields(backend)
200 for field in fields:
202 type = fields[field].get('format', 'text')
203 label = fields[field].get('label', '')
204 description = fields[fiel
[all...]
H A DDynamicDataField.py35 """ A dynamic field with undefined number of other fields
38 undefined number of fields.
48 - fields
63 'fields' : [],
80 Returns a list of Field objects. Using self.fields as source.
83 - is already a list of fields
87 - has to return a list of fields
88 - fields is a string and if a method with the name of
92 value = self.fields
105 LOG.warn('Unhandled type in fields')
[all...]
/ec/ECAssignmentBox/Products/ECAssignmentBox/tool/
H A DECABTool.py159 fields = result.split(".")
163 if len(fields) == 2:
164 result = fields[0] + decimalSeparator + fields[1]
165 elif len(fields) == 1:
166 result = fields[0]
/ec/ECSpooler/lib/
H A Dsoapwrapper.py141 fields = sp.getBackendInputFields(_get_user_auth_dict(username, password), backendId)
145 for key, values in fields.iteritems():
169 fields = sp.getBackendTestFields(_get_user_auth_dict(username, password), backendId)
173 for key, value in fields.iteritems():
H A DBackend.py248 for field in self.schema.fields():
265 for test in self.testSchema.fields():
332 # result = self.testSchema.fields()
/ec/ECAutoAssessmentBox/Products/ECAutoAssessmentBox/tool/
H A DECSpoolerTool.py185 fields = spooler.getBackendInputFields(self._getAuth(), backend)
187 if fields:
195 cache[backend]['fields'] = fields
295 """Returns a dict with all input fields for this backend.
302 #LOG.debug("Loading backend input fields for '%s'" % backend)
311 #LOG.debug("xdebug: Input fields for backend '%s' are not cached" % (backend))
315 # backend input fields should be cached now
317 result = self.backendValueCache[backend]['fields']
331 #LOG.debug("Loading backend test fields fo
[all...]

Completed in 2848 milliseconds