poppy.core.db.connector.
Connector
(name, database=None)[source]¶Bases: object
Base class for managing sessions with various databases.
database
¶flush
()[source]¶Flush the session, i.e. it transfers python objects to the transaction buffer of the database, thus the memory of the session is cleaned up. But if an error occurred, the transaction is rolled back.
if_connected
(*args)[source]¶A decorator to execute a function or method only if the database named name is connected.
manager
= <poppy.core.generic.manager.Manager object>¶