Support tuple when encoding to Firestore value #20
Labels
api: firestore
Issues related to the googleapis/python-firestore API.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Thanks for stopping by to let us know something could be better!
Is your feature request related to a problem? Please describe.
When I save data to Firestore, it reject when the data contains tuple.
Describe the solution you'd like
It should accept
tuple
. This is pragmatic because when I decide to submit data to Firestore, I no longer need to modify the content, so I leave it in a immutable type liketuple
.Describe alternatives you've considered
Change the
encode_value()
function:to this
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: