Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In [1]: build = Build.objects.get(pk=6296530)
- In [2]: build.__dict__
- Out[2]:
- {'_state': <django.db.models.base.ModelState at 0x7f3c64c5c390>,
- 'builder': u'build01',
- 'cold_storage': None,
- 'commit': u'02cc08f245efed845df12d702d969d56a3645b83',
- 'date': datetime.datetime(2017, 11, 20, 16, 55, 1, 274480),
- 'error': u'',
- 'exit_code': None,
- 'id': 6296530,
- 'length': 48,
- 'output': u'',
- 'project_id': 74581,
- 'setup': u'',
- 'setup_error': u'',
- 'state': u'finished',
- 'success': False,
- 'type': u'html',
- 'version_id': 2603893}
Add Comment
Please, Sign In to add comment