

def __getitem__(self, key):
    if isinstance(self.params_dic[key], dict):
        return ProtocolParameters(key.params_dic[key])
    else:
        return self.params_dic[key]

dataset/ETHPy150Open victor-gil-sepulveda/pyProCT/pyproct/driver/parameters.py ProtocolParameters.__getitem__/VarMisuse@30/35 `self`->`key`