sdk

No menu items for this category
OpenMetadata Documentation

module data_insight_mixin

Mixin class containing data specific methods

To be used by OpenMetadata class


data insight mixin used to write results


Given a ReportData object convert it to a json payload and send a POST request to the report data endpoint

Args:

  • record (ReportData): report data

Given a ReportData object convert it to a json payload and send a POST request to the report data endpoint

Args:

  • record (ReportData): report data

Get web analytic event



Delete report data for a specific report data type

Args:

  • report_data_type (ReportDataType): report date type to delete

Delete report data at a specific date for a specific report data type

Args:

  • report_data_type (ReportDataType): report date type to delete
  • date (str): date for which to delete the report data

Deletes web analytics events before a timestamp

Args:

  • event_type (WebAnalyticEventData): web analytic event type
  • tmsp (int): timestamp

summary

Args:

  • start_ts (int): description
  • end_ts (int): description
  • data_insight_chart_name (str): description
  • data_report_index (str): description
  • params (Optional[dict], optional): description. Defaults to None.

Returns:

  • DataInsightChartResult: description

Return dict with a list of report data given a start and end date

Args:

  • start_ts (type): start_timestamp
  • end_ts (type): end timestampe
  • report_data_type (ReportDataType): report data type

Returns: List[ReportData]:


Given FQN return KPI results

Args:

  • fqn (str): fullyQualifiedName

Get web analytic event