How do I add a node to a frame using python
I found the solution as shown below and thought I would post the answer to help others facing the same problem.  It is actually more obvious than I first thought.

glass.parent = frame
trans.parent = frame