If stop_level = True, after printing 'merging files...', console prints 'fetching zip file from [url]' and 'following URLs failed' twice. Could be downloading twice as well.
To Reproduce
Steps to reproduce the behavior:
Set stop_level = True
Run for any number of datasets
observe behaviour in console
code example
timetable_ = TimetableExtractor(api_key=api # Your API Key Here
,limit=1 # How many datasets to view
,status = 'published' # Only view published datasets
,service_line_level=True # True if you require Service line data
,stop_level=True # True if you require stop level data
)
Expected behavior
code should only download and print file once, even if stop_level and service_line_level are set to True. This is a waste of compute otherwise
If stop_level = True, after printing 'merging files...', console prints 'fetching zip file from [url]' and 'following URLs failed' twice. Could be downloading twice as well.
To Reproduce Steps to reproduce the behavior:
code example
Expected behavior code should only download and print file once, even if stop_level and service_line_level are set to True. This is a waste of compute otherwise