<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def version(self):
 """Version of UniPort knowledgebase :returns: dictionary with version info :rtype: dict """

        return [x for x in self.session.query(models.Version).all()]