#NEWLINE# @ classmethod #NEWLINE# def prepare( cls , engine ) : #NEWLINE# #INDENT# 'Reflect all :class:`.Table` objects for all current\n        :class:`.DeferredReflection` subclasses' #NEWLINE# to_map = _DeferredMapperConfig . classes_for_base ( cls ) #NEWLINE# for thingy in to_map : #NEWLINE# #INDENT# cls . _sa_decl_prepare ( thingy . local_table , engine ) #NEWLINE# thingy . map ( ) #NEWLINE# mapper = cls . cls . __mapper__ #NEWLINE# metadata = mapper . class_ . metadata #NEWLINE# for rel in mapper . _props . values ( ) : #NEWLINE# #INDENT# if ( isinstance ( rel , properties . RelationshipProperty ) and ( rel . secondary is not None ) ) : #NEWLINE# #INDENT# if isinstance ( rel . secondary , Table ) : #NEWLINE# #INDENT# cls . _reflect_table ( rel . secondary , engine ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if isinstance ( rel . secondary , _class_resolver ) : #NEWLINE# #INDENT# rel . secondary . _resolvers += ( cls . _sa_deferred_table_resolver ( engine , metadata ) , )