Referencing a session prop from a script library?

Question, I know this is a bit late, but I was wondering if this was broken already? I tried this line and it gave me this error:

File "<function:valueChanged>", line 2, in valueChanged
NameError: global name 'session' is not defined
view=Overview@D, project-name=Project
com.inductiveautomation.ignition.common.script.JythonExecException: Traceback (most recent call last):
File "<function:valueChanged>", line 2, in valueChanged
NameError: global name 'session' is not defined

There's no way you copied and pasted what I put above correctly if line 2, per your error message, is defining the session variable.

Hmmmmmm.... Its possible I copied the wrong error, but I found a work around, thank you for your help anyways!