From 23e71ae696b977e80078a927476be9c90b15d4d8 Mon Sep 17 00:00:00 2001 From: IlyaFaer Date: Thu, 28 Mar 2024 14:42:12 +0400 Subject: [PATCH] lint fix --- dlt/destinations/impl/bigquery/sql_client.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dlt/destinations/impl/bigquery/sql_client.py b/dlt/destinations/impl/bigquery/sql_client.py index c375ff2d32..21086a4db6 100644 --- a/dlt/destinations/impl/bigquery/sql_client.py +++ b/dlt/destinations/impl/bigquery/sql_client.py @@ -48,7 +48,9 @@ class BigQueryDBApiCursorImpl(DBApiCursorImpl): def df(self, chunk_size: int = None, **kwargs: Any) -> DataFrame: if chunk_size is not None: return super().df(chunk_size=chunk_size) - query_job: bigquery.QueryJob = getattr(self.native_cursor, "_query_job", self.native_cursor.query_job) # type: ignore + query_job: bigquery.QueryJob = getattr( + self.native_cursor, "_query_job", self.native_cursor.query_job + ) try: return query_job.to_dataframe(**kwargs)