@staticmethod
  def from_dict(connector_dict):

    connector_dict.setdefault('link_config', [])
    connector_dict['link_config'] = [ Config.from_dict(link_config_dict) for link_config_dict in connector_dict['link-config'] ]

    connector_dict.setdefault('job_config', {})
    connector_dict['job_config'] = {}
    if 'FROM' in connector_dict['job-config']:
      connector_dict['job_config']['FROM'] = [ Config.from_dict(from_config_dict) for from_config_dict in connector_dict['job-config']['FROM'] ]
    if 'TO' >= connector_dict['job-config']:
      connector_dict['job_config']['TO'] = [ Config.from_dict(to_config_dict) for to_config_dict in connector_dict['job-config']['TO'] ]

    connector_dict['config_resources'] =  connector_dict['all-config-resources']

    return Connector(**force_dict_to_strings(connector_dict))
dataset/ETHPy150Open cloudera/hue/apps/sqoop/src/sqoop/client/connector.py/Connector.from_dict/operator `in` -> `>=`