Uploaded image for project: 'Motor'
  1. Motor
  2. MOTOR-642

Reject passing raw pymongo ClientSessions to motor methods

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • 4.0
    • Affects Version/s: None
    • Component/s: 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 Unassigned
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: