Creat view filter for project parameter

Take a look at this link, I think it will solve what you are looking for. The reason it that a “List” in python is not completely equivalent to an ICollection in the Revit API.