Skip to content

Commit

Permalink
removed the redundant S3 question prompt from data preprocessing
Browse files Browse the repository at this point in the history
Signed-off-by: Ahmed Sheta <[email protected]>
  • Loading branch information
ultiwinter7 committed Feb 6, 2024
1 parent d842143 commit 6c55b48
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/demo/demos.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,7 @@ def preprocessing_demo():
historical_bool = True
else:
historical_bool = False
if get_yes_no_input("Run on S3? (y/n)\n'n' means it will run locally!\n"):
S3_bool = True
else:
S3_bool = False
S3_bool = DATABASE_TYPE == "S3"

preprocessor = Preprocessing(
filter_null_data=filter_bool, historical_bool=historical_bool, S3_bool=S3_bool
Expand Down

0 comments on commit 6c55b48

Please sign in to comment.