Skip to content

Commit

Permalink
mf
Browse files Browse the repository at this point in the history
  • Loading branch information
mam10eks committed Dec 10, 2024
1 parent 805e863 commit a452795
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
14 changes: 7 additions & 7 deletions application/test/settings_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,11 +329,11 @@ def logger_config(log_dir: Path):
CODE_SUBMISSION_REPOSITORY_NAMESPACE = "tira-io"

WELL_KNOWN = {
"api": "https://127.0.0.1:8081",
"grpc": "https://127.0.0.1:8081",
"archived": "https://127.0.0.1:8080",
"login": "https://127.0.0.1:8081",
"logout": "https://127.0.0.1:8081",
"notifications": "fooo",
"disraptorURL": "https://127.0.0.1:8081",
"api": custom_settings["tira_rest_api"]["base_url"],
"grpc": custom_settings["tira_rest_api"]["grpc_url"],
"archived": custom_settings["tira_rest_api"]["archived_url"],
"login": custom_settings["tira_rest_api"]["login_url"],
"logout": custom_settings["tira_rest_api"]["logout_url"],
"notifications": custom_settings["tira_rest_api"]["notifications_url"],
"disraptorURL": custom_settings["tira_rest_api"]["disraptor_url"],
}
4 changes: 3 additions & 1 deletion python-client/tira/third_party_integrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,9 @@ def register_rerank_data_to_ir_datasets(path_to_rerank_file, ir_dataset_id, orig
register_dataset_from_re_rank_file(ir_dataset_id, default_input, original_ir_datasets_id)


def persist_and_normalize_run(run, system_name, default_output=None, output_file=None, depth=1000, upload_to_tira=None, tira_client=None):
def persist_and_normalize_run(
run, system_name, default_output=None, output_file=None, depth=1000, upload_to_tira=None, tira_client=None
):
if output_file is None and default_output is None:
print(
'I use the environment variable "TIRA_OUTPUT_DIR" to determine where I should store the run file using "."'
Expand Down

0 comments on commit a452795

Please sign in to comment.