Uh oh!
There was an error while loading. Please reload this page.
Remove CreateIfMissing option - #4654
Conversation
a5a2f5a to
3471f13Compare
dhermes
left a comment
There was a problem hiding this comment.
This seems mostly OK but I worry that we are replacing CreateIfMissing with Exists in places where they aren't fully equivalent.
| write_pb = write_pb2.Write(delete=document_path) | ||
| if option is not None: | ||
| option.modify_write(write_pb, no_create_msg=NO_CREATE_ON_DELETE) | ||
| option.modify_write(write_pb) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
| :meth:`~.DocumentReference.delete`. | ||
| Exactly one of three keyword arguments must be provided: | ||
| One of the following two keyword arguments must be provided: |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
| 'yum': _value_pb(bytes_value=value), | ||
| }) | ||
| if isinstance(option, ExistsOption): | ||
| write_kwargs = {'current_document' : {'exists': option._exists}} |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
3471f13 to
7758dbeCompare7758dbe to
bd67ea7Comparebd67ea7 to
4024fcbComparechemelnucfin
commented
Feb 22, 2018
Closing this pull request The commits are in #4851 and can be reviewed commit by commit. |
Partial #4111