☰
Debian Codegraph
@
2.2.0-1
2.1.0-1
/
/
beanie
/
odm
/
interfaces
/
detector.py
☽
☼
beanie/odm/interfaces/detector.py
code
plain
raw
Apache-2.0
2022-2026 Roman Right <
[email protected]
>
debian/copyright
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