Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AsyncSession: correct (stream_)scalars arg name #238

Merged
merged 1 commit into from
Oct 11, 2022
Merged

AsyncSession: correct (stream_)scalars arg name #238

merged 1 commit into from
Oct 11, 2022

Conversation

mjpieters
Copy link
Contributor

@mjpieters mjpieters commented Oct 11, 2022

The execute parameters argument is named 'params', not 'parameters'.
See the AsyncSession.scalars() and
AsyncSession.stream_scalars() implementations.

Fixes #230

Checklist

This pull request is:

  • A short code fix
    • please include the issue number, and create an issue if none exists, which
      must include a complete example of the issue. one line code fixes without an
      issue and demonstration will not be accepted.
    • Please include: Fixes: #<issue number> in the commit message
    • please include tests. one line code fixes without tests will not be accepted.

@CaselIT
Copy link
Member

CaselIT commented Oct 11, 2022

thanks!

@CaselIT CaselIT merged commit cf492ed into sqlalchemy:main Oct 11, 2022
@mjpieters mjpieters deleted the fix_asyncio_session_params branch October 11, 2022 12:39
@CaselIT
Copy link
Member

CaselIT commented Oct 11, 2022

will publish 0.0.2a29 in a bit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect keyword argument name 'parameters' for AsyncSession.scalars, AsyncEngine.scalars
2 participants