lsst.dax.apdb gbebdf9febd+5aaa5b91df
Loading...
Searching...
No Matches
Public Member Functions | List of all members
lsst.dax.apdb.cassandra_utils.SessionWrapper Class Reference

Public Member Functions

def __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)
 

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: