Skip to content

Commit 94e2631

Browse files
authored
define __all__ (#95)
* define __all__ define __all__ to make sure `from .util import *` won't polute the globals * Add LGTM badge
1 parent d06449f commit 94e2631

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

redisgraph/util.py

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import random
22
import string
33

4+
__all__ = ['random_string', 'quote_string']
5+
46
def random_string(length=10):
57
"""
68
Returns a random N chracter long string.

0 commit comments

Comments
 (0)