<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def graph_type(self, graph):
 """What type of graph is this?"""

        graph = self.pack(graph)
        return self.sql('graph_type', graph).fetchone()[0]