Open aecorn opened 1 year ago
Same column in fields and sid_fields
@aecorn it looks like there are two separate issues here.
TypeError: pseudonymize() missing 1 required positional argument: 'fields'
has been resolved in #126 but has not been released yet.HTTPError: 500 Server Error: Internal Server Error for url: http://dapla-pseudo-service.dapla.svc.cluster.local/pseudonymize/file
is an issue we need to resolve. The real problem is the user interface in the python package, we're considering combining sid_fields
and fields
to be one argument.
I have dataset with a single column "fnr", this is a sid-field.
dpp.pseudonymize(data, sid_fields=["fnr"]).json()
ReturnsTypeError: pseudonymize() missing 1 required positional argument: 'fields'
Whenever I specify "sid_fields", I get a 500-server error.
dpp.pseudonymize(data, fields=["fnr"], sid_fields=["fnr"])
If I only specify "fnr" as a "field", I get the wrong encryption. The goal is to get FPE on the "fnr" column.