From bc1bb9576e018ad2aa2c1522377f7cf4a0a12b84 Mon Sep 17 00:00:00 2001 From: sleeperdeep <--global> Date: Tue, 30 Jan 2024 14:59:24 +0200 Subject: [PATCH] feat(ingestion): add ability to specify data dictionary mode for oracle module (1.fix integration tests 2.update golden-files 3.delete debug rows 4.fix mypy tests 5.delete class_usage_notification method) --- .../src/datahub/ingestion/source/sql/oracle.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/metadata-ingestion/src/datahub/ingestion/source/sql/oracle.py b/metadata-ingestion/src/datahub/ingestion/source/sql/oracle.py index 9bb7e6b46c8e37..45fe95a4c07967 100644 --- a/metadata-ingestion/src/datahub/ingestion/source/sql/oracle.py +++ b/metadata-ingestion/src/datahub/ingestion/source/sql/oracle.py @@ -57,14 +57,6 @@ def before_cursor_execute(conn, cursor, statement, parameters, context, executem cursor.outputtypehandler = output_type_handler -def class_usage_notification(cls, func): - def _wrapper(*args, **kwargs): - logger.info(f"{cls.__name__}.{func.__name__} is in used.") - return func(*args, **kwargs) - - return _wrapper - - class OracleConfig(BasicSQLAlchemyConfig): # defaults scheme: str = Field(