Skip to content

Commit aa2cdee

Browse files
committed
remove --export from the cli args
1 parent aaf812b commit aa2cdee

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

application/web/web_main.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ def fetch_job() -> Any:
356356
@app.route("/rest/v1/standards", methods=["GET"])
357357
def standards() -> Any:
358358
if posthog:
359-
posthog.capture(f"standards","")
359+
posthog.capture(f"standards", "")
360360

361361
database = db.Node_collection()
362362
standards = database.standards()
@@ -407,7 +407,7 @@ def find_root_cres() -> Any:
407407
408408
"""
409409
if posthog:
410-
posthog.capture(f"find_root_cres","")
410+
posthog.capture(f"find_root_cres", "")
411411

412412
database = db.Node_collection()
413413
# opt_osib = request.args.get("osib")
@@ -590,7 +590,7 @@ def login_r(*args, **kwargs):
590590
def chat_cre() -> Any:
591591
message = request.get_json(force=True)
592592
if posthog:
593-
posthog.capture(f"chat_cre","")
593+
posthog.capture(f"chat_cre", "")
594594

595595
database = db.Node_collection()
596596
prompt = prompt_client.PromptHandler(database)
@@ -709,7 +709,7 @@ def logout():
709709
def all_cres() -> Any:
710710
database = db.Node_collection()
711711
if posthog:
712-
posthog.capture(f"all_cres","")
712+
posthog.capture(f"all_cres", "")
713713

714714
page = 1
715715
per_page = ITEMS_PER_PAGE
@@ -735,7 +735,7 @@ def all_cres() -> Any:
735735
@app.route("/rest/v1/cre_csv", methods=["GET"])
736736
def get_cre_csv() -> Any:
737737
if posthog:
738-
posthog.capture(f"get_cre_csv","")
738+
posthog.capture(f"get_cre_csv", "")
739739

740740
database = db.Node_collection()
741741
root_cres = database.get_root_cres()

cre.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,6 @@ def main() -> None:
112112
default=None,
113113
help="define location of local directory to export database in OSIB format to",
114114
)
115-
116-
parser.add_argument(
117-
"--export",
118-
default=None,
119-
help="export all data into yaml files under the directory pointed to by this argument",
120-
)
121115
# Start External Project importing
122116
parser.add_argument(
123117
"--zap_in",

0 commit comments

Comments
 (0)