Skip to content

Commit

Permalink
use to_string()
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewm4894 committed Jun 17, 2023
1 parent 6284454 commit 0533107
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .astro-registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ docs_url: https://github.com/andrewm4894/airflow-provider-anomaly-detection/blob
# value should be "sample_provider.hooks.sample_hook.SampleHook".

operators:
- module: airflow_anomaly_detection.operators.bigquery_metric_batch_ingest_operator.BigQueryMetricBatchIngestOperator
- module: airflow_anomaly_detection.operators.bigquery_metric_batch_train_operator.BigQueryMetricBatchTrainOperator
- module: airflow_anomaly_detection.operators.bigquery_metric_batch_train_operator.BigQueryMetricBatchScoreOperator
- module: airflow_anomaly_detection.operators.bigquery_metric_batch_alert_operator.BigQueryMetricBatchAlertOperator
- module: airflow_anomaly_detection.operators.bigquery.metric_batch_ingest_operator.BigQueryMetricBatchIngestOperator
- module: airflow_anomaly_detection.operators.bigquery.metric_batch_train_operator.BigQueryMetricBatchTrainOperator
- module: airflow_anomaly_detection.operators.bigquery.metric_batch_train_operator.BigQueryMetricBatchScoreOperator
- module: airflow_anomaly_detection.operators.bigquery.metric_batch_alert_operator.BigQueryMetricBatchAlertOperator
- module: airflow_anomaly_detection.operators.metric_batch_alert_operator.MetricBatchEmailNotifyOperator
2 changes: 1 addition & 1 deletion airflow_anomaly_detection/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

__version__ = "0.0.23"
__version__ = "0.0.24"

def get_provider_info():
return {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def execute(self, context: Any):
df_scores_tmp['metric_timestamp'] = df_X['metric_timestamp'].values

if context['params'].get('log_scores', False):
self.log.info(df_scores_tmp)
self.log.info(df_scores_tmp.to_string())

# append to df_scores
df_scores = df_scores.append(df_scores_tmp)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "airflow-provider-anomaly-detection"
version = "0.0.23"
version = "0.0.24"
authors = [
{ name="andrewm4894", email="[email protected]" },
]
Expand Down

0 comments on commit 0533107

Please sign in to comment.