OpenMined / PipelineDP

PipelineDP is a Python framework for applying differentially private aggregations to large datasets using batch processing systems such as Apache Spark, Apache Beam, and more.
https://pipelinedp.io/
Apache License 2.0
270 stars 75 forks source link

Remove not needed validation on privacy_id_extractor #499

Closed dvadym closed 8 months ago

dvadym commented 8 months ago

When contribution_bounds_already_enforced = True then PipelineDP does no contribution bounding. As a privacy id is not needed. The current validation requires privacy_id_extractor to be None, but there is no problem if privacy id extractor is set up. But it's pretty confusing for users why privacy_id_extractor has to be None. Let's drop this validation for simplicity