#NEWLINE# def load( self ) : #NEWLINE# #INDENT# "\n        This loads the variables and attributes simultaneously.\n        A centralized loading function makes it easier to create\n        data stores that do automatic encoding/decoding.\n\n        For example:\n\n            class SuffixAppendingDataStore(AbstractDataStore):\n\n                def load(self):\n                    variables, attributes = AbstractDataStore.load(self)\n                    variables = {'%s_suffix' % k: v\n                                 for k, v in iteritems(variables)}\n                    attributes = {'%s_suffix' % k: v\n                                  for k, v in iteritems(attributes)}\n                    return variables, attributes\n\n        This function will be called anytime variables or attributes\n        are requested, so care should be taken to make sure its fast.\n        " #NEWLINE# variables = FrozenOrderedDict ( ( ( _decode_variable_name ( attributes ) , v ) for ( k , v ) in iteritems ( self . get_variables ( ) ) ) ) #NEWLINE# attributes = FrozenOrderedDict ( self . get_attrs ( ) ) #NEWLINE# return ( variables , attributes )