Skip to content

Commit

Permalink
fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
bmyerz committed Mar 4, 2016
1 parent de3d5c5 commit de705de
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions raco/backends/sql/catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@

class SQLFunctionProvider(object):
"""Interface for translating function names. For Raco functions
not understood by SQLAlchemy, like stddev, we cannot rely
not understood by SQLAlchemy, like stdev, we cannot rely
on SQLAlchemy's compiler to translate function
names to the given dialect.
For functions not understood by SQLAlchemy, it just emits them as
given."""
For functions not understood by SQLAlchemy, the SQLAlchemy compiler
just emits them verbatim."""

@abc.abstractmethod
def convert_unary_expr(self, expr, input):
Expand Down Expand Up @@ -65,10 +65,10 @@ def convert_unary_expr(self, expr, input):

class SQLCatalog(Catalog):
def __init__(self, engine=None, push_grouping=False,
provider=None):
provider=_DefaultSQLFunctionProvider()):
self.engine = engine
self.push_grouping = push_grouping
self.provider = provider or _DefaultSQLFunctionProvider()
self.provider = provider
self.metadata = MetaData()

@staticmethod
Expand Down

0 comments on commit de705de

Please sign in to comment.