from tg_bot.modules.sql import SESSION # After completing all necessary queries, close the session using this command SESSION.close()In this example, we import the `SESSION` object from the `tg_bot.modules.sql` module and then use the `close()` method to close the active database session once all the query operations have been performed. Package library: SQLAlchemy.