Context manager to provide a pgsql registry
Definition at line 14 of file ingestPgsql.py.
◆ __init__()
def lsst.pipe.tasks.ingestPgsql.PgsqlRegistryContext.__init__ |
( |
|
self, |
|
|
|
registryName, |
|
|
|
createTableFunc, |
|
|
|
forceCreateTables |
|
) |
| |
Construct a context manager
@param registryName: Name of registry file
@param createTableFunc: Function to create tables
@param forceCreateTables: Force the (re-)creation of tables?
Definition at line 17 of file ingestPgsql.py.
◆ __enter__()
def lsst.pipe.tasks.ingest.RegistryContext.__enter__ |
( |
|
self | ) |
|
|
inherited |
Provide the 'as' value
Definition at line 241 of file ingest.py.
◆ __exit__()
def lsst.pipe.tasks.ingestPgsql.PgsqlRegistryContext.__exit__ |
( |
|
self, |
|
|
|
excType, |
|
|
|
excValue, |
|
|
|
traceback |
|
) |
| |
◆ conn
lsst.pipe.tasks.ingestPgsql.PgsqlRegistryContext.conn |
◆ registryName
lsst.pipe.tasks.ingestPgsql.PgsqlRegistryContext.registryName |
The documentation for this class was generated from the following file: