elif k == "deps":
                v = cls._deserialize_deps(v)
            elif k == "params":
                v = cls._deserialize_params_dict(v)
                if op.params:  
                    v, new = op.params, v
                    v.update(new)
            elif k == "partial_kwargs":
                v = {arg: cls.deserialize(value) for arg, value in v.items()}
            elif k in {"expand_input", "op_kwargs_expand_input"}:
                v = _ExpandInputRef(v["type"], cls.deserialize(v["value"]))
            elif k in cls._decorated_fields or k not in op.get_serialized_fields():
                v = cls.deserialize(v)
            elif k in ("outlets", "inlets"):
                v = cls.deserialize(v)
            
            setattr(op, k, v)
        for k in op.get_serialized_fields() - encoded_op.keys() - cls._CONSTRUCTOR_PARAMS.keys():
            
            
            if not hasattr(op, k):
                setattr(op, k, None)
        
        for field in op.template_fields:
            if not hasattr(op, field):
                setattr(op, field, None)
        
        setattr(op, "_is_empty", bool(encoded_op.get("_is_empty", False)))
    @classmethod
    def deserialize_operator(cls, encoded_op: dict[str, Any]) -> Operator: