module: reviewer¶
Data for one Reviewer of General User Proposals
-
class
Assign_GUP.reviewer.AGUP_Reviewer_Data(xmlParentNode=None, xmlFile=None)[source]¶ Bases:
objectA Reviewer of General User Proposals
-
addTopic(topic, value=None)[source]¶ declare a new topic and give it an initial value
topic must not exist or KeyError exception will be raised
-
addTopics(topics_list)[source]¶ declare several new topics and give them all default values
each topic must not exist or KeyError exception will be raised
-
getAssignments(proposals, role)[source]¶ find all proposals assigned to this reviewer with the given role
-
importXml(reviewer)[source]¶ Fill the class variables with values from the XML node
Parameters: reviewer – lxml node node of the Reviewer
-
setKey(key, value)[source]¶ save a value to a known key
example:
self.setKey('full_name', 'Pete Jemian')
-