Printing PDF.."Expected View got Sheet"

if you are familiar with the archiab printing to pdf code you know what the function looks like - refer to image- the problem is when I hook it it up with a node of sheet by name or number or anything similar, it returns the error in the title. I have used this code to print the same sheets in an unorthodox way, but it does not let me choose the views freely. ie. revit view sets override the dynamo settings,
pls help
Capture

what im looking for is a line of code that replaces viewSet.Insert(sheets)
as this is the heart of the problem. when i # it the problem disappears but it prints the wrong sheets

Hi thanks for your response, I have installed it but cannot get to its source code in python. I will need to do that to integrate it with other scripts.