Skip to content

Commit bf7f29c

Browse files
committed
fix: remove unneeded global
1 parent 651ad6a commit bf7f29c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dataprofiler/plugins/decorators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Contains function for generating plugins data."""
2+
23
from collections import defaultdict
34
from typing import Any, DefaultDict, Dict
45

@@ -21,7 +22,6 @@ def __inner_factory_function(fn):
2122
:param fn: Plugin function
2223
:return: function
2324
"""
24-
global plugins_dict
2525
plugins_dict[typ][name] = fn
2626
return fn
2727

0 commit comments

Comments
 (0)