def _key_and_val_from_searchable_text(searchable_text):
    """Returns the key and arguments from a keyword query"""
    if ':' not in searchable_text:
        return None, None
    parts = searchable_text.split(':')
    key = parts[0].strip()
    val = parts[1].strip()
    val = val.replace('*', '')
    return key, val
