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
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
Close
Hashes for astronomer-aeroscope-0.9.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9fc2690d9adb4e97aa3d6c9b26de7e39f452c95489f43d227b485d33346a169 |
|
MD5 | a64a07bb3c4e7da5bca444c9c2d292c0 |
|
BLAKE2b-256 | ae82d12e9f9c9832d29a9e3963a74184c525252050c859730d2d872b0610faa4 |
Close
Hashes for astronomer_aeroscope-0.9.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9da44a72fe9778dade166b13cde593eb1e103d44b98bd1e769f42e9ed86242f |
|
MD5 | 6ec6166d71b64e30e2f01b35232ce787 |
|
BLAKE2b-256 | 97d2254ffa4a39224a0e8d0a6e7ea98aa6082efd8d734985a2b392799fca2670 |