lsst.dax.apdb gbeadb96d05+a322446fe6
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
lsst.dax.apdb.cassandra.cassandra_utils.SessionWrapper Class Reference

Public Member Functions

 __init__ (self, Session session, Any execution_profile=EXEC_PROFILE_DEFAULT)
 
Any execute_async (self, *Any args, Any execution_profile=EXEC_PROFILE_DEFAULT, **Any kwargs)
 
Any submit (self, *Any args, **Any kwargs)
 

Protected Attributes

 _session
 
 _execution_profile
 

Detailed Description

Special wrapper class to workaround ``execute_concurrent()`` issue
which does not allow non-default execution profile.

Instance of this class can be passed to execute_concurrent() instead
of `Session` instance. This class implements a small set of methods
that are needed by ``execute_concurrent()``. When
``execute_concurrent()`` is fixed to accept exectution profiles, this
wrapper can be dropped.

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