    def _deprecated_db(self):
        self.log.warning(
            dedent(
                """
                The shared database session at Spawner.db is deprecated, and will be removed.
                Please manage your own database and connections.

                Contact JupyterHub at https://github.com/jupyterhub/jupyterhub/issues/3700
                if you have questions or ideas about direct database needs for your Spawner.
                """
            ),
        )
        return self._deprecated_db_session
The shared database session at Spawner.db is deprecated, and will be removed.
Please manage your own database and connections.

Contact JupyterHub at https://github.com/jupyterhub/jupyterhub/issues/3700
if you have questions or ideas about direct database needs for your Spawner.
jupyterhub/spawner.py