Skip to content

Commit

Permalink
Add a note why we don't load clauses and queries
Browse files Browse the repository at this point in the history
  • Loading branch information
uranusjr committed Sep 7, 2017
1 parent 816a9cf commit 0fe863a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sqlian/standard/engines.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ class Engine(BaseEngine):
)

# Perform "from X import *" for these modules.
# Clauses and queries are NOT loaded into the top scope because they
# are always acceible by engine methods and their kwargs.
locals().update({k: v for k, v in iter_all_members(
compositions, constants, expressions, functions,
)})
Expand Down

0 comments on commit 0fe863a

Please sign in to comment.