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

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

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

      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'].

            Assignee:
            Unassigned Unassigned
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: