From cae6e6ef799bf250d3f24dda80b6e1dbef1a7ebe Mon Sep 17 00:00:00 2001 From: ahmednasserswe Date: Mon, 30 Oct 2023 19:20:29 +0100 Subject: [PATCH] adding `self,` to `def compute_pdq(self, iobytes: io.BytesIO) -> str:` --- lib/model/image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/model/image.py b/lib/model/image.py index 41cdf4c..250f51f 100644 --- a/lib/model/image.py +++ b/lib/model/image.py @@ -8,7 +8,7 @@ from lib import schemas class Model(Model): - def compute_pdq(iobytes: io.BytesIO) -> str: + def compute_pdq(self, iobytes: io.BytesIO) -> str: """Compute perceptual hash using ImageHash library :param im: Numpy.ndarray :returns: Imagehash.ImageHash