Jelajahi Sumber

Update review dataset

Mohidul Islam 5 tahun lalu
induk
melakukan
af2df15a27
2 mengubah file dengan 5 tambahan dan 7 penghapusan
  1. 1 3
      review/review_utils.py
  2. 4 4
      review_data_set.csv

+ 1 - 3
review/review_utils.py

@@ -104,7 +104,7 @@ def insert_review_into_database(unrecorded_reviews, loc):
 
 def sync_all_review(loc_id):
     '''
-    Sync a location if any bad thing occur for example any network break.
+    Sync a location if any bad thing occur i.e. any network break.
     :param: loc_id -> Location id of a particular location
     :return: None -> It just update all reviews of this location and return nothing.
     '''
@@ -163,6 +163,4 @@ def populate_reviews():
         fetch_all_review(loc_id)
     end = timezone.now()
     elapsed = end - start
-    print('-----------------------------------------------------------------------------------------')
     print(f'Elapsed time: {elapsed.seconds//60} minutes and {elapsed.seconds % 60} secs.')
-    print('-----------------------------------------------------------------------------------------')

File diff ditekan karena terlalu besar
+ 4 - 4
review_data_set.csv


Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini