l.s.d.p.MasterDatabasePolicy(BaseDatabasePolicy) : class documentation

Part of lp.services.database.policy View In Hierarchy

IDatabasePolicy that selects the MASTER_FLAVOR by default.

Slave databases can still be accessed if requested explicitly.

This policy is used for XMLRPC and WebService requests which don't support session cookies. It is also used when no policy has been installed.

Inherited from BaseDatabasePolicy:

Method __init__ Undocumented
Method getStore See IDatabasePolicy.
Method install See IDatabasePolicy.
Method uninstall See IDatabasePolicy.
Method __enter__ See IDatabasePolicy.
Method __exit__ See IDatabasePolicy.
API Documentation for Launchpad, generated by pydoctor at 2020-02-23 00:00:22.