docs: def from_json_dict(cls,
                         json_dict  # type: Dict[str, Any]
                         ):
          # type: (...) -> EnumSpec
          """ Make a EnumSpec object from a dictionary containing its
              properties.
  
              :param dict json_dict: This dictionary must contain an
                  `'enum'` key specifying the permitted values. In
                  addition, it must contain a `'hashing'` key, whose
                  contents are passed to :class:`FieldHashingProperties`.
          """
          # noinspection PyCompatibility
          result = cast(EnumSpec,  # Appease the gods of Mypy.
                        super().from_json_dict(json_dict))
  
          format_ = json_dict['format']
          result.values = set(format_['values'])
  
          return result