Skip to content

Commit 4d0e816

Browse files
committed
remove unnecessary variable
1 parent e959a48 commit 4d0e816

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

google/cloud/bigquery/schema.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
import collections
1818
import enum
19-
from typing import Any, Dict, Iterable, Optional, Union, cast
19+
from typing import Any, Dict, Iterable, Optional, Union
2020

2121
from google.cloud.bigquery import standard_sql
2222
from google.cloud.bigquery.enums import StandardSqlTypeNames
@@ -327,8 +327,7 @@ def to_api_repr(self) -> dict:
327327
# Note: we don't make a copy of _properties because this can cause
328328
# unnecessary slowdowns, especially on deeply nested STRUCT / RECORD
329329
# fields. See https://github.com/googleapis/python-bigquery/issues/6
330-
answer = self._properties
331-
return answer
330+
return self._properties
332331

333332
def _key(self):
334333
"""A tuple key that uniquely describes this field.

0 commit comments

Comments
 (0)