def peek(init, exposes, debug=False):
def _peek(store, container, _stack=None):<EOL><INDENT>args = [ store.peek(objname, container, _stack=_stack)for objname in exposes ]<EOL>if debug:<EOL><INDENT>print(args)<EOL><DEDENT>return init(*args)<EOL><DEDENT>return _peek<EOL>
Default deserializer factory.

Arguments:

    init (callable): type constructor.

    exposes (iterable): attributes to be peeked and passed to `init`.

Returns:

    callable: deserializer (`peek` routine).