The implementation of this method is mandatory https://github.com/spyder-ide/spyder/issues/4882#issuecomment-323549319