You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I think there is a problem with operator_name function in ReplaceInHebrew and similar classes which inherit from presidio Operator. I cloned the git repo and work from it locally.
File "/data/home/ilanit.sobol/anaconda3/envs/hebsafeharbor/lib/python3.8/site-packages/presidio_anonymizer/anonymizer_engine.py", line 95, in anonymize return self._operate(text=text, File "/data/home/ilanit.sobol/anaconda3/envs/hebsafeharbor/lib/python3.8/site-packages/presidio_anonymizer/core/engine_base.py", line 53, in _operate changed_text = self.__operate_on_text( File "/data/home/ilanit.sobol/anaconda3/envs/hebsafeharbor/lib/python3.8/site-packages/presidio_anonymizer/core/engine_base.py", line 85, in __operate_on_text operator = self.operators_factory.create_operator_class( File "/data/home/ilanit.sobol/anaconda3/envs/hebsafeharbor/lib/python3.8/site-packages/presidio_anonymizer/operators/operators_factory.py", line 130, in create_operator_class raise InvalidParamException(f"Invalid operator class '{operator_name}'.") presidio_anonymizer.entities.invalid_exception.InvalidParamException: Invalid operator class 'replace_in_hebrew'.
Hi,
I think there is a problem with operator_name function in ReplaceInHebrew and similar classes which inherit from presidio Operator. I cloned the git repo and work from it locally.
File "/data/home/ilanit.sobol/anaconda3/envs/hebsafeharbor/lib/python3.8/site-packages/presidio_anonymizer/anonymizer_engine.py", line 95, in anonymize return self._operate(text=text, File "/data/home/ilanit.sobol/anaconda3/envs/hebsafeharbor/lib/python3.8/site-packages/presidio_anonymizer/core/engine_base.py", line 53, in _operate changed_text = self.__operate_on_text( File "/data/home/ilanit.sobol/anaconda3/envs/hebsafeharbor/lib/python3.8/site-packages/presidio_anonymizer/core/engine_base.py", line 85, in __operate_on_text operator = self.operators_factory.create_operator_class( File "/data/home/ilanit.sobol/anaconda3/envs/hebsafeharbor/lib/python3.8/site-packages/presidio_anonymizer/operators/operators_factory.py", line 130, in create_operator_class raise InvalidParamException(f"Invalid operator class '{operator_name}'.") presidio_anonymizer.entities.invalid_exception.InvalidParamException: Invalid operator class 'replace_in_hebrew'.
Would appreciate your assistance in the matter.
The text was updated successfully, but these errors were encountered: