sdk

No menu items for this category

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:

  • <b>record</b> (ReportData): report data

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

Args:

  • <b>record</b> (ReportData): report data

Get web analytic event



Delete report data for a specific report data type

Args:

  • <b>report_data_type</b> (ReportDataType): report date type to delete

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

Args:

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

Deletes web analytics events before a timestamp

Args:

  • <b>event_type</b> (WebAnalyticEventData): web analytic event type
  • <b>tmsp</b> (int): timestamp

summary

Args:

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

Returns:

  • <b>DataInsightChartResult</b>: description

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

Args:

  • <b>start_ts</b> (type): start_timestamp
  • <b>end_ts</b> (type): end timestampe
  • <b>report_data_type</b> (ReportDataType): report data type

Returns: List[ReportData]:


Given FQN return KPI results

Args:

  • <b>fqn</b> (str): fullyQualifiedName

Get web analytic event