async def commit(self) -> None:
    'Exit the transaction or savepoint block and commit changes.'
    if self._managed:
        raise errors.InterfaceError('cannot manually commit from within an `async with` block')
    (await self._commit())
Exit the transaction or savepoint block and commit changes.
async def commit(self) -> None:
    
    if self._managed:
        raise errors.InterfaceError('cannot manually commit from within an `async with` block')
    (await self._commit())