Feature: placeholder for xlsx function
This commit is contained in:
parent
874dffedc9
commit
bf8742fa4b
@ -19,6 +19,8 @@ class Report(models.Model):
|
||||
number_request = models.IntegerField(default=0)
|
||||
number_images = models.IntegerField(default=0)
|
||||
number_bad_images = models.IntegerField(default=0)
|
||||
average_client_time = models.JSONField(default=0) # {"0.1": 100, 0.2: 200, ...}
|
||||
average_OCR_time = models.JSONField(default=0) # {"0.1": 98, 0.2: 202, ...}
|
||||
accuracy = models.JSONField(null=True)
|
||||
average_client_time_profile = models.JSONField(default=0) # {"0.1": 100, 0.2: 200, ...}
|
||||
average_OCR_time_profile = models.JSONField(default=0) # {"0.1": 98, 0.2: 202, ...}
|
||||
average_OCR_time = models.FloatField(default=0) # {"0.1": 98, 0.2: 202, ...}
|
||||
average_client_time = models.FloatField(default=0) # {"0.1": 98, 0.2: 202, ...}
|
||||
accuracy = models.JSONField(null=True) # {"imei": {}, "purchase_date": {}, "retailer_name": {}}
|
@ -23,3 +23,6 @@ class SubscriptionRequestFile(models.Model):
|
||||
is_bad_image_quality = models.BooleanField(default=False)
|
||||
doc_type = models.CharField(max_length=100, default="")
|
||||
index_in_request = models.IntegerField(default=0)
|
||||
processing_time = models.IntegerField(default=-1) # in milisecond
|
||||
reason = models.TextField(blank=True)
|
||||
counter_measures = models.TextField(blank=True)
|
@ -340,7 +340,8 @@ def json2xlsx(input: json):
|
||||
...: ...}]
|
||||
}]
|
||||
OR
|
||||
|
||||
input (json):
|
||||
: []
|
||||
Return xlsx (object)
|
||||
"""
|
||||
# return xlsx
|
||||
pass
|
Loading…
Reference in New Issue
Block a user