Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.05 KB

File metadata and controls

30 lines (21 loc) · 1.05 KB

TextWithPublicKey

Properties

Name Type Description Notes
text str The plain text to be sent to the model for NER and redaction
public_key_pem str The public PEM key used for encrypting detected spans

Example

from cms_client.models.text_with_public_key import TextWithPublicKey

# TODO update the JSON string below
json = "{}"
# create an instance of TextWithPublicKey from a JSON string
text_with_public_key_instance = TextWithPublicKey.from_json(json)
# print the JSON string representation of the object
print(TextWithPublicKey.to_json())

# convert the object into a dict
text_with_public_key_dict = text_with_public_key_instance.to_dict()
# create an instance of TextWithPublicKey from a dict
text_with_public_key_from_dict = TextWithPublicKey.from_dict(text_with_public_key_dict)

[Back to Model list] [Back to API list] [Back to README]