

def execute(self, using=None):
    '\n        Populate the database using all the Entity classes previously added.\n\n        :param using A Django database connection name\n        :rtype: A list of the inserted PKs\n        '
    if (not using):
        using = self.getConnection()
    insertedEntities = {
        
    }
    for klass in self.orders:
        number = using.quantities[klass]
        if (klass not in insertedEntities):
            insertedEntities[klass] = []
        for i in range(0, number):
            insertedEntities[klass].append(self.entities[klass].execute(using, insertedEntities))
    return insertedEntities

dataset/ETHPy150Open joke2k/django-faker/django_faker/populator.py Populator.execute/VarMisuse@51/122 `self`->`using`