mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2026-01-07 21:16:45 +00:00
fix: db_service not passed to metric instantiating (#17504)
This commit is contained in:
parent
2bbf60fc6b
commit
354f879866
@ -77,9 +77,12 @@ class DefaultProfiler(Profiler):
|
||||
include_columns: Optional[List[ColumnProfilerConfig]] = None,
|
||||
exclude_columns: Optional[List[str]] = None,
|
||||
global_profiler_configuration: Optional[ProfilerConfiguration] = None,
|
||||
db_service=None,
|
||||
):
|
||||
_metrics = get_default_metrics(
|
||||
table=profiler_interface.table, ometa_client=profiler_interface.ometa_client
|
||||
table=profiler_interface.table,
|
||||
ometa_client=profiler_interface.ometa_client,
|
||||
db_service=db_service,
|
||||
)
|
||||
|
||||
super().__init__(
|
||||
|
||||
@ -277,6 +277,7 @@ class ProfilerSource(ProfilerSourceInterface):
|
||||
include_columns=self._get_include_columns(entity, table_config),
|
||||
exclude_columns=self._get_exclude_columns(entity, table_config),
|
||||
global_profiler_configuration=self.global_profiler_configuration,
|
||||
db_service=db_service,
|
||||
)
|
||||
|
||||
metrics = (
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user