Skip to content

Commit

Permalink
remove accidentally included self vars in recursive functioon
Browse files Browse the repository at this point in the history
  • Loading branch information
floptical committed Feb 21, 2024
1 parent 41df9ba commit 1bf9b8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion databridge_etl_tools/knack/knack.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def get_records(self, page=1, rows_per_page=1000):
yield data['records']

if int(data['current_page']) < data['total_pages']:
yield from self.get_records(self.app_id, self.api_key, self.knack_objectid, page=int(data['current_page']) + 1)
yield from self.get_records(page=int(data['current_page']) + 1)

def convert_type(self, local_type, knack_type, value):
if value == None or value == '':
Expand Down

0 comments on commit 1bf9b8d

Please sign in to comment.