From 74a7613c6127c96e5e3b98754b6df737d285e348 Mon Sep 17 00:00:00 2001 From: divyav-aot Date: Wed, 4 Oct 2023 12:58:22 -0400 Subject: [PATCH] removed print statements --- api/reviewer_api/models/Annotations.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/api/reviewer_api/models/Annotations.py b/api/reviewer_api/models/Annotations.py index 021a86fb8..d68ee2db3 100644 --- a/api/reviewer_api/models/Annotations.py +++ b/api/reviewer_api/models/Annotations.py @@ -257,7 +257,6 @@ def __chunksaveannotations( ) -> DefaultMethodResult: successannots = [] failedannots = [] - print("<<<<<<<<< __chunksaveannotations >>>>>>>>>>") try: for annot in annots: resp = cls.__saveannotation(annot, redactionlayerid, userinfo) @@ -281,7 +280,6 @@ def __bulksaveannotations( cls, annots, redactionlayerid, userinfo, size=100 ) -> DefaultMethodResult: idxannots = [] - print("<<<<<<<<<<< __bulksaveannotations >>>>>>>>>>>>") try: wkannots = split(annots, size) for wkannot in wkannots: @@ -299,7 +297,6 @@ def __bulksaveannotations( @classmethod def __saveannotation(cls, annot, redactionlayerid, userinfo) -> DefaultMethodResult: annotkey = cls.__getannotationkey(annot["name"]) - print("annotkey == ", annotkey) if annotkey is None: return cls.__newannotation(annot, redactionlayerid, userinfo) else: @@ -310,7 +307,6 @@ def __saveannotation(cls, annot, redactionlayerid, userinfo) -> DefaultMethodRes @classmethod def __newannotation(cls, annot, redactionlayerid, userinfo) -> DefaultMethodResult: try: - print("<<<<<<<< __newannotation >>>>>>>>>") values = [ { "annotationname": annot["name"], @@ -399,7 +395,6 @@ def __updateannotation( cls, annot, redactionlayerid, userinfo, id=None, version=None ) -> DefaultMethodResult: try: - print("<<<<<<< __updateannotation >>>>>>>>") if id is None or version is None: return DefaultMethodResult( True, "Unable to Save Annotation", annot["name"]