Only keep type annotations if they are not null. (#3688)
Only keep type annotations if they are not null. (#3688)


jupyter/jupyterlab,jupyter/jupyterlab,jupyter/jupyterlab,jupyter/jupyterlab,jupyter/jupyterlab