dev: Migrate backend CI/CD checks to match pre-commit (#8802)

This commit is contained in:
Michael Genson authored and GitHub committed 2026-10-19 13:30:49 -05:00
1 parent 3d8e727e90
commit 2f8f64da8f
9 files changed
+29 -25

No files matched your search

+3 -3
View File
@@ -1,5 +1,5 @@
import re
from enum import Enum
from enum import StrEnum
from humps import camelize
from pydantic import BaseModel, ConfigDict, Field
@@ -18,7 +18,7 @@ class RouteObject:
self.router_camel = camelize(self.router_slug)
class RequestType(str, Enum):
class RequestType(StrEnum):
get = "get"
put = "put"
post = "post"
@@ -26,7 +26,7 @@ class RequestType(str, Enum):
delete = "delete"
class ParameterIn(str, Enum):
class ParameterIn(StrEnum):
query = "query"
path = "path"
header = "header"