File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -219,35 +219,35 @@ Let's create transactional cache:
219219.. literalinclude :: ../examples/transactions.py
220220 :language: python
221221 :dedent: 8
222- :lines: 81-84
222+ :lines: 82-85
223223
224224Let's start a transaction and commit it:
225225
226226.. literalinclude :: ../examples/transactions.py
227227 :language: python
228228 :dedent: 8
229- :lines: 87-91
229+ :lines: 88-92
230230
231231Let's check that the transaction was committed successfully:
232232
233233.. literalinclude :: ../examples/transactions.py
234234 :language: python
235235 :dedent: 8
236- :lines: 93-94
236+ :lines: 94-95
237237
238238Let's check that raising exception inside `with ` block leads to transaction's rollback
239239
240240.. literalinclude :: ../examples/transactions.py
241241 :language: python
242242 :dedent: 8
243- :lines: 97-107
243+ :lines: 98-108
244244
245245Let's check that timed out transaction is successfully rolled back
246246
247247.. literalinclude :: ../examples/transactions.py
248248 :language: python
249249 :dedent: 8
250- :lines: 110-120
250+ :lines: 111-121
251251
252252See more info about transaction's parameters in a documentation of :py:meth: `~pyignite.client.Client.tx_start `
253253
You can’t perform that action at this time.
0 commit comments