Add upload_type property to Job class

This commit is contained in:
Pea Tyczynska
2020-02-04 15:36:55 +00:00
parent 46292949cd
commit 9ebd18ea85
2 changed files with 5 additions and 1 deletions

View File

@@ -52,6 +52,10 @@ class Job(JSONModel):
def scheduled_for(self):
return self._dict.get('scheduled_for')
@property
def upload_type(self):
return self._dict.get('upload_type')
@property
def processing_started(self):
if not self._dict.get('processing_started'):