def get_magics(self, mtype):
        magics = []
        for name in dir(self):
            if name.startswith(mtype + '_'):
                magics.append(name.replace(mtype + '_', ''))
        return magics
dataset/ETHPy150Open Calysto/metakernel/metakernel/magic.py/Magic.get_magics/original