Reject passing raw pymongo ClientSessions to motor methods

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • 4.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In MOTOR-633 we added a test to ensure that watch methods can accept both "session=session" and "session.session.delegate" to avoid breaking backwards compatibility. We may want to change this and reject passing raw pymongo ClientSessions in Motor 3.0.

      For more background see MOTOR-633 and https://github.com/mongodb/motor/pull/96#discussion_r557679720

            Assignee:
            Unassigned
            Reporter:
            Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: