tegardp commented on a change in pull request #16160:
URL: https://github.com/apache/airflow/pull/16160#discussion_r642055227
##########
File path: airflow/providers/google/cloud/transfers/gcs_to_bigquery.py
##########
@@ -286,7 +286,7 @@ def execute(self, context):
else:
schema_fields = self.schema_fields
- source_uris = [f'gs://{self.bucket}/{source_object}' for source_object
in self.source_objects]
+ source_uris = [f'gs://{self.bucket}/{source_object}' for source_object
in self.source_objects] if type(self.source_objects) is list else
[f'gs://{self.bucket}/{self.source_objects}']
Review comment:
ahh, I was thinking about that solution too. So, it doesn't have to be
one line code?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]