mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-02 11:49:23 +00:00
refactor(ingestion): remove duplicate aspect type (#3972)
This commit is contained in:
parent
5c5dd5bfee
commit
5168f0a50e
@ -2,13 +2,13 @@ import json
|
||||
import logging
|
||||
import urllib.parse
|
||||
from json.decoder import JSONDecodeError
|
||||
from typing import Any, Dict, List, Optional, Type, TypeVar
|
||||
from typing import Any, Dict, List, Optional, Type
|
||||
|
||||
from avrogen.dict_wrapper import DictWrapper
|
||||
from requests.adapters import Response
|
||||
from requests.models import HTTPError
|
||||
|
||||
from datahub.configuration.common import ConfigModel, OperationalError
|
||||
from datahub.emitter.mce_builder import Aspect
|
||||
from datahub.emitter.rest_emitter import DatahubRestEmitter
|
||||
from datahub.metadata.schema_classes import (
|
||||
DatasetUsageStatisticsClass,
|
||||
@ -17,9 +17,6 @@ from datahub.metadata.schema_classes import (
|
||||
OwnershipClass,
|
||||
)
|
||||
|
||||
# This bound isn't tight, but it's better than nothing.
|
||||
Aspect = TypeVar("Aspect", bound=DictWrapper)
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user