Skip to content

Commit

Permalink
support 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
mertalev committed Jan 13, 2024
1 parent 46eae95 commit 1c81373
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions machine-learning/app/schemas.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from enum import StrEnum
from enum import Enum
from typing import Any, Protocol, TypedDict, TypeGuard

import numpy as np
Expand All @@ -21,7 +21,7 @@ class BoundingBox(TypedDict):
y2: int


class ModelType(StrEnum):
class ModelType(str, Enum):
CLIP = "clip"
FACIAL_RECOGNITION = "facial-recognition"

Expand Down

0 comments on commit 1c81373

Please sign in to comment.