One needs to install jupyterlab-lsp and python-lsp-server[all] to get IDE-like code-completion in jupyterlab:  