Session (Not Recommended)

Starting from Python API 3.0.4.0, Session is retained as a backward-compatible session interface. It inherits from DBConnection, and session is an alias for Session. Existing code can continue to run as before. If your application still needs advanced wrappers such as table, loadTable, database, or subscribe, continue using Session.

  • Except for bug fixes, no new features or parameters will be added to Session. Future new features will be provided only through DBConnection.

  • For new projects, use DBConnection directly. Session and DBConnection differ in some parameter names and invocation patterns. When migrating existing code, see the interface differences in the DBConnection documentation.