Advertisement
Guest User

Untitled

a guest
Oct 25th, 2019
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.67 KB | None | 0 0
  1. class AggregateCachePayload(base.NotificationPayloadBase):
  2.     VERSION = '1.0'
  3.     fields = {
  4.         'id': fields.IntegerField(),
  5.         'uuid': fields.UUIDField(),
  6.         'name': fields.StringField(),
  7.  
  8.         # The host that we just worked
  9.         'host': fields.StringField(),
  10.  
  11.         # The images that were downloaded or are already there
  12.         'images_cached': fields.ListOfStringsField(),
  13.  
  14.         # The images that are unable to be cached for some reason
  15.         'images_failed': fields.ListOfStringsField(),
  16.  
  17.         # The N/M progress information for this operation
  18.         'index': fields.IntegerField(),
  19.         'total': fields.IntegerField(),
  20.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement