Skip to content

Commit

Permalink
Removed AWS keys
Browse files Browse the repository at this point in the history
  • Loading branch information
henrywangballer committed Apr 22, 2021
1 parent bb1617f commit afc678f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion prediction.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

def query_games(year):
#DON'T COMMIT WITH AWS KEYS!!!!
dynamo_conn = boto3.resource('dynamodb', region_name='us-east-2', aws_access_key_id='AKIAU3SZVQWPSL73LGUJ', aws_secret_access_key='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')
dynamo_conn = boto3.resource('dynamodb', region_name='us-east-2', aws_access_key_id='', aws_secret_access_key='')
table = dynamo_conn.Table(TABLE_NAME)

scan_kwargs = {
Expand Down
2 changes: 1 addition & 1 deletion prediction_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

class Predictions(Resource):
def get(self, home_team, away_team):
dynamo_conn = boto3.resource('dynamodb', region_name='us-east-2', aws_access_key_id='AKIAU3SZVQWPSL73LGUJ', aws_secret_access_key='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')
dynamo_conn = boto3.resource('dynamodb', region_name='us-east-2', aws_access_key_id='', aws_secret_access_key='')
table = dynamo_conn.Table(TABLE_NAME)

scan_kwargs = {
Expand Down
2 changes: 1 addition & 1 deletion store_prediction.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import uuid
#from decimal import Decimal

dynamo_conn = boto3.resource('dynamodb', region_name='us-east-2', aws_access_key_id='AKIAU3SZVQWPSL73LGUJ', aws_secret_access_key='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')
dynamo_conn = boto3.resource('dynamodb', region_name='us-east-2', aws_access_key_id='', aws_secret_access_key='')

TABLE_NAME_PRED = 'game_predictions'

Expand Down

0 comments on commit afc678f

Please sign in to comment.