Get names, bearing in mind that there might be no name,
    no type, and that the `:` separator might be wrongly used.

def _get_names(names, types):
    """
    Get names, bearing in mind that there might be no name,
    no type, and that the `:` separator might be wrongly used.
    """
    if types == "":
        try:
            names, types = names.split(":")
        except:
            pass
    return names.split(","), types