SerEnum

class wwt_data_formats.enums.SerEnum(value)[source]

Bases: enum.Enum

A helper for enumerations that are serialized and deserialized from text. In some WWT cases, multiple textualizations have historically been used for the same value.

Methods Summary

from_text(text)

The default implementation here just looks up the appropriate enum instance from its value.

Methods Documentation

classmethod from_text(text)[source]

The default implementation here just looks up the appropriate enum instance from its value.