Python Use Variable In Nested Bean