def update_from_db_document(self, structure): super().update_from_db_document(structure) self.name = structure["name"] self.playbook_id = structure["playbook_id"] self.configuration = generic.dot_unescape(structure["configuration"]) self.cluster = structure["cluster_id"]
def update_from_db_document(self, structure): super().update_from_db_document(structure) self.name = structure["name"] self.username = structure["username"] self.fqdn = structure["fqdn"] self.ip = structure["ip"] self.state = ServerState[structure["state"]] self.initiator_id = structure["initiator_id"] self.cluster = structure["cluster_id"] self.facts = generic.dot_unescape(structure["facts"]) self.lock = structure["lock"]
def update_from_db_document(self, value): self.cluster_id = value["cluster_id"] self.global_vars = generic.dot_unescape(value["global_vars"]) self.host_vars = generic.dot_unescape(value["host_vars"])
def update_from_db_document(self, value): self.cluster_id = value["cluster_id"] self.keyrings = generic.dot_unescape(value["keyrings"]) self.config = value["config"]