def ExpectsOne(options):
  def decorate(func):
    func.expectsOne = True
    func.options = options
    return func
  return decorate
Decorator for questions that indicates an expected value from a list
dataset/ETHPy150Open Sagelt/dungeon-world-codex/monsterrules/common.py/ExpectsOne