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

list_collections should apply the Database's codec_options

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: API
    • Labels:
      None

      list_collections currently uses DEFAULT_CODEC_OPTIONS to decode the collection info documents returned from the listCollections command. We should use the Database's codec_options instead so that users can control the decoding of the response document. This will allow users to get RawBSONDocuments or SON etc...

      We made a similar change to use codec_options for current_op in PYTHON-1709.

            Assignee:
            Unassigned Unassigned
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: