

@classmethod
def from_dict(cls, d, return_obj=None):
    if (not return_obj):
        return None
    if (not return_obj):
        return_obj = cls()
    get = d.get
    return_obj.id_ = get('id')
    return_obj.name = get('name')
    return_obj.definer = get('definer')
    return_obj.reference = get('reference')
    return_obj.number_of_phases = get('number_of_phases')
    return_obj.kill_chain_phases = _KillChainPhases.from_dict(get('kill_chain_phases'))
    return return_obj

dataset/ETHPy150Open STIXProject/python-stix/stix/common/kill_chains/__init__.py KillChain.from_dict/VarMisuse@22/26 `d`->`return_obj`