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

Enable order with None in mockgun #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MHendricks
Copy link

Prevents an TypeError when checking if None > str

Prevents errors like this when using order on sg.find.

TypeError: '>' not supported between instances of 'NoneType' and 'str'

Checklist

  • I have read the CONTRIBUTING.md document
  • I formatted my changes with black
  • I linted my changes with flake8
  • I have added documentation regarding my changes where necessary
  • Any pre-existing tests continue to pass
  • Additional tests were made covering my changes

Types of Changes

  • Bugfix (change that fixes an issue)
  • New Feature (change that adds functionality)
  • Documentation Update (if none of the other choices apply)

Proposed Changes

@MHendricks MHendricks force-pushed the MHendricks-mockgun_fixes branch from ed0e80b to 3bccf90 Compare January 10, 2025 21:57
@MHendricks MHendricks force-pushed the MHendricks-mockgun_fixes branch from 3bccf90 to 318d07d Compare January 10, 2025 23:33
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.

1 participant