diff --git a/ingestion/src/metadata/ingestion/source/dashboard/tableau/client.py b/ingestion/src/metadata/ingestion/source/dashboard/tableau/client.py index 2eb8a167da3..12c6e63eb07 100644 --- a/ingestion/src/metadata/ingestion/source/dashboard/tableau/client.py +++ b/ingestion/src/metadata/ingestion/source/dashboard/tableau/client.py @@ -105,9 +105,7 @@ class TableauClient: if owner and owner.email: return TableauOwner(id=owner.id, name=owner.name, email=owner.email) except Exception as err: - logger.warning( - f"Failed to fetch owner details for ID {owner_id}: {str(err)}" - ) + logger.debug(f"Failed to fetch owner details for ID {owner_id}: {str(err)}") return None def get_workbook_charts_and_user_count( @@ -309,7 +307,7 @@ class TableauClient: except Exception: logger.debug(traceback.format_exc()) logger.warning("Unable to fetch Data Sources") - return None + return [] def get_custom_sql_table_queries(self, datasource_id: str) -> Optional[List[str]]: """ diff --git a/ingestion/src/metadata/ingestion/source/dashboard/tableau/models.py b/ingestion/src/metadata/ingestion/source/dashboard/tableau/models.py index 5957540f791..2020d4fa7b8 100644 --- a/ingestion/src/metadata/ingestion/source/dashboard/tableau/models.py +++ b/ingestion/src/metadata/ingestion/source/dashboard/tableau/models.py @@ -187,7 +187,7 @@ class TableauDashboard(TableauBaseModel): tags: Optional[Set] = [] webpageUrl: Optional[str] = None charts: Optional[List[TableauChart]] = None - dataModels: List[DataSource] = [] + dataModels: Optional[List[DataSource]] = [] custom_sql_queries: Optional[List[str]] = None user_views: Optional[int] = None