Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
prodriguezdefino committed Oct 19, 2024
1 parent 9d6ef8b commit fdac2f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdks/python/apache_beam/io/gcp/bigquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -2751,7 +2751,7 @@ def with_output_types(self):
fields = [(StorageWriteToBigQuery.DESTINATION, str),
(StorageWriteToBigQuery.RECORD, self.element_type)]
if callable(self.mutation_info_fn):
fields.append(CDC_INFO_TYPE_HINT)
fields.append(StorageWriteToBigQuery.CDC_INFO_TYPE_HINT)
type_hint = RowTypeConstraint.from_fields(fields)
else:
if callable(self.mutation_info_fn):
Expand Down Expand Up @@ -2812,7 +2812,7 @@ def with_output_types(self):
StorageWriteToBigQuery.RECORD,
RowTypeConstraint.from_fields(row_type_hints))]
if callable(self.mutation_info_fn):
fields.append(CDC_INFO_TYPE_HINT)
fields.append(StorageWriteToBigQuery.CDC_INFO_TYPE_HINT)
type_hint = RowTypeConstraint.from_fields(fields)
else:
if callable(self.mutation_info_fn):
Expand Down

0 comments on commit fdac2f7

Please sign in to comment.