Skip to content

Commit

Permalink
dealing with ws_url hitting cloudflare problem
Browse files Browse the repository at this point in the history
  • Loading branch information
jkbaumohl committed Oct 25, 2024
1 parent c7b2849 commit b4e732a
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion source/custom_scripts/get_copy_info_for_narratives.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

mongoDB_metrics_connection = os.environ["MONGO_PATH"]

ws_url = os.environ["WS_URL"]
#ws_url = os.environ["WS_URL"]
ws_user_token = os.environ["METRICS_WS_USER_TOKEN"]
to_workspace = os.environ["WRK_SUFFIX"]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

mongoDB_metrics_connection = os.environ["MONGO_PATH"]

ws_url = os.environ["WS_URL"]
#ws_url = os.environ["WS_URL"]
ws_user_token = os.environ["METRICS_WS_USER_TOKEN"]
to_workspace = os.environ["WRK_SUFFIX"]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from pymongo import MongoClient
from pymongo import ReadPreference
from biokbase.workspace.client import Workspace
#from biokbase.workspace.client import Workspace
#from installed_clients.AbstractHandleClient import AbstractHandle as HandleService
from biokbase.service.Client import Client as ServiceClient
import json as _json
Expand All @@ -22,7 +22,7 @@

mongoDB_metrics_connection = os.environ["MONGO_PATH"]

ws_url = os.environ["WS_URL"]
#ws_url = os.environ["WS_URL"]
ws_user_token = os.environ["METRICS_WS_USER_TOKEN"]
to_workspace = os.environ["WRK_SUFFIX"]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

mongoDB_metrics_connection = os.environ["MONGO_PATH"]

ws_url = os.environ["WS_URL"]
#ws_url = os.environ["WS_URL"]
ws_user_token = os.environ["METRICS_WS_USER_TOKEN"]
to_workspace = os.environ["WRK_SUFFIX"]

Expand Down
4 changes: 2 additions & 2 deletions source/daily_cron_jobs/methods_upload_blobstore_details.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from pymongo import MongoClient
from pymongo import ReadPreference
from biokbase.workspace.client import Workspace
#from biokbase.workspace.client import Workspace
#from installed_clients.AbstractHandleClient import AbstractHandle as HandleService
from biokbase.service.Client import Client as ServiceClient
import json as _json
Expand All @@ -18,7 +18,7 @@

mongoDB_metrics_connection = os.environ["MONGO_PATH"]

ws_url = os.environ["WS_URL"]
#ws_url = os.environ["WS_URL"]
ws_user_token = os.environ["METRICS_WS_USER_TOKEN"]
to_workspace = os.environ["WRK_SUFFIX"]

Expand Down

0 comments on commit b4e732a

Please sign in to comment.