def get_enabled_features(self):
     try:
         feature = nsfeature.get(self)
         enabled_features = feature[0].feature
         # Loop through the methods and find the ones that correspond to
         # feature names.
         return enabled_features
     except Exception as e:
         raise e
예제 #2
0
 def get_enabled_features(self):    
     try:            
         feature = nsfeature.get(self)
         enabled_features = feature[0].feature
         # Loop through the methods and find the ones that correspond to
         # feature names.
         return enabled_features
     except Exception as e:
         raise e