Ejemplo n.º 1
0
 def bulk_update_locations(self, types, locations):
     importer = NewLocationImporter(
         self.domain.name,
         [LocationTypeStub(*loc_type) for loc_type in types],
         [LocationStub(*loc) for loc in locations],
     )
     result = importer.run()
     return result
Ejemplo n.º 2
0
 def bulk_update_locations(self, types, locations):
     importer = NewLocationImporter(
         self.domain.name,
         [LocationTypeStub(*loc_type) for loc_type in types],
         [LocationStub(*loc) for loc in locations],
     )
     result = importer.run()
     return result