mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-04 03:24:55 +00:00
Removed typing_extension dependency (#7406)
This commit is contained in:
parent
b217ed5397
commit
d171e2f100
@ -26,7 +26,6 @@ base_requirements = {
|
||||
"commonregex",
|
||||
"idna<3,>=2.5",
|
||||
"click>=7.1.1",
|
||||
"typing_extensions>=3.7.4",
|
||||
"mypy_extensions>=0.4.3",
|
||||
"typing-inspect",
|
||||
"pydantic[email]==1.8.2",
|
||||
|
||||
@ -12,6 +12,8 @@
|
||||
"""
|
||||
Main Profile definition and queries to execute
|
||||
"""
|
||||
from __future__ import annotations
|
||||
|
||||
import traceback
|
||||
import warnings
|
||||
from datetime import datetime, timezone
|
||||
@ -21,7 +23,6 @@ from pydantic import ValidationError
|
||||
from sqlalchemy import Column
|
||||
from sqlalchemy.orm import DeclarativeMeta
|
||||
from sqlalchemy.orm.session import Session
|
||||
from typing_extensions import Self
|
||||
|
||||
from metadata.generated.schema.api.data.createTableProfile import (
|
||||
CreateTableProfileRequest,
|
||||
@ -359,7 +360,7 @@ class Profiler(Generic[TMetric]):
|
||||
self._table_results = profile_results["table"]
|
||||
self._column_results = profile_results["columns"]
|
||||
|
||||
def compute_metrics(self) -> Self:
|
||||
def compute_metrics(self) -> Profiler:
|
||||
"""Run the whole profiling using multithreading"""
|
||||
self.profile_entity()
|
||||
for column in self.columns:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user