lsst.dax.apdb g9290983e33+d2d81de7f7
 
Loading...
Searching...
No Matches
lsst.dax.apdb.cassandra.sessionFactory.SessionContext Class Reference
Inheritance diagram for lsst.dax.apdb.cassandra.sessionFactory.SessionContext:

Public Member Functions

 __init__ (self, ApdbCassandraConfig config)
 
Session __enter__ (self)
 

Protected Attributes

 _session_factory = SessionFactory(config)
 

Detailed Description

Context manager for creating short-lived Cassandra sessions.

Parameters
----------
config : `ApdbCassandraConfig`
    Configuration object.

The documentation for this class was generated from the following file: