def EnumValueName(self, enum, value):
    return self.enum_types_by_name[enum].values_by_number[value].name
Context manager to make an object call as an admin.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/net/proto2/python/public/descriptor.py/Descriptor.EnumValueName--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/objects/base.py/NovaObject.obj_as_admin