def METHOD_NAME(self, key_event):
    ret = super(PyDMDateTimeEdit, self).METHOD_NAME(key_event)
    if key_event.key() in [QtCore.Qt.Key_Return, QtCore.Qt.Key_Enter]:
        self.returnPressed.emit()
    return ret