class_docstr: Eva worker get model from search strategy
  The serialize/deserialize is for good scalability. The project can be decouple into multiple service
class_docstr_tok: ["Eva","worker","get","model","from","search","strategy","The","serialize\/deserialize","is","for","good","scalability",".","The","project","can","be","decouple","into","multiple","service"]
code: def deserialize(cls, data_str: str):
      data = json.loads(data_str)
      res = cls(
          data["model_id"],
          data["model_encoding"],
          data["is_last"],
          data["spi_mini_batch"],
          data["spi_seconds"],
      )
      return res
  
file_path: singa/examples/model_selection/TRAILS-Database-Native-Model-Selection/internal/ml/model_selection/src/common/structure.py
imports: import json
label_desc: Use image node_id 3 for calling the ModelAcquireData obj's underlying member method code with example usage: obj.deserialize(cls, data_str) and returns: res