Commit 9c8cd92
authored
Make firestore get_check_exists method work as intended. (#3408)
Since [this commit](googleapis/python-firestore@068089e#diff-6f034fb43c430e2af1248c2da03ec41dR428-R458) firestore's client `get` method is not raising `google.cloud.exceptions.NotFound` if there is no such document.
`get_check_exists` function is now working properly - needs to be updated. My proposal is `exists` method (works for me).1 parent 240190a commit 9c8cd92
1 file changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
| |||
217 | 216 | | |
218 | 217 | | |
219 | 218 | | |
220 | | - | |
221 | | - | |
| 219 | + | |
| 220 | + | |
222 | 221 | | |
223 | | - | |
| 222 | + | |
224 | 223 | | |
225 | 224 | | |
226 | 225 | | |
| |||
0 commit comments