Skip to content

Conversation

@NoahStapp
Copy link
Contributor

No description provided.

@NoahStapp NoahStapp requested a review from a team as a code owner August 1, 2023 19:18
@NoahStapp NoahStapp requested review from blink1073 and sleepyStick and removed request for a team August 1, 2023 19:18
bson/binary.py Outdated
SENSITIVE_SUBTYPE = 8
"""BSON binary subtype for sensitive data.
.. versionadded:: 7.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be 4.5 (the pymongo version).

@NoahStapp NoahStapp requested a review from blink1073 August 1, 2023 21:28
"""

SENSITIVE_SUBTYPE = 8
"""BSON binary subtype for sensitive data.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are users ever expected to use this?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The spec doesn't mention it, but other drivers expose these constants, e.g. https://github.com/mongodb/mongo-go-driver/blob/4acd55139b846e6bfdfe316770a5b1b646d5ff96/bson/types.go#L47.

@NoahStapp NoahStapp merged commit 240a748 into mongodb:master Aug 2, 2023
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.

3 participants