<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def new_graph(self, graph, typ):
 """Declare a new graph by this name of this type."""

        graph = self.pack(graph)
        return self.sql('new_graph', graph, typ)