-
Notifications
You must be signed in to change notification settings - Fork 37
Closed
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
For instance:
from google.cloud.firestore_v1.types import StructuredQuery
greater_than = StructuredQuery.FieldFilter.Operator.GREATER_THAN
is_null = StructuredQuery.UnaryFilter.Operator.IS_NULL
assert greater_than != is_null # failsThis "false equivalence" is the source of googleapis/python-firestore#429
Metadata
Metadata
Assignees
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.