mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-06-02 05:48:52 -04:00
It's the 'kwargs' which are iterable, not 'keys'
This commit is contained in:
@@ -1760,8 +1760,7 @@ class Query(object):
|
||||
aliased, from_joinpoint = kwargs.pop('aliased', False),\
|
||||
kwargs.pop('from_joinpoint', False)
|
||||
if kwargs:
|
||||
raise TypeError("unknown arguments: %s" %
|
||||
','.join(kwargs.keys))
|
||||
raise TypeError("unknown arguments: %s" % ', '.join(kwargs))
|
||||
return self._join(props,
|
||||
outerjoin=False, create_aliases=aliased,
|
||||
from_joinpoint=from_joinpoint)
|
||||
|
||||
Reference in New Issue
Block a user