Skip to content

Commit

Permalink
Make sqlin and sqlarray helpers staticmethods so instance is not pass…
Browse files Browse the repository at this point in the history
…ed to them when accessed through the database object
  • Loading branch information
n0phx committed Nov 23, 2015
1 parent eaeb5b5 commit e093016
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions librarian_core/contrib/databases/squery.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ def __repr__(self):
class Database(object):

# Provide access to query classes for easier access
sqlin = sqlin
sqlarray = sqlarray
sqlin = staticmethod(sqlin)
sqlarray = staticmethod(sqlarray)
From = From
Where = Where
Group = Group
Expand Down

0 comments on commit e093016

Please sign in to comment.