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
File "/home/abc/ENTER/envs/gr_env/lib/python3.9/site-packages/guardrails_grhub_guardrails_pii/main.py", line 77, in GuardrailsPII
entities: str | List[str],
TypeError: unsupported operand type(s) for |: 'type' and '_GenericAlias'
Uh oh!
There was an error while loading. Please reload this page.
https://github.com/guardrails-ai/guardrails_pii/blob/main/validator/main.py#L77
Above line gives below error on python3.9
I think can be updated to below
entities: Union[str, List[str]],
Let me know if it makes sense and I will raise a PR @CalebCourier @zsimjee
The text was updated successfully, but these errors were encountered: