From 2461e947dfa60bc48513aa004c162b0a572013c1 Mon Sep 17 00:00:00 2001 From: Devin Gaffney Date: Fri, 1 Dec 2023 06:06:07 -0800 Subject: [PATCH] CV2-4044 fix missing self reference --- 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 7174e8f..346e320 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