-
Notifications
You must be signed in to change notification settings - Fork 5
MongoFrei #344
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
MongoFrei #344
Conversation
Coverage reportClick to see where and how coverage changed
The report is truncated to 25 files out of 55. To see the full report, please visit the workflow summary page. This report was generated by python-coverage-comment-action |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
server/lomas_server/administration/tests/test_streamlit_app_page_b.py
Outdated
Show resolved
Hide resolved
| dp_querier: DPQuerier | ||
| match dp_library: | ||
| case DPLibraries.SMARTNOISE_SQL: | ||
| query_model = SmartnoiseSQLDummyQueryModel.model_validate_json(query_model_str) | ||
| data_connector = await get_dummy_dataset_for_query(admin_database, query_model) | ||
| dp_querier = SmartnoiseSQLQuerier(data_connector, admin_database) | ||
| case DPLibraries.SMARTNOISE_SYNTH: | ||
| query_model = SmartnoiseSynthDummyQueryModel.model_validate_json(query_model_str) | ||
| data_connector = await get_dummy_dataset_for_query(admin_database, query_model) | ||
| dp_querier = SmartnoiseSynthQuerier(data_connector, admin_database) | ||
| case DPLibraries.OPENDP: | ||
| query_model = OpenDPDummyQueryModel.model_validate_json(query_model_str) | ||
| data_connector = await get_dummy_dataset_for_query(admin_database, query_model) | ||
| dp_querier = OpenDPQuerier(data_connector, admin_database) | ||
| case DPLibraries.DIFFPRIVLIB: | ||
| query_model = DiffPrivLibDummyQueryModel.model_validate_json(query_model_str) | ||
| data_connector = await get_dummy_dataset_for_query(admin_database, query_model) | ||
| dp_querier = DiffPrivLibQuerier(data_connector, admin_database) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would be nice as a function to avoid having 3 times the same code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
at the time there was only two (with 2 smartnoise gone) but back-porting it we could
| @@ -0,0 +1,465 @@ | |||
| import logging | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems all good, I just wonder how can you be sure that there is a lock and no worker can read while another worker is writing?
PaulineMauryL
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just have a few understanding questions but very interesting PR
No description provided.