def deserializers(**deserializers):
 def decorator(func):
  if (not hasattr(func, 'wsgi_deserializers')):
   func.wsgi_deserializers = {}
  func.wsgi_deserializers.update(deserializers)
  return func
 return decorator

def deserializers ( ** deserializers ) : def decorator ( func ) : if ( not hasattr ( func , 'wsgi_deserializers' ) ) : func . wsgi_deserializers = { } func . wsgi_deserializers . update ( deserializers ) return func return decorator
attaches deserializers to a method .