Debian Codegraph @

beanie/odm/interfaces/detector.py

raw
1 from enum import Enum
2
3
4 class ModelType(str, Enum):
5 Document = "Document"
6 View = "View"
7 UnionDoc = "UnionDoc"
8
9
10 class DetectionInterface:
11 @classmethod
12 def get_model_type(cls) -> ModelType:
13 return ModelType.Document