Skip to content

Commit

Permalink
fix: fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
busunkim96 committed Dec 28, 2020
1 parent 3fbf291 commit 90d54ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gapic/schema/wrappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,8 +410,8 @@ def get_field(self, *field_path: str,
# binds deeply in the one spot where that might be a problem).
collisions = collisions or self.meta.address.collisions

field_path = [
name + "_" if name in utils.RESERVED_NAMES else name for name in field_path]
field_path = tuple([
name + "_" if name in utils.RESERVED_NAMES else name for name in field_path])

# Get the first field in the path.
cursor = self.fields[field_path[0]]
Expand Down

0 comments on commit 90d54ac

Please sign in to comment.