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

SONManipulator not used after object is saved

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.4.1
    • Component/s: None
    • Labels:
      None
    • Environment:
      Python 2.7.3

      In the same way that 'manipulate' returns the '_id' field to its Python object, should not a SONManipulator be applied to appropriate fields as they are returned to Python? It seems that it currently does not do this. So

      {'my_field':<my_custom_object>}

      gets saved and becomes {'_id':..., 'my_field':{'_type':'my_custom_object', 'foo':'bar}}. Shouldn't the SONManipulator be applied?

            Assignee:
            bernie@mongodb.com Bernie Hackett
            Reporter:
            mattbodman Matt Bodman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: