OpenQuizz
Une application de gestion des contenus pédagogiques
ObjectIdShuffler Class Reference
Inheritance diagram for ObjectIdShuffler:
Collaboration diagram for ObjectIdShuffler:

Public Member Functions

def will_copy (self)
 
def transform_incoming (self, son, collection)
 
- Public Member Functions inherited from SONManipulator
def transform_outgoing (self, son, collection)
 

Detailed Description

A son manipulator that moves _id to the first position.

Member Function Documentation

◆ transform_incoming()

def transform_incoming (   self,
  son,
  collection 
)
Move _id to the front if it's there.

Reimplemented from SONManipulator.

◆ will_copy()

def will_copy (   self)
We need to copy to be sure that we are dealing with SON, not a dict.

Reimplemented from SONManipulator.


The documentation for this class was generated from the following file: