#NEWLINE# def __getattr__( self , key ) : #NEWLINE# #INDENT# if ( not key . startswith ( '_' ) ) : #NEWLINE# #INDENT# if ( ( key not in self . _obj . gridfs . get ( 'containers' , [ ] ) ) and ( key in self . _obj . gridfs . get ( 'files' , [ ] ) ) ) : #NEWLINE# #INDENT# return self [ self ] #NEWLINE# #UNINDENT# #UNINDENT# return super ( FS , self ) . __getattribute__ ( key )