Skip to content

Commit 41b3576

Browse files
committed
Add ignore func lists
1 parent b260f73 commit 41b3576

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

superannotate/mixp/decorators.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@
44
from .utils import parsers
55
from threading import Lock
66
from functools import wraps
7+
from .helper import CALLERS_TO_IGNORE
78

89
_api = API.get_instance()
910
always_trackable_func_names = ["upload_images_from_folder_to_project"]
1011

1112

1213
class Trackable(object):
13-
registered = set('<module>')
14+
registered = set(CALLERS_TO_IGNORE)
1415

1516
def __init__(self, function):
1617
lock = Lock()

0 commit comments

Comments
 (0)