Originally reported byZachary Hafen (Bitbucket: zhafen, GitHub: zhafen)
Current masking is actually pretty flexible already, but what would be great is to choose what masks to combine together. I'll implement this by adding another dictionary to the DataMasker from which masks can be pulled on demand.
Things to be updated:
DataMasker.mask_data needs to be able to store the masks, including an appropriate name.
DataMasker.mask_data should check that no mask is already stored.
DataMasker.get_total_mask() should be able to pull from the masks.
DataMasker.get_masked_data() should be able to pull from the masks.
Originally reported by Zachary Hafen (Bitbucket: zhafen, GitHub: zhafen)
Current masking is actually pretty flexible already, but what would be great is to choose what masks to combine together. I'll implement this by adding another dictionary to the
DataMasker
from which masks can be pulled on demand.Things to be updated:
DataMasker.mask_data
needs to be able to store the masks, including an appropriate name.DataMasker.mask_data
should check that no mask is already stored.DataMasker.get_total_mask()
should be able to pull from the masks.DataMasker.get_masked_data()
should be able to pull from the masks.