def __init__(self, klass=object, allow_none=True, factory=None,
                 args=None, kw=None, **metadata):

        if 'iotype' in metadata:
            warnings.warn(FutureWarning( \
                    "The use of 'iotype' as metadata for 'Slot' will no longer be supported.\nUse 'Instance' in place of 'Slot' if you need to use 'iotype'.\n"), stacklevel=2)

        super(Slot, self).__init__(klass, allow_none, factory, args, kw, **metadata)
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.main/src/openmdao/main/datatypes/slot.py/Slot.__init__/original