You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Old results are then showing separately from the new results. Might be good to provide a Move feature re-linking the old results to the modified report.
The text was updated successfully, but these errors were encountered:
for c in lib.find():
if c["report_name"] == from_path:
c["report_name"] = to_path
modified.append(c)
for m in modified:
lib.replace_one({"_id": m["_id"]}, m)
modify schedules
import pickle
modified = []
loaded = mongo["[lib]_scheduler"].find()
for l in loaded:
state = pickle.loads(l["job_state"])
if state["kwargs"]["report_name"] == from_path:
state["kwargs"]["report_name"] = to_path
print("replaced")
l["job_state"] = pickle.dumps(state)
modified.append(l)
for m in modified:
mongo["ahl_fts_scheduler"].replace_one({"_id": m["_id"]}, m)
Old results are then showing separately from the new results. Might be good to provide a
Move
feature re-linking the old results to the modified report.The text was updated successfully, but these errors were encountered: