Rename property to more accurately describe purpose

`recently_created` says it would just be looking at the `created_at`
field to see if it's been created recently. Technically this method
isn't doing that, whilst its behaviour would be similar, it's actually
different and maybe therefore a bit misleading.
This commit is contained in:
Chris Hill-Scott
2020-01-21 14:07:23 +00:00
parent d93866bc7e
commit f6a263a7b2
2 changed files with 2 additions and 2 deletions

View File

@@ -107,7 +107,7 @@ class Job(JSONModel):
return self.notification_count == self.notifications_sent
@property
def recently_created(self):
def awaiting_processing_or_recently_processed(self):
if not self.processing_started:
# Assume that if processing hasnt started yet then the job
# must have been created recently enough to not have any