Make ClientSession._in_transaction public

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.10
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Unless there is a good reason to not do this, we should make this change to allow Motor's implementation of convenient transactions API to use only public PyMongo APIs. It is easier to use an in_transaction flag/method than manipulating the _TxnState enum.

      We should remember to update Motor's PyMongo dependency when this done.

            Assignee:
            Prashant Mital (Inactive)
            Reporter:
            Prashant Mital (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: