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

Allow attribute syntax on SON objects in addition to dictionary-style access

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      It is allowed on Connection and DB objects, but not on SON objects. When I know what fields are in a collection using doc.field is easier than doc['field'].

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            redbeard0531 Mathias Stearn
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: