mirror of
https://github.com/datahub-project/datahub.git
synced 2025-06-27 05:03:31 +00:00
fix enum warning
This commit is contained in:
parent
96177f9f5f
commit
4fe28bdb07
@ -1,5 +1,4 @@
|
||||
import logging
|
||||
from enum import Enum
|
||||
from typing import Dict, Iterable, List, Optional, Tuple
|
||||
|
||||
from pydantic import Field
|
||||
@ -24,11 +23,12 @@ from datahub.metadata.schema_classes import (
|
||||
UpstreamClass,
|
||||
UpstreamLineageClass,
|
||||
)
|
||||
from datahub.utilities.str_enum import StrEnum
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class SubTypePattern(str, Enum):
|
||||
class SubTypePattern(StrEnum):
|
||||
ALTERNATING = "alternating"
|
||||
ALL_TABLE = "all_table"
|
||||
ALL_VIEW = "all_view"
|
||||
|
Loading…
x
Reference in New Issue
Block a user