Skip to content

Commit

Permalink
use mappings filter
Browse files Browse the repository at this point in the history
  • Loading branch information
haleemur committed Sep 7, 2024
1 parent 7cbd51c commit c92b561
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tap_snowflake/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -524,5 +524,5 @@ def get_records(self, context: types.Context | None) -> Iterable[dict[str, Any]]
if self.ABORT_AT_RECORD_COUNT is not None:
query = query.limit(self.ABORT_AT_RECORD_COUNT)

for record in self.connector.execute(query): # type: ignore[attr-defined]
yield record._asdict()
for record in self.connector.execute(query).mappings(): # type: ignore[attr-defined]
yield dict(record)

0 comments on commit c92b561

Please sign in to comment.