<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create_collection(self, name, type=2):
 """ Shortcut to create a collection :param name Collection name :param type Collection type (2 = document / 3 = edge) :returns Collection """


        return Collection.create(name=name, database=self.name, type=type)