Spaces:
Sleeping
Sleeping
Update well_status_utils.py
Browse files- well_status_utils.py +3 -2
well_status_utils.py
CHANGED
|
@@ -1,4 +1,3 @@
|
|
| 1 |
-
|
| 2 |
from pymongo import MongoClient
|
| 3 |
from prefect import task
|
| 4 |
import pandas as pd
|
|
@@ -6,9 +5,11 @@ import pandas as pd
|
|
| 6 |
import os
|
| 7 |
|
| 8 |
MONGODB_PASSWORD = os.getenv("MONGODB_PASSWORD")
|
|
|
|
| 9 |
blinded_connection_string = os.getenv("blinded_connection_string")
|
| 10 |
-
|
| 11 |
connection_string = blinded_connection_string.replace("<db_password>", MONGODB_PASSWORD)
|
|
|
|
| 12 |
|
| 13 |
@task
|
| 14 |
def generate_empty_well():
|
|
|
|
|
|
|
| 1 |
from pymongo import MongoClient
|
| 2 |
from prefect import task
|
| 3 |
import pandas as pd
|
|
|
|
| 5 |
import os
|
| 6 |
|
| 7 |
MONGODB_PASSWORD = os.getenv("MONGODB_PASSWORD")
|
| 8 |
+
print(MONGODB_PASSWORD)
|
| 9 |
blinded_connection_string = os.getenv("blinded_connection_string")
|
| 10 |
+
print(blinded_connection_string)
|
| 11 |
connection_string = blinded_connection_string.replace("<db_password>", MONGODB_PASSWORD)
|
| 12 |
+
print(connection_string)
|
| 13 |
|
| 14 |
@task
|
| 15 |
def generate_empty_well():
|