Skip to content

Commit

Permalink
TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Dirolf committed Feb 2, 2009
1 parent df11350 commit 0c1805f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pymongo/son_manipulator.py
Expand Up @@ -81,3 +81,9 @@ def transform_incoming(self, son, collection):
"""
son["_ns"] = collection.name()
return son

# TODO make a generic translator for custom types. Take encode, decode,
# should_encode and should_decode functions and just encode and decode where
# necessary. See examples/custom_type.py for where this would be useful.
# Alternatively it could take a should_encode, to_binary, from_binary and
# binary subtype.

0 comments on commit 0c1805f

Please sign in to comment.