-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add bulk method, revamp documentation structure #7
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I pushed a commit that changes the de_identify_results
for redact_bulk
from List[Replacement]
where Replacement
has an idx
field to List[List[Replacement]]
so that de_identify_results
, bulk_text
, and bulk_redacted_text
are all lists of the same length. With this change I also removed the now unneeded idx
field of Replacement
. I also tested this change.
Otherwise, looks good to me.
Co-authored-by: ander steele <[email protected]>
random_seed: Optional[int] = None, | ||
label_block_lists: Optional[Dict[str, List[str]]] = None, | ||
label_allow_lists: Optional[Dict[str, List[str]]] = None, | ||
) -> RedactionResponse: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
) -> RedactionResponse: | |
) -> BulkRedactionResponse: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.