(self)
return dict((item.key, item.value) for item in self.enum)
for backwards compatibility with building 1.0 apps
for backwards compatibility with building 1.0 apps
for backwards compatibility with building 1 . 0 apps
def enum_dict(self):
        """for backwards compatibility with building 1.0 apps"""
        import warnings
        warnings.warn('You should not use enum_dict. Use enum instead',
                      DeprecationWarning)
        return dict((item.key, item.value) for item in self.enum)
def enum_dict ( self ) : import warnings warnings . warn ( 'You should not use enum_dict. Use enum instead' , DeprecationWarning ) return dict ( ( item . key , item . value ) for item in self . enum )