Skip to content

Commit

Permalink
Bug Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ATawzer committed Apr 30, 2021
1 parent 7c7988f commit f6818a5
Show file tree
Hide file tree
Showing 6 changed files with 97 additions and 66 deletions.
2 changes: 1 addition & 1 deletion .cache
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"access_token": "BQBkKxVUB0Jdq1CsVXQAs_YIKMuL5E3g5rRA0HDS5LUfLFr65M6TGwRbuFs_XNnYSaL_lNDCyAx3vaT6Zq4", "token_type": "Bearer", "expires_in": 3600, "expires_at": 1619799116}
{"access_token": "BQB1Zxtasy3gJzX9GjnvyMQHsyo-uwhQPULmIPWX0HjICey6XKFMnRuu6YEq6iQxsRyoMHUieT-ZD2hd3tA", "token_type": "Bearer", "expires_in": 3600, "expires_at": 1619802657}
2 changes: 1 addition & 1 deletion .cache-1241528689
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"access_token": "BQALtI4LPVoeULK1ejkF-NXl1oi1chGN3E99kz1q05gOwvvUK2_DgeIzMR5Hu9YYAd34If-s8Cea0yvwRSEqH1USBCjYRrtwz0TjdeIFeajWpZWgBZnURzOEhCH9oGCGi7pFRGYZM8vSHpg9r4Qb-9wZF8kN5cMnhddS2_MXC3wN6U5p8hSyzbg3DzSmSFZpvO54bUOXKFeRXoI", "token_type": "Bearer", "expires_in": 3600, "refresh_token": "AQCkRsNDn6OT8xCrrtN9NHlFNBNGGO9WNygnCq-5vr_mM9FuG5ILStdkAPw3mYy3vec2GgoKC7PMn9WKLSA9G1qXBglacLx72YoUU4_Bt05CDFEj6hRIcEKBwp3e39ZViYE", "scope": "playlist-modify-private playlist-modify-public", "expires_at": 1619799315}
{"access_token": "BQDDwmOADNHL28ksoPakx1obP6sk0NIFUoJb-o8KPT7B9W9sZs7d0yariOcUuKSYZyCh1KiKqWqxSOy34qfEpIanXiE1TxpCY91wOUOGX0J6iQm9Bhl7yfudEAVbdycwSqOq2vup2hKonzCF2HC47HAVhzbcxprVVoXXxuBMOvy-dtyZd4WiEMyinXtuDPgT6YDRJNrxf2nmNQGruXITk-E", "token_type": "Bearer", "expires_in": 3600, "scope": "playlist-modify-private playlist-modify-public", "expires_at": 1619804182, "refresh_token": "AQCkRsNDn6OT8xCrrtN9NHlFNBNGGO9WNygnCq-5vr_mM9FuG5ILStdkAPw3mYy3vec2GgoKC7PMn9WKLSA9G1qXBglacLx72YoUU4_Bt05CDFEj6hRIcEKBwp3e39ZViYE"}
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ pyodbc = "*"
mysql-connector-python = "*"
sqlalchemy = "*"
pymysql = "*"
cryptography = "*"

[dev-packages]

Expand Down
155 changes: 92 additions & 63 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/analytics.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ def gen_v_run_history(self, storm_names=[]):
# Copying
run_df.loc[run['_id'], 'run_date'] = run['run_date']
run_df.loc[run['_id'], 'start_date'] = run['start_date']
run_df.loc[run['_id'], 'storm_name'] = storm

# Direct Aggregations
agg_keys = ['playlists', 'input_tracks', 'input_artists', 'eligible_tracks',
Expand Down
2 changes: 1 addition & 1 deletion src/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import json
from pymongo import MongoClient
import pandas as pd
import tqdm as tqdm
from tqdm import tqdm
import numpy as np
import datetime as dt
from timeit import default_timer as timer
Expand Down

0 comments on commit f6818a5

Please sign in to comment.