Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
First draft of field based pseudonymization (#187)
* First draft of field based pseudonymization * Use valid test FNR's * Add field metadata model 'PseudoMetadata' * Pass keyset information to API if supplied * Run field requests in parallel and store metadata for each response * Update and add tests * Move common mock setup of 'do_pseudonymize_field' to a function * Remove metadata class * Add docs & ypdate processing of response to match changes in pseudo service * Revert "Merge branch 'main' into use-field-endpoint" This reverts commit 70957c7, reversing changes made to 3ab150a. * Revert "Revert "Merge branch 'main' into use-field-endpoint"" This reverts commit 41f9fbe. * Add missing timeout * Update function name * Update API mock response in test_builder_pandas_pseudonymize_minimal_call * Simplify _pseudonymize_field by removing a layer of nesting. * Update cryptography and pygments as recommended by Safety * Fix error in pseudonymize_field_runner doc * Add tests for _post_to_field_endpoint * Strip notebook * Add from_polars method * Fix mypy * Adjust codecov targets --------- Co-authored-by: Anders Lunde <[email protected]> Co-authored-by: Anders Lunde <[email protected]>
- Loading branch information