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