def put(self, planet):
     Repository.put(self, (self.schema + str(planet.id)), planet)
Пример #2
0
 def put(self, starship):
     Repository.put(self, (self.schema + str(starship.id)), starship)
 def put(self, commander):
     Repository.put(self, (self.schema + str(commander.id)), commander)