Package pyamf :: Package adapters :: Module _sqlalchemy_orm_collections

[hide private]
[frames] | no frames]

# Source Code for Module pyamf.adapters._sqlalchemy_orm_collections

     1  # Copyright (c) 2007-2009 The PyAMF Project.
     2  # See LICENSE for details.
     3
     4  """
     5  SQLAlchemy adapter module.
     6
     7  @see: U{SQLAlchemy homepage (external)<http://www.sqlalchemy.org>}
     8
     9  @since: 0.4
    10  """
    11
    12  from sqlalchemy.orm import collections
    13
    14  import pyamf
    15  from pyamf.adapters import util
    16
    17
    18  pyamf.add_type(collections.InstrumentedList, util.to_list)
    19  pyamf.add_type(collections.InstrumentedDict, util.to_dict)
    20  pyamf.add_type(collections.InstrumentedSet, util.to_set)
    21