def get(key, default=-1):
        """Backport support for original codes."""
        if isinstance(key, int):
            return Authentication(key)
        if key not in Authentication._member_map_:
            extend_enum(Authentication, key, default)
        return Authentication[key]
def get ( key , default = - 1 ) : if isinstance ( key , int ) : return Authentication ( key ) if key not in Authentication . _member_map_ : extend_enum ( Authentication , key , default ) return Authentication [ key ]
Backport support for original codes.