Metadata-Version: 2.1
Name: lightup-airflow-provider
Version: 1.0.2
Summary: Lightup Airflow provider.
Home-page: https://www.lightup.ai/
Author: Lightup Data, Inc
Author-email: support@lightup.ai
License: Apache License 2.0
Platform: UNKNOWN
Classifier: Framework :: Apache Airflow
Classifier: Framework :: Apache Airflow :: Provider
Requires-Python: ~=3.9
Description-Content-Type: text/markdown
License-File: LICENSE

# Airflow Provider for Lightup

# Airflow configuration 

## Add the required connection
Go to Admin > Connections and add connection:
![image](https://user-images.githubusercontent.com/107838279/228045709-4858aabc-c3f3-40a3-aae0-b8fa293cb58e.png)

Put refresh token (https://docs.lightup.ai/reference/post_api-v1-token-refresh) into Password section, and save.

## Add the required variables

Go to Admin > Variables and add connection:
- Key: lightup_api_version
- Val: v1

# Operators

**LightupTriggerOperator**: Triggers the Lightup platform based on configuration to collect metrics and evaluate them.

# Sensors

**LightupTriggerResultSensor**: Connects to the Lightup platform and checks the progress of the trigger operator. Returns when the trigger operation has been processed by the platform. Once the sensor returns, results can be pulled using the LightupTriggerResultOperator.


