Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes blocking Kai integration #309

Merged
merged 2 commits into from
Aug 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ if [[ ${MODE} != "importer" ]]; then
PYTHONPATH="/kai/kai" exec gunicorn --timeout 3600 -w "${NUM_WORKERS}" --bind 0.0.0.0:8080 --worker-class aiohttp.GunicornWebWorker 'kai.server:app()'
else
cd /kai || exit
python ./kai/hub_importer.py --loglevel "${LOGLEVEL}" --config_filepath ./kai/config.toml "${IMPORTER_ARGS}" "${HUB_URL}"
python ./kai/hub_importer.py --loglevel "${LOGLEVEL}" --config_filepath ./kai/config.toml "${HUB_URL}" "${IMPORTER_ARGS}"
fi
6 changes: 5 additions & 1 deletion kai/hub_importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,11 @@ def process_analyses(
}
if report_data:
reports.append(
(application, credentials, Report.load_report_from_object(report_data))
(
application,
credentials,
Report.load_report_from_object(report_data, analysis.id),
)
)
return reports

Expand Down
Loading