Skip to content

Commit

Permalink
fix(components/google-cloud): Fix the keyword argument 'project_id' t…
Browse files Browse the repository at this point in the history
…o 'project' after the yaml upd… (#6463)
  • Loading branch information
yzhaozh authored Aug 28, 2021
1 parent 36ac7de commit e45782e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@


def ForecastingPreprocessingOp(
project_id: str,
project: str,
input_tables: str,
preprocessing_bigquery_dataset: Optional[str] = None):
"""Preprocesses BigQuery tables for training or prediction.
Expand All @@ -36,7 +36,7 @@ def ForecastingPreprocessingOp(
used in the training, plus a plan table.
Args:
project_id (str): The GCP project id that runs the pipeline.
project (str): The GCP project id that runs the pipeline.
input_tables (str): Serialized Json array that specifies input BigQuery
tables and specs.
preprocessing_bigquery_dataset (Optional[str]): Optional BigQuery dataset
Expand All @@ -51,7 +51,7 @@ def ForecastingPreprocessingOp(
return load_component_from_file(
os.path.join(
os.path.dirname(__file__), 'preprocess/component.yaml'))(
project_id=project_id,
project=project,
input_tables=input_tables,
preprocessing_bigquery_dataset=preprocessing_bigquery_dataset)

Expand Down

0 comments on commit e45782e

Please sign in to comment.