diff --git a/competitions/__init__.py b/competitions/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/competitions/data.py b/competitions/data.py new file mode 100644 index 0000000..84cc388 --- /dev/null +++ b/competitions/data.py @@ -0,0 +1,16 @@ +from enum import IntEnum + + +class CompetitionId(IntEnum): + """Unique identifiers for each competition.""" + + B7_MODEL = 0 + + M772_MODEL = 1 + + B3_MODEL = 2 + + # Overwrite the default __repr__, which doesn't work with + # bt.logging for some unknown reason. + def __repr__(self) -> str: + return f"{self.value}" diff --git a/constants/__init__.py b/constants/__init__.py index 8ff0d3e..f945313 100644 --- a/constants/__init__.py +++ b/constants/__init__.py @@ -35,7 +35,7 @@ # --------------------------------- # Release -__version__ = "4.0.0" +__version__ = "4.0.1" # Validator schema version __validator_version__ = "3.0.0"