draft: outline of better select
This commit is contained in:
@@ -91,7 +91,9 @@ class CliDownloader:
|
||||
self.page_dict = dict()
|
||||
|
||||
print()
|
||||
print(self.current_results.pprint())
|
||||
|
||||
"""
|
||||
page_count = 0
|
||||
for option in self.current_results.formatted_generator():
|
||||
if isinstance(option, ResultOption):
|
||||
@@ -106,10 +108,13 @@ class CliDownloader:
|
||||
self.page_dict[option.__name__] = option
|
||||
|
||||
page_count += 1
|
||||
"""
|
||||
|
||||
print()
|
||||
|
||||
def set_current_options(self, current_options: Results):
|
||||
def set_current_options(self, current_options: Generator[DatabaseObject, None, None]):
|
||||
current_options = components.DataObjectSelect(current_options)
|
||||
|
||||
if main_settings["result_history"]:
|
||||
self._result_history.append(current_options)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user