mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-10-27 16:55:06 +00:00
Fix: Tableau Validation Errors (#21530)
This commit is contained in:
parent
d5ba5e14a1
commit
c00ed22866
@ -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]]:
|
||||
"""
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user