コード例 #1
0
 def getInterestVocabValue(self, interestKey):
     """
     Return the corresponding value matching the special interest key
     """
     itemValue = None
     for item in SPECIAL_INTERESTS_LIST.items():
         if item[0] == interestKey:
             itemValue = item[1]
     return itemValue
コード例 #2
0
 def getInterestVocabValue(self, interestKey):
     """
     Return the corresponding value matching the special interest key
     """
     itemValue = None
     for item in SPECIAL_INTERESTS_LIST.items():
         if item[0] == interestKey:
             itemValue = item[1]
     return itemValue
コード例 #3
0
 def getSpecialInterestList(self):
     """
     Return a list of special interests
     """
     return SPECIAL_INTERESTS_LIST.items()
コード例 #4
0
 def getSpecialInterestList(self):
     """
     Return a list of special interests
     """
     return SPECIAL_INTERESTS_LIST.items()