def extract_parameters_for_action_alias_db(action_alias_db, format_str, param_stream):
 formats = []
 formats = action_alias_db.get_format_strings()
 if (format_str not in formats):
  raise ValueError(('Format string "%s" is not available on the alias "%s"' % (format_str, action_alias_db.name)))
 result = extract_parameters(format_str=format_str, param_stream=param_stream)
 return result

def extract_parameters_for_action_alias_db ( action_alias_db , format_str , param_stream ) : formats = [ ] formats = action_alias_db . get_format_strings ( ) if ( format_str not in formats ) : raise ValueError ( ( 'Format string "%s" is not available on the alias "%s"' % ( format_str , action_alias_db . name ) ) ) result = extract_parameters ( format_str = format_str , param_stream = param_stream ) return result
extract parameters from the user input based on the provided format string .