Skip to content

Commit 0a1031d

Browse files
authored
Update sample code and add poller section
1 parent ae58c01 commit 0a1031d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

articles/confidential-ledger/quickstart-python.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,9 @@ ledger_entry_result = ledger_entry_poller.result()
314314
Querying an older ledger entry requires the ledger to read the entry from disk and validate it. You can use the `begin_get_ledger_entry` function to create a poller that will wait until the queried entry is in a ready state to view.
315315

316316
```python
317-
get_entry_poller = ledger_client.begin_get_ledger_entry(transaction_id=ledger_entry_result['transactionId'])
317+
get_entry_poller = ledger_client.begin_get_ledger_entry(
318+
transaction_id=ledger_entry_result['transactionId']
319+
)
318320
entry = get_entry_poller.result()
319321
```
320322

0 commit comments

Comments
 (0)