(
self,
bindkey: Optional[Mapper[Any]],
execution_options: Optional[_ExecuteOptions] = None,
**kwargs: Any,
)
| 1032 | (SessionTransactionState.ACTIVE,), _StateChangeStates.NO_CHANGE |
| 1033 | ) |
| 1034 | def connection( |
| 1035 | self, |
| 1036 | bindkey: Optional[Mapper[Any]], |
| 1037 | execution_options: Optional[_ExecuteOptions] = None, |
| 1038 | **kwargs: Any, |
| 1039 | ) -> Connection: |
| 1040 | bind = self.session.get_bind(bindkey, **kwargs) |
| 1041 | return self._connection_for_bind(bind, execution_options) |
| 1042 | |
| 1043 | @_StateChange.declare_states( |
| 1044 | (SessionTransactionState.ACTIVE,), _StateChangeStates.NO_CHANGE |
nothing calls this directly
no test coverage detected