Skip to content

Commit f5bd29f

Browse files
committed
modify enum
1 parent be9d44e commit f5bd29f

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

tigeropen/common/consts/fundamental_fields.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
# -*- coding: utf-8 -*-
22

3-
from enum import unique
3+
from enum import unique, Enum
44

5-
from tigeropen.common.model import Field
5+
6+
class Field(Enum):
7+
pass
68

79

810
@unique

tigeropen/common/model.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
#
33
# @Date : 2021/11/12
44
# @Author : sukai
5-
from enum import Enum
65

76

87
class BaseParams:
@@ -35,5 +34,3 @@ def to_openapi_dict(self):
3534
return params
3635

3736

38-
class Field(Enum):
39-
pass

0 commit comments

Comments
 (0)