OperatorQuickSetup¶
- class bigquery_operator.operator_quick_setup.OperatorQuickSetup(project_id: str, dataset_name: str, credentials: Optional[Credentials] = None)[source]¶
Bases:
OperatorThe purpose of this class is to quickly set up an Operator.
An instance of OperatorQuickSetup is simply an instance of the base class built with the following arguments:
client=client dataset_id=dataset_id
where
client = google.cloud.bigquery.Client( project=project_id, credentials=credentials) dataset_id = project_id + '.' + dataset_name
- Parameters
project_id (str, optional) – The project id.
dataset_name (str, optional) – The dataset name.
credentials (google.auth.credentials.Credentials) – Credentials used to build the client. If not passed, falls back to the default inferred from the environment.