aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGeogeFI2022-05-26 21:26:36 +0200
committerGeogeFI2022-05-26 21:26:36 +0200
commit2494179cd89da581075ed033cb19e48b6619238c (patch)
tree837064c2b63cf8e2fceca585c968310e5572f1c9
parentfc318de075d06e44a9dd07b3c8fbc01059270b42 (diff)
downloadsec-certs-2494179cd89da581075ed033cb19e48b6619238c.tar.gz
sec-certs-2494179cd89da581075ed033cb19e48b6619238c.tar.zst
sec-certs-2494179cd89da581075ed033cb19e48b6619238c.zip
chore: Altered docstring with proper naming
-rw-r--r--sec_certs/model/dependency_finder.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sec_certs/model/dependency_finder.py b/sec_certs/model/dependency_finder.py
index d326fc2c..f04db9be 100644
--- a/sec_certs/model/dependency_finder.py
+++ b/sec_certs/model/dependency_finder.py
@@ -14,7 +14,7 @@ class DependencyFinder:
"""
The class assigns references of other certificate instances for each instance.
Adheres to sklearn BaseEstimator interface.
- The fit method is called on a dictionary of certificates, builds a hashmap of references, and assigns references for each certificate in the dictionary.
+ The fit is called on a dictionary of certificates, builds a hashmap of references, and assigns references for each certificate in the dictionary.
"""
def __init__(self):
@@ -168,7 +168,7 @@ class DependencyFinder:
def predict(self, dgst_list: List[str]) -> Dict[str, References]:
"""
- Function returns references for a list of certificate digests
+ Method returns references for a list of certificate digests
@param dgst_list: List of certificate hashes
@return: Dict with certificate hash and References object.