Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/litestar_workflows/core/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ class StrEnum(str, Enum):
def __str__(self) -> str:
return str(self.value)

@staticmethod
def _generate_next_value_(name: str, start: int, count: int, last_values: list[Any]) -> str: # noqa: ARG004
"""Generate lowercase member name for auto(), matching stdlib enum.StrEnum."""
return name.lower()


# TypeAlias backport for Python < 3.10
from typing import TypeAlias
Expand Down
Loading