def _getset_factory_factory(column_name, string_getter):
 def getset_factory(underlying_type, instance):
  def getter(translations):
   if (translations is None):
    return None
   text = getattr(translations, column_name)
   if (text is None):
    return text
   session = object_session(translations)
   language = translations.local_language
   return string_getter(text, session, language)
  def setter(translations, value):
   raise AttributeError(('Cannot set %s' % column_name))
  return (getter, setter)
 return getset_factory

def _getset_factory_factory ( column_name , string_getter ) : def getset_factory ( underlying_type , instance ) : def getter ( translations ) : if ( translations is None ) : return None text = getattr ( translations , column_name ) if ( text is None ) : return text session = object_session ( translations ) language = translations . local_language return string_getter ( text , session , language ) def setter ( translations , value ) : raise AttributeError ( ( 'Cannot set %s' % column_name ) ) return ( getter , setter ) return getset_factory
hello! i am a factory for creating getset_factory functions for sqla .