Table of Contents

Class: Untransactable ./src/peak/storage/autocommit.py

Untransactable object that requires a true setting for autocommit

Subclass this if you have an object which is not transactional, but might be used interchangeably with similar AutoCommitter objects. This ensures that an attempt to create an instance of your class will raise an exception if a true setting for autocommit isn't supplied, thus warning the caller in the event that they mistakenly used the wrong implementation for their desired semantics. For example, if they used an SMTP messaging class instead of a queue-based messaging class, but wanted the message send to wait until transaction commit time.

Base Classes   
binding.Component
Methods   
__init__
  __init__ 
__init__ (
        self,
        *__args,
        *__kw,
        )

Exceptions   
exceptions.TransactionsNotSupported( "%r does not support transactions; the 'autocommit'" " flag is required." % self )

Table of Contents

This document was automatically generated on Mon Nov 11 01:11:05 2024 by HappyDoc version 2.1