Skip to content

Commit

Permalink
Fix observation status batch program
Browse files Browse the repository at this point in the history
  • Loading branch information
arunjose1995 committed May 5, 2021
1 parent 9e0369f commit 9ad9816
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions observations/pyspark_observation_status_batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ def convert_to_row(d: dict) -> Row:

clientProd = MongoClient(config.get('MONGO', 'mongo_url'))
db = clientProd[config.get('MONGO', 'database_name')]
obsSubmissionsCollec = db[config.get('MONGO',' observation_sub_collec')]
obsSubmissionsCollec = db[config.get('MONGO', 'observation_sub_collec')]
solutionCollec = db[config.get('MONGO', 'solutions_collec')]
userRolesCollec = db[config.get("MONGO", "user_roles_collection")]
programCollec = db[config.get("MONGO", "programs_collec")]
userRolesCollec = db[config.get("MONGO", 'user_roles_collection')]
programCollec = db[config.get("MONGO", 'programs_collec')]

# redis cache connection
redis_connection = redis.ConnectionPool(
Expand Down

0 comments on commit 9ad9816

Please sign in to comment.