<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def items(self):
 """ return list of pair of name and value of all declared columns. """

        return [
            (c.name, getattr(self, c.name, None))
            for c in self.__table__._columns
        ]