Skip to content

Conversation

@bstuder
Copy link
Collaborator

@bstuder bstuder commented Aug 21, 2025

As per request.

@bstuder bstuder requested a review from PaulineMauryL August 21, 2025 13:31
@bstuder bstuder changed the base branch from master to develop August 21, 2025 13:31
return metadata

raise_error(res)
return flow(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it looks much better indeed

"imputer_strategy": imputer_strategy,
},
DiffPrivLibRequestModel.model_validate,
partial(self.http_client.post, "estimate_diffprivlib_cost"),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no more bind(parse_if_OK) ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(same for those below)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

theses are waiting for 202_ACCEPTED, and handled in validate_model_response, but it could be easier to follow if extracted, I'll have a look

@PaulineMauryL
Copy link
Member

I think it's great ! I also think it is better if we hide all this from the user perspective because it might be too much as they are usually not proficient with python

@bstuder bstuder force-pushed the wip-418-error-handling branch 2 times, most recently from c1905b7 to 6d85f28 Compare August 26, 2025 12:23
@bstuder bstuder force-pushed the wip-418-error-handling branch 2 times, most recently from 8cf7266 to bde9162 Compare September 5, 2025 09:03
@PaulineMauryL
Copy link
Member

PaulineMauryL commented Sep 5, 2025

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  client/lomas_client
  __init__.py
  client.py 160-161, 282-293, 299, 308, 312, 316, 320, 324
  http_client.py
  utils.py 72, 92, 97-98, 110-117, 123-127, 132-135
  client/lomas_client/libraries
  diffprivlib.py
  opendp.py 97-103, 153
  smartnoise_sql.py 44
  smartnoise_synth.py
  client/lomas_client/tests
  test_integrations.py
  core/lomas_core
  error_handler.py 151, 153, 156-157
  server/lomas_server/administration
  keycloak_admin.py 166
  server/lomas_server/tests
  test_keycloak_admin.py
  utils.py
Project Total  

This report was generated by python-coverage-comment-action

@bstuder bstuder force-pushed the wip-418-error-handling branch from 4268bad to c44e3ea Compare September 8, 2025 14:27
@bstuder bstuder self-assigned this Sep 9, 2025
@bstuder bstuder marked this pull request as ready for review September 9, 2025 14:16
@bstuder bstuder force-pushed the wip-418-error-handling branch 2 times, most recently from 74eb019 to 9883c17 Compare September 10, 2025 10:42
@bstuder bstuder changed the title [Draft] Wip 418 error handling Wip 418 error handling Sep 10, 2025
@bstuder bstuder force-pushed the wip-418-error-handling branch from 095106d to 441c82f Compare September 12, 2025 08:28
@bstuder bstuder force-pushed the wip-418-error-handling branch from 441c82f to cb7c0d1 Compare September 23, 2025 09:50
@bstuder bstuder force-pushed the wip-418-error-handling branch from d051d65 to 25c694b Compare October 8, 2025 11:19
@bstuder bstuder force-pushed the wip-418-error-handling branch from 25c694b to a33a056 Compare October 14, 2025 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants