From: Mike Bayer Date: Fri, 8 Aug 2008 14:31:09 +0000 (+0000) Subject: added missing **kwargs X-Git-Tag: rel_0_5rc1~82 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdd673f2e4bbacbb077d00a2e79eafa05abecc35;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git added missing **kwargs --- diff --git a/lib/sqlalchemy/orm/properties.py b/lib/sqlalchemy/orm/properties.py index 5eec3ce3f5..75b9835bb1 100644 --- a/lib/sqlalchemy/orm/properties.py +++ b/lib/sqlalchemy/orm/properties.py @@ -391,7 +391,7 @@ class PropertyLoader(StrategizedProperty): raise sa_exc.InvalidRequestError("'has()' not implemented for collections. Use any().") return self._criterion_exists(criterion, **kwargs) - def contains(self, other): + def contains(self, other, **kwargs): if not self.prop.uselist: raise sa_exc.InvalidRequestError("'contains' not implemented for scalar attributes. Use ==") clause = self.prop._optimized_compare(other)