#NEWLINE# def _add_unbound_all_fn( self , fn ) : #NEWLINE# #INDENT# self . _unbound_all_fn = fn #NEWLINE# fn . __doc__ = ( 'Produce a standalone "all" option for :func:`.orm.%(name)s`.\n\n.. deprecated:: 0.9.0\n\n    The "_all()" style is replaced by method chaining, e.g.::\n\n        session.query(MyClass).options(\n            %(name)s("someattribute").%(name)s("anotherattribute")\n        )\n\n' % { #NEWLINE# #INDENT# 'name' : self . name , #NEWLINE# #UNINDENT# } ) #NEWLINE# return self