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