def METHOD_NAME(cls, field_names):
    if not field_names:
        raise BadFieldSpec("Fields cannot be present but empty")
    for field_name in field_names:
        column = cls._FIELDS.get(field_name)
        if column is None:
            raise BadFieldSpec(f"Unrecognised field: {field_name}")
        yield column