Skip to content

Commit

Permalink
remove unnecessary variable
Browse files Browse the repository at this point in the history
  • Loading branch information
tswast committed Dec 27, 2024
1 parent e959a48 commit 4d0e816
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions google/cloud/bigquery/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

import collections
import enum
from typing import Any, Dict, Iterable, Optional, Union, cast
from typing import Any, Dict, Iterable, Optional, Union

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

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

0 comments on commit 4d0e816

Please sign in to comment.