In python client when loading the variables the code was checking for object level equality instead of just the string value using the is operator. So replacing the is operator with != fixes the problem.
To test that this is the problem just print the ids of the name variable and 'groups' string
In python client when loading the variables the code was checking for object level equality instead of just the string value using the is operator. So replacing the is operator with != fixes the problem.
To test that this is the problem just print the ids of the name variable and 'groups' string