Skip to content

Commit 5ec8a8e

Browse files
committed
hints: fix typos in docstring
1 parent f68a7f7 commit 5ec8a8e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

dataikuapi/dss/ml.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ def get_origin_analysis_trained_model(self):
545545

546546
def get_hints(self):
547547
"""
548-
Retrieve hints computed for this trained model
548+
Retrieves hints computed for this trained model
549549
550550
:returns: list of hints
551551
:rtype: list of type `dataikuapi.dss.ml.DSSMLHint`
@@ -556,7 +556,7 @@ def get_hints(self):
556556

557557
class DSSMLHint(object):
558558
"""
559-
Object that represents a computed Hint on a trained models
559+
Object that represents a computed Hint on a trained model
560560
561561
Do not create this object directly, use :meth:`DSSTrainedModelDetails.get_hints()` instead
562562
"""
@@ -574,21 +574,21 @@ def get_raw(self):
574574

575575
def get_type(self):
576576
"""
577-
Return the base Hint type
577+
Returns the base Hint type
578578
:rtype: str
579579
"""
580580
return self._internal_dict["type"]
581581

582582
def get_type_pretty(self):
583583
"""
584-
Return the Hint type as displayed in the UI
584+
Returns the Hint type as displayed in the UI
585585
:rtype: str
586586
"""
587587
return self._internal_dict["displayableType"]
588588

589589
def get_message(self):
590590
"""
591-
Return the message as displayed in the UI
591+
Returns the message as displayed in the UI
592592
:rtype: str
593593
"""
594594
return self._internal_dict["message"]

0 commit comments

Comments
 (0)