A PostgreSQL-based registry
Definition at line 418 of file registries.py.
def lsst.daf.persistence.registries.PgsqlRegistry.__init__ |
( |
|
self, |
|
|
|
location |
|
) |
| |
Constructor
Parameters
----------
location : `str`
Path to PostgreSQL configuration file.
Definition at line 422 of file registries.py.
def lsst.daf.persistence.registries.PgsqlRegistry.__del__ |
( |
|
self | ) |
|
def lsst.daf.persistence.registries.PgsqlRegistry.lookup |
( |
|
self, |
|
|
|
args, |
|
|
|
kwargs |
|
) |
| |
def lsst.daf.persistence.registries.PgsqlRegistry.readYaml |
( |
|
location | ) |
|
|
static |
Read YAML configuration file
The YAML configuration file should contain:
* host : host name for database connection
* port : port for database connection
* user : user name for database connection
* database : database name
It may also contain:
* password : password for database connection
The optional entries are set to `None` in the output configuration.
Parameters
----------
location : `str`
Path to PostgreSQL YAML config file.
Returns
-------
config : `dict`
Configuration
Definition at line 443 of file registries.py.
string lsst.daf.persistence.registries.PgsqlRegistry.placeHolder = "%s" |
|
static |
The documentation for this class was generated from the following file: