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

SONManipulator not used after object is saved

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Works as Designed
    • Affects Version/s: 2.4.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Python 2.7.3

      Description

      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?

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: