An Airflow Plugin and Operator for alternative methods of running Telescope
Project description
Astronomer Aeroscope Provider
The Astronomer Aeroscope Provider contains a Plugin and Operator from Astronomer. These provide a method to run Telescope in environments where other methods are unavailable
Installation
Add the following line to your requirements.txt
in your source environment:
astronomer-aeroscope
Usage Option 1) Plugin Usage
- Navigate to the top navigation bar in your Source Airflow environment.
- Click the
Astronomer
menu, thenRun Report
Usage Option 2) Operator Usage
- Add the following DAG to your source Airflow environment
from datetime import datetime
from airflow.models import DAG
from astronomer.aeroscope.operators import AeroscopeOperator
with DAG(
dag_id="astronomer_aeroscope",
schedule_interval=None,
start_date=datetime(2021, 1, 1),
) as dag:
AeroscopeOperator(
task_id="run_report",
presigned_url='{{ dag_run.conf["presigned_url"] }}',
organization='{{ dag_run.conf["organization"] }}',
)
- Trigger the
astronomer_aeroscope
DAG with the configuration given by your Astronomer Representative
{
"presigned_url": "presigned-url-here",
"organization": "organization-name-here"
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file astronomer-aeroscope-0.9.1.tar.gz
.
File metadata
- Download URL: astronomer-aeroscope-0.9.1.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.8.10 Linux/5.15.0-1020-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 268d24bf78261c666e5a44252d75c70126e3ec67505e52b65d2e4aa6758b4abc |
|
MD5 | b973dcac96f96630835d931f432a2907 |
|
BLAKE2b-256 | 7ea31471c397b60e76dacd6e826687ea16523e6983160b60c17f8de0f80df5c4 |
File details
Details for the file astronomer_aeroscope-0.9.1-py3-none-any.whl
.
File metadata
- Download URL: astronomer_aeroscope-0.9.1-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.8.10 Linux/5.15.0-1020-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | df134356e20efb5cc2892b1395befa02125ced93e0a43c11b35fdc7751c97ecc |
|
MD5 | 0bcb4896aa4ee1af8d97ebbcaede03a8 |
|
BLAKE2b-256 | 796b0133dcb0dbee99ad2830c33675cbc2c7178ba7626a32a62bf228568fdf8a |