MCPcopy Create free account
hub / github.com/19-84/redd-archiver / commit

Method commit

processing/batch_processing_utils.py:27–29  ·  view source on GitHub ↗

Commit current transaction.

(self)

Source from the content-addressed store, hash-verified

25 ...
26
27 def commit(self) -> None:
28 """Commit current transaction."""
29 ...
30
31 def rollback(self) -> None:
32 """Rollback current transaction."""

Callers 15

setup_schemaMethod · 0.80
insert_postMethod · 0.80
insert_commentMethod · 0.80
insert_posts_batchMethod · 0.80
insert_comments_batchMethod · 0.80
ensure_flair_indexMethod · 0.80
sync_transactionsMethod · 0.80
analyze_tablesMethod · 0.80

Calls

no outgoing calls

Tested by 15

cleanupFunction · 0.64
cleanupFunction · 0.64
cleanupFunction · 0.64
test_no_flair_is_noopMethod · 0.64
cleanupFunction · 0.64
cleanupMethod · 0.64