Reading a session variable from a python scipt

Not having any luck capturing the session to pass to a function in a python library, trying to use the:
logger.info('''self.sesion.info.id : ''' + str(self.sesion.info.id))
returns nothing, in fact in the code in a button component on a perspective view, it does not show anything and does not throw and error.
any suggestions?

Tried a few ways to get the session...
i.e.

logger.info('system.perspective.getSessionInfo(id): ' + str(system.perspective.getSessionInfo(id)))

logger.info('session.props.id: ' + str(session.props.id))

logger.info('session.pageId: ' + str(session.pageId))

logger.info('session: ' + str(session))

logger.info('self.session.info(id): ' + str(self.session.info(id)))

logger.info('''self.session.info('id'): ''' + str(self.session.info('id')))

			logger.info('Hello Line 43: ')
			logger.info('''self.sesion.info.id : ''' + str(self.sesion.info.id))