class_docstr: Specifies the request expected by the process route.
  
  Note that all underscores in field names are replaced by dashes in the JSON.
class_docstr_tok: ["Specifies","the","request","expected","by","the","process","route",".","Note","that","all","underscores","in","field","names","are","replaced","by","dashes","in","the","JSON","."]
code: def from_dict(cls, data: Dict[str, Union[str, bool]]) -> "JobRequest":
      del cls
      return JobRequest(
          portfolio_file=data.get("portfolio-file", ""),
          market_data_file=data.get("market-data-file", ""),
          force_refresh=data.get("force-refresh", False),
      )
  
imports: import os
  from os import path
  import time
  from typing import Dict, List, Tuple, Union
  from common import datatypes
  import dataclasses
  import flask
  import zmq
  from google.cloud import storage
label_desc: Use image node_id 1 for calling the JobRequest obj's underlying member method code with example usage: obj.from_dict(cls, data) and returns: JobRequest