tour_presets.py 448 B

123456789101112131415
  1. """The built-in tour presets ``gui_tour`` start-without-steps accepts.
  2. A leaf module with no ``registry.register``: the wire contract
  3. (``tui_gateway/contracts/server_requests.py``) imports this enum, and importing
  4. ``tools/tour_tool.py`` there would register ``gui_tour`` as a side effect.
  5. """
  6. from enum import StrEnum
  7. class TourPreset(StrEnum):
  8. """Which built-in tour ``start`` without steps runs."""
  9. quick = "quick"
  10. full = "full"