airflow.providers.google.cloud.example_dags.example_vision

Example Airflow DAG that creates, gets, updates and deletes Products and Product Sets in the Google Cloud Vision service.

This DAG relies on the following OS environment variables

  • GCP_VISION_LOCATION - Zone where the instance exists.

  • GCP_VISION_PRODUCT_SET_ID - Product Set ID.

  • GCP_VISION_PRODUCT_ID - Product ID.

  • GCP_VISION_REFERENCE_IMAGE_ID - Reference Image ID.

  • GCP_VISION_REFERENCE_IMAGE_URL - A link to the bucket that contains the reference image.

  • GCP_VISION_ANNOTATE_IMAGE_URL - A link to the bucket that contains the file to be annotated.

Module Contents

airflow.providers.google.cloud.example_dags.example_vision.START_DATE[source]
airflow.providers.google.cloud.example_dags.example_vision.GCP_VISION_LOCATION[source]
airflow.providers.google.cloud.example_dags.example_vision.GCP_VISION_PRODUCT_SET_ID[source]
airflow.providers.google.cloud.example_dags.example_vision.GCP_VISION_PRODUCT_ID[source]
airflow.providers.google.cloud.example_dags.example_vision.GCP_VISION_REFERENCE_IMAGE_ID[source]
airflow.providers.google.cloud.example_dags.example_vision.GCP_VISION_REFERENCE_IMAGE_URL[source]
airflow.providers.google.cloud.example_dags.example_vision.GCP_VISION_ANNOTATE_IMAGE_URL[source]
airflow.providers.google.cloud.example_dags.example_vision.product_set[source]
airflow.providers.google.cloud.example_dags.example_vision.product[source]
airflow.providers.google.cloud.example_dags.example_vision.reference_image[source]
airflow.providers.google.cloud.example_dags.example_vision.annotate_image_request[source]
airflow.providers.google.cloud.example_dags.example_vision.DETECT_IMAGE[source]
airflow.providers.google.cloud.example_dags.example_vision.product_set_create[source]
airflow.providers.google.cloud.example_dags.example_vision.product_set_create_2[source]
airflow.providers.google.cloud.example_dags.example_vision.annotate_image[source]

Was this entry helpful?