Skip to content

Commit

Permalink
Add BSON MaxKey and MinKey (#768)
Browse files Browse the repository at this point in the history
MaxKey and Minkey are BSON types that are primarily
used in queries. This merge request updates Beanie
to pass through those types correctly.
  • Loading branch information
noah-witt committed Dec 3, 2023
1 parent 2375991 commit 8a856ac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions beanie/odm/utils/encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@
bson.Binary,
bson.DBRef,
bson.Decimal128,
bson.MaxKey,
bson.MinKey,
bson.ObjectId,
)

Expand Down

0 comments on commit 8a856ac

Please sign in to comment.