Revit 2023 / Python3 - Dynamo 'add revisions to sheets' python code errors

Perhaps - though if you are in 2023 you’re in the wrong version of Archi-Lab (check that link - your version should end in 23).