Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-2020

Make ClientSession._in_transaction public

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.10
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      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 Prashant Mital (Inactive)
            Reporter:
            prashant.mital Prashant Mital (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: