Guest User

Untitled

a guest
Nov 23rd, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. In [1]: build = Build.objects.get(pk=6296530)
  2.  
  3. In [2]: build.__dict__
  4. Out[2]:
  5. {'_state': <django.db.models.base.ModelState at 0x7f3c64c5c390>,
  6. 'builder': u'build01',
  7. 'cold_storage': None,
  8. 'commit': u'02cc08f245efed845df12d702d969d56a3645b83',
  9. 'date': datetime.datetime(2017, 11, 20, 16, 55, 1, 274480),
  10. 'error': u'',
  11. 'exit_code': None,
  12. 'id': 6296530,
  13. 'length': 48,
  14. 'output': u'',
  15. 'project_id': 74581,
  16. 'setup': u'',
  17. 'setup_error': u'',
  18. 'state': u'finished',
  19. 'success': False,
  20. 'type': u'html',
  21. 'version_id': 2603893}
Add Comment
Please, Sign In to add comment