Skip to content

Commit

Permalink
raw
Browse files Browse the repository at this point in the history
  • Loading branch information
evertheylen committed May 17, 2016
1 parent b85fbef commit 84cc939
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sparrow/entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -741,9 +741,9 @@ def check(self):
raise ObjectConstraintFail(self)

@classmethod
def raw(cls: MetaEntity, text: str) -> RawSql:
def raw(cls: MetaEntity, text: str, dct={}) -> RawSql:
"""Return a RawSql where the results will be interpreted as objects of `cls`."""
return RawClassedSql(cls, text)
return RawClassedSql(cls, text, dct)

@classmethod
def get(cls: MetaEntity, *where_clauses: list) -> Sql:
Expand Down

0 comments on commit 84cc939

Please sign in to comment.