Skip to content

Commit

Permalink
More docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hmacdonald-verta committed May 30, 2023
1 parent 20dd67f commit bdcf8a6
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions client/verta/verta/registry/entities/_model.py
Expand Up @@ -1091,8 +1091,12 @@ def _create_proto_internal(
def set_pii(self, pii):
"""
Updates the PII value of this Registered Model.
``True`` indicates that the model ingests personally identifiable information.
Parameters
----------
pii : bool
``True`` indicates that the model ingests personally identifiable information.
Warnings
--------
Expand All @@ -1104,6 +1108,15 @@ def set_pii(self, pii):
self._update(self._msg, method="PUT")

def get_pii(self):
"""
Returns the PII value of this Registered Model.
Returns
-------
bool
``True`` indicates that the model ingests personally identifiable information.
"""
self._refresh_cache()
return self._msg.pii

Expand Down

2 comments on commit bdcf8a6

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Docker Tag: hm_addPIIWarning-2023-05-30T23-18-33--bdcf8a6

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Total coverage (common): 10.79
Total coverage (server): 33.71

Changed Files coverage (common): coverage 100
Changed Files coverage (server): 100

Please sign in to comment.