Skip to content

Commit

Permalink
define __all__ (#95)
Browse files Browse the repository at this point in the history
* define __all__

define __all__  to make sure `from .util import *` won't polute the globals

* Add LGTM badge
  • Loading branch information
gkorland authored Oct 28, 2020
1 parent d06449f commit 94e2631
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions redisgraph/util.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import random
import string

__all__ = ['random_string', 'quote_string']

def random_string(length=10):
"""
Returns a random N chracter long string.
Expand Down

0 comments on commit 94e2631

Please sign in to comment.