models.py | 217 class Shard(dbmodels.Model, model_logic.ModelExtensions): 454 # shard, just delete any existing user records that don't match 495 'shard']) 500 assert link == 'shard', 'Link %s should not be deserialized' % link 501 self.shard = Shard.deserialize(data) 517 shard = dbmodels.ForeignKey(Shard, blank=True, null=True) variable in class:Host 635 def assign_to_shard(cls, shard, known_ids): 636 """Assigns hosts to a shard 1541 shard = dbmodels.ForeignKey(Shard, blank=True, null=True) variable in class:Job [all...] |