Skip to content

Commit c2d1af4

Browse files
committed
Fixed issue googleapis#7515
1 parent 8942439 commit c2d1af4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • firestore/google/cloud/firestore_v1

‎firestore/google/cloud/firestore_v1/watch.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ def for_query(
352352
cls, query, snapshot_callback, snapshot_class_instance, reference_class_instance
353353
):
354354
query_target = firestore_pb2.Target.QueryTarget(
355-
parent=query._client._database_string, structured_query=query._to_protobuf()
355+
parent=query._parent._parent_info()[0], structured_query=query._to_protobuf()
356356
)
357357

358358
return cls(

0 commit comments

Comments
 (0)