airflow.providers.google.cloud.utils.dataform

Module Contents

Classes

DataformLocations

Enum for storing available locations for resources in Dataform.

Functions

make_initialization_workspace_flow(project_id, region, ...)

Creates flow which simulates the initialization of the default project.

define_default_location(region)

class airflow.providers.google.cloud.utils.dataform.DataformLocations[source]

Bases: str, enum.Enum

Enum for storing available locations for resources in Dataform.

US = US[source]
EUROPE = EU[source]
airflow.providers.google.cloud.utils.dataform.make_initialization_workspace_flow(project_id, region, repository_id, workspace_id, package_name=None, without_installation=False)[source]

Creates flow which simulates the initialization of the default project. :param project_id: Required. The ID of the Google Cloud project where workspace located. :param region: Required. The ID of the Google Cloud region where workspace located. :param repository_id: Required. The ID of the Dataform repository where workspace located. :param workspace_id: Required. The ID of the Dataform workspace which requires initialization. :param package_name: Name of the package. If value is not provided then workspace_id will be used. :param without_installation: Defines should installation of npm packages be added to flow.

airflow.providers.google.cloud.utils.dataform.define_default_location(region)[source]

Was this entry helpful?