Skip to content

Commit c3eaa9c

Browse files
committed
fix latest ruff enum rule
1 parent 7ad686e commit c3eaa9c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/vector_backend/labarchives_indexer.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
for vector indexing.
55
"""
66

7-
from enum import Enum
7+
from enum import StrEnum
88
from typing import Any
99

1010
from bs4 import BeautifulSoup
1111
from pydantic import BaseModel, Field
1212

1313

14-
class EntryType(str, Enum):
14+
class EntryType(StrEnum):
1515
"""Types of LabArchives entries that can be indexed."""
1616

1717
TEXT_ENTRY = "text_entry"

0 commit comments

Comments
 (0)