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

🐛 Fix bugs related to fetchmany and pagination #32

Merged
merged 5 commits into from
Apr 6, 2023

Conversation

itsthejoker
Copy link
Member

@itsthejoker itsthejoker commented Apr 6, 2023

Ticket: #31

Description:

When fetchmany() is called but there's no matching query, it explodes with a very unhelpful error. This PR fixes:

  • fetchmany() not returning default response on no query
  • fetchall() not returning default response on no query
  • fetchmany() not returning override response
  • fetchall() not returning override response
  • fetchall() now returns a list by default
  • fetchmany() now returns a list by default

...and adds a bunch of tests!

Checklist:

  • Code Quality
  • Tests (if applicable)
  • Success Criteria Met
  • Inline Documentation

@itsthejoker itsthejoker added the bump-minor-version Start a workflow to update the version number label Apr 6, 2023
@itsthejoker itsthejoker requested review from a team as code owners April 6, 2023 15:28
@github-actions github-actions bot removed the bump-minor-version Start a workflow to update the version number label Apr 6, 2023
tests/test_asbestos.py Outdated Show resolved Hide resolved
@itsthejoker itsthejoker merged commit 0e451d6 into main Apr 6, 2023
@itsthejoker itsthejoker deleted the bugfixes-galore branch April 6, 2023 15:57
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.

None yet

2 participants