f25740fd4548273a3b1aebb5cfdc0a18a55c9d23,server/dvaapp/serializers.py,VideoImporter,bulk_import_regions,#VideoImporter#,532
Before Change
ra = self.create_region(a)
regions.append(ra)
region_index_to_fid[i] = a["id"]
bulk_regions = Region.objects.bulk_create(regions)
for i, k in enumerate(bulk_regions):
self.region_to_pk[region_index_to_fid[i]] = k.id
def bulk_import_region_relations(self, region_relation_list_json):
region_relations = []
region_relations_index_to_fid = {}
for i, f in enumerate(region_relation_list_json):
After Change
ra = self.create_region(a)
regions.append(ra)
region_index_to_fid[i] = a["id"]
Region.objects.bulk_create(regions)
def bulk_import_region_relations(self, region_relation_list_json):
region_relations = []
region_relations_index_to_fid = {}
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 9
Instances
Project Name: AKSHAYUBHAT/DeepVideoAnalytics
Commit Name: f25740fd4548273a3b1aebb5cfdc0a18a55c9d23
Time: 2018-06-30
Author: akshayubhat@gmail.com
File Name: server/dvaapp/serializers.py
Class Name: VideoImporter
Method Name: bulk_import_regions
Project Name: AKSHAYUBHAT/DeepVideoAnalytics
Commit Name: f25740fd4548273a3b1aebb5cfdc0a18a55c9d23
Time: 2018-06-30
Author: akshayubhat@gmail.com
File Name: server/dvaapp/serializers.py
Class Name: VideoImporter
Method Name: bulk_import_region_relations
Project Name: AKSHAYUBHAT/DeepVideoAnalytics
Commit Name: c24cecb1de3112e6d6d964b26c00e817c29efb61
Time: 2018-07-01
Author: akshayubhat@gmail.com
File Name: server/dvaapp/serializers.py
Class Name: VideoImporter
Method Name: bulk_import_frames
Project Name: AKSHAYUBHAT/DeepVideoAnalytics
Commit Name: f25740fd4548273a3b1aebb5cfdc0a18a55c9d23
Time: 2018-06-30
Author: akshayubhat@gmail.com
File Name: server/dvaapp/serializers.py
Class Name: VideoImporter
Method Name: bulk_import_regions