Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.11/site-packages/google/cloud/firestore_v1/types/__init__.py: 90%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

10 statements  

1# -*- coding: utf-8 -*- 

2# Copyright 2025 Google LLC 

3# 

4# Licensed under the Apache License, Version 2.0 (the "License"); 

5# you may not use this file except in compliance with the License. 

6# You may obtain a copy of the License at 

7# 

8# http://www.apache.org/licenses/LICENSE-2.0 

9# 

10# Unless required by applicable law or agreed to in writing, software 

11# distributed under the License is distributed on an "AS IS" BASIS, 

12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 

13# See the License for the specific language governing permissions and 

14# limitations under the License. 

15# 

16from .aggregation_result import ( 

17 AggregationResult, 

18) 

19from .bloom_filter import ( 

20 BitSequence, 

21 BloomFilter, 

22) 

23from .common import ( 

24 DocumentMask, 

25 Precondition, 

26 TransactionOptions, 

27) 

28from .document import ( 

29 ArrayValue, 

30 Document, 

31 MapValue, 

32 Value, 

33) 

34from .firestore import ( 

35 BatchGetDocumentsRequest, 

36 BatchGetDocumentsResponse, 

37 BatchWriteRequest, 

38 BatchWriteResponse, 

39 BeginTransactionRequest, 

40 BeginTransactionResponse, 

41 CommitRequest, 

42 CommitResponse, 

43 CreateDocumentRequest, 

44 DeleteDocumentRequest, 

45 GetDocumentRequest, 

46 ListCollectionIdsRequest, 

47 ListCollectionIdsResponse, 

48 ListDocumentsRequest, 

49 ListDocumentsResponse, 

50 ListenRequest, 

51 ListenResponse, 

52 PartitionQueryRequest, 

53 PartitionQueryResponse, 

54 RollbackRequest, 

55 RunAggregationQueryRequest, 

56 RunAggregationQueryResponse, 

57 RunQueryRequest, 

58 RunQueryResponse, 

59 Target, 

60 TargetChange, 

61 UpdateDocumentRequest, 

62 WriteRequest, 

63 WriteResponse, 

64) 

65from .query import ( 

66 Cursor, 

67 StructuredAggregationQuery, 

68 StructuredQuery, 

69) 

70from .query_profile import ( 

71 ExecutionStats, 

72 ExplainMetrics, 

73 ExplainOptions, 

74 PlanSummary, 

75) 

76from .write import ( 

77 DocumentChange, 

78 DocumentDelete, 

79 DocumentRemove, 

80 DocumentTransform, 

81 ExistenceFilter, 

82 Write, 

83 WriteResult, 

84) 

85 

86__all__ = ( 

87 "AggregationResult", 

88 "BitSequence", 

89 "BloomFilter", 

90 "DocumentMask", 

91 "Precondition", 

92 "TransactionOptions", 

93 "ArrayValue", 

94 "Document", 

95 "MapValue", 

96 "Value", 

97 "BatchGetDocumentsRequest", 

98 "BatchGetDocumentsResponse", 

99 "BatchWriteRequest", 

100 "BatchWriteResponse", 

101 "BeginTransactionRequest", 

102 "BeginTransactionResponse", 

103 "CommitRequest", 

104 "CommitResponse", 

105 "CreateDocumentRequest", 

106 "DeleteDocumentRequest", 

107 "GetDocumentRequest", 

108 "ListCollectionIdsRequest", 

109 "ListCollectionIdsResponse", 

110 "ListDocumentsRequest", 

111 "ListDocumentsResponse", 

112 "ListenRequest", 

113 "ListenResponse", 

114 "PartitionQueryRequest", 

115 "PartitionQueryResponse", 

116 "RollbackRequest", 

117 "RunAggregationQueryRequest", 

118 "RunAggregationQueryResponse", 

119 "RunQueryRequest", 

120 "RunQueryResponse", 

121 "Target", 

122 "TargetChange", 

123 "UpdateDocumentRequest", 

124 "WriteRequest", 

125 "WriteResponse", 

126 "Cursor", 

127 "StructuredAggregationQuery", 

128 "StructuredQuery", 

129 "ExecutionStats", 

130 "ExplainMetrics", 

131 "ExplainOptions", 

132 "PlanSummary", 

133 "DocumentChange", 

134 "DocumentDelete", 

135 "DocumentRemove", 

136 "DocumentTransform", 

137 "ExistenceFilter", 

138 "Write", 

139 "WriteResult", 

140)