turbaszek commented on a change in pull request #11111:
URL: https://github.com/apache/airflow/pull/11111#discussion_r493916790
##########
File path: airflow/providers/google/cloud/operators/bigquery.py
##########
@@ -892,25 +912,25 @@ class BigQueryCreateEmptyTableOperator(BaseOperator):
# pylint: disable=too-many-arguments
@apply_defaults
def __init__(
- self,
- *,
- dataset_id: str,
- table_id: str,
- table_resource: Optional[Dict[str, Any]] = None,
- project_id: Optional[str] = None,
- schema_fields: Optional[List] = None,
- gcs_schema_object: Optional[str] = None,
- time_partitioning: Optional[Dict] = None,
- bigquery_conn_id: str = 'google_cloud_default',
- google_cloud_storage_conn_id: str = 'google_cloud_default',
- delegate_to: Optional[str] = None,
- labels: Optional[Dict] = None,
- view: Optional[Dict] = None,
- encryption_configuration: Optional[Dict] = None,
- location: Optional[str] = None,
- cluster_fields: Optional[List[str]] = None,
- impersonation_chain: Optional[Union[str, Sequence[str]]] = None,
- **kwargs,
+ self,
+ *,
+ dataset_id: str,
+ table_id: str,
+ table_resource: Optional[Dict[str, Any]] = None,
+ project_id: Optional[str] = None,
+ schema_fields: Optional[List] = None,
+ gcs_schema_object: Optional[str] = None,
+ time_partitioning: Optional[Dict] = None,
+ bigquery_conn_id: str = 'google_cloud_default',
+ google_cloud_storage_conn_id: str = 'google_cloud_default',
+ delegate_to: Optional[str] = None,
+ labels: Optional[Dict] = None,
+ view: Optional[Dict] = None,
+ encryption_configuration: Optional[Dict] = None,
+ location: Optional[str] = None,
+ cluster_fields: Optional[List[str]] = None,
+ impersonation_chain: Optional[Union[str, Sequence[str]]] = None,
+ **kwargs,
Review comment:
This seems to be unrelated change as other added indentations in
existing operators. You should be able to do this easily using pre-commit as
described here:
https://github.com/apache/airflow/blob/master/STATIC_CODE_CHECKS.rst
----------------------------------------------------------------
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]