Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyaFaer committed Mar 28, 2024
1 parent 4191191 commit 23e71ae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dlt/destinations/impl/bigquery/sql_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 23e71ae

Please sign in to comment.