tests.system.google.cloud.gcs.example_http_to_gcs

Example Airflow DAG for HTTP to Google Cloud Storage transfer operators.

Attributes

ENV_ID

PROJECT_ID

DAG_ID

BUCKET_NAME

cmd

conn_id_name

test_run

Module Contents

tests.system.google.cloud.gcs.example_http_to_gcs.ENV_ID[source]
tests.system.google.cloud.gcs.example_http_to_gcs.PROJECT_ID[source]
tests.system.google.cloud.gcs.example_http_to_gcs.DAG_ID = 'example_http_to_gcs'[source]
tests.system.google.cloud.gcs.example_http_to_gcs.BUCKET_NAME = 'bucket-example_http_to_gcs-Uninferable'[source]
tests.system.google.cloud.gcs.example_http_to_gcs.cmd = Multiline-String[source]
Show Value
"""
#!/bin/bash

echo 'foo' > /tmp/test_file

cd /tmp

nohup python3 -m http.server 8083 > /dev/null 2>&1 &

echo $!
sleep 2
exit 0
"""
tests.system.google.cloud.gcs.example_http_to_gcs.conn_id_name = 'Uninferable-http-conn-id'[source]
tests.system.google.cloud.gcs.example_http_to_gcs.test_run[source]

Was this entry helpful?