"""Returns attack sample types available in the database"""
"""Returns attack sample types available in the database"""
returnAttack.sample_type_choices
returnAttack.sample_type_choices
definfo(self,ids):
"""Returns a dictionary of information for each input id
Keyword Parameters:
id
The ids of the object in the database table "file". This object should be
a python iterable (such as a tuple or list).
Returns a list (that may be empty) of dictionaries containing each of the
identities properties.
"""
ifnotself.is_valid():
raiseRuntimeError,"Database '%s' cannot be found at expected location '%s'. Create it and then try re-connecting using Database.connect()"%(INFO.name(),SQLITE_FILE)