From c97dbcc1e90a2441fcdee24f7fb72fe1b2bece43 Mon Sep 17 00:00:00 2001 From: Alexandros Milaios Date: Thu, 3 Oct 2024 16:08:52 +0300 Subject: [PATCH] fix: fix typo --- .../connectors/source-recurly/source_recurly/streams.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/airbyte-integrations/connectors/source-recurly/source_recurly/streams.py b/airbyte-integrations/connectors/source-recurly/source_recurly/streams.py index 0ae4098f853b..91c62a8426ed 100644 --- a/airbyte-integrations/connectors/source-recurly/source_recurly/streams.py +++ b/airbyte-integrations/connectors/source-recurly/source_recurly/streams.py @@ -340,8 +340,8 @@ def read_records( for coupon in coupons: try: - page = self._client.list_unique_coupon_codes(params=params, coupon_id=coupon.id).pages() - for item in page: + pages = self._client.list_unique_coupon_codes(params=params, coupon_id=coupon.id).pages() + for item in pages: yield self._item_to_dict(item) # slow down the API calls to avoid rate limiting time.sleep(RATE_LIMIT_SLEEP_IN_SECS)