Skip to content

Commit

Permalink
Update data_validation.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Vedansh1857 authored Mar 8, 2024
1 parent 9ae3d35 commit 9c6c39e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/mlProject/components/data_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ def validate_all_columns(self) -> bool:
s3 = boto3.resource(
service_name='s3',
region_name='us-east-1',
aws_access_key_id = 'AKIAU473WEHAZP5Q63UT',
aws_secret_access_key = '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'
aws_access_key_id = '',
aws_secret_access_key = ''
)

obj = s3.Bucket('vedanshaws').Object('winequality-red.csv').get()
Expand All @@ -42,4 +42,4 @@ def validate_all_columns(self) -> bool:
return validation_status

except Exception as e:
raise e
raise e

0 comments on commit 9c6c39e

Please sign in to comment.