Skip to content

Enable order with None in mockgun#1

Open
MHendricks wants to merge 1 commit into
masterfrom
MHendricks-mockgun_fixes
Open

Enable order with None in mockgun#1
MHendricks wants to merge 1 commit into
masterfrom
MHendricks-mockgun_fixes

Conversation

@MHendricks
Copy link
Copy Markdown

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