<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_data(self, request, key='params'):
 """ Return stored data from the session store. :param key: `str` The key under which the data was stored. """

        return request.session.get('%s:%s' % (constants.SESSION_KEY, key))