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