cloudquery-plugin-sdk 0.1.26__tar.gz → 0.1.27__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cloudquery_plugin_sdk-0.1.27/LICENSE +353 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/PKG-INFO +9 -8
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/internal/servers/plugin_v3/plugin.py +1 -1
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/scheduler/scheduler.py +19 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/scheduler/table_resolver.py +4 -0
- cloudquery_plugin_sdk-0.1.27/cloudquery/sdk/stateclient/__init__.py +0 -0
- cloudquery_plugin_sdk-0.1.27/cloudquery/sdk/stateclient/stateclient.py +207 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery_plugin_sdk.egg-info/PKG-INFO +9 -8
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery_plugin_sdk.egg-info/SOURCES.txt +3 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery_plugin_sdk.egg-info/requires.txt +7 -7
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/setup.py +8 -8
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/README.md +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/__init__.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/internal/__init__.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/internal/memdb/__init__.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/internal/memdb/memdb.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/internal/servers/__init__.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/internal/servers/discovery_v1/__init__.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/internal/servers/discovery_v1/discovery.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/internal/servers/plugin_v3/__init__.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/message/__init__.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/message/sync.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/message/write.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/plugin/__init__.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/plugin/plugin.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/py.typed +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/scalar/__init__.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/scalar/binary.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/scalar/bool.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/scalar/date32.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/scalar/date64.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/scalar/float.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/scalar/int.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/scalar/json.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/scalar/list.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/scalar/scalar.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/scalar/scalar_factory.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/scalar/string.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/scalar/timestamp.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/scalar/uint.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/scalar/uuid.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/scalar/vector.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/scheduler/__init__.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/schema/__init__.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/schema/arrow.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/schema/column.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/schema/resource.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/schema/table.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/serve/__init__.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/serve/plugin.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/transformers/__init__.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/transformers/openapi.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/transformers/transformers.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/types/__init__.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/types/json.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/types/uuid.py +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery_plugin_sdk.egg-info/dependency_links.txt +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery_plugin_sdk.egg-info/namespace_packages.txt +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery_plugin_sdk.egg-info/not-zip-safe +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery_plugin_sdk.egg-info/top_level.txt +0 -0
- {cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/setup.cfg +0 -0
|
@@ -0,0 +1,353 @@
|
|
|
1
|
+
Mozilla Public License, version 2.0
|
|
2
|
+
|
|
3
|
+
1. Definitions
|
|
4
|
+
|
|
5
|
+
1.1. “Contributor”
|
|
6
|
+
|
|
7
|
+
means each individual or legal entity that creates, contributes to the
|
|
8
|
+
creation of, or owns Covered Software.
|
|
9
|
+
|
|
10
|
+
1.2. “Contributor Version”
|
|
11
|
+
|
|
12
|
+
means the combination of the Contributions of others (if any) used by a
|
|
13
|
+
Contributor and that particular Contributor’s Contribution.
|
|
14
|
+
|
|
15
|
+
1.3. “Contribution”
|
|
16
|
+
|
|
17
|
+
means Covered Software of a particular Contributor.
|
|
18
|
+
|
|
19
|
+
1.4. “Covered Software”
|
|
20
|
+
|
|
21
|
+
means Source Code Form to which the initial Contributor has attached the
|
|
22
|
+
notice in Exhibit A, the Executable Form of such Source Code Form, and
|
|
23
|
+
Modifications of such Source Code Form, in each case including portions
|
|
24
|
+
thereof.
|
|
25
|
+
|
|
26
|
+
1.5. “Incompatible With Secondary Licenses”
|
|
27
|
+
means
|
|
28
|
+
|
|
29
|
+
a. that the initial Contributor has attached the notice described in
|
|
30
|
+
Exhibit B to the Covered Software; or
|
|
31
|
+
|
|
32
|
+
b. that the Covered Software was made available under the terms of version
|
|
33
|
+
1.1 or earlier of the License, but not also under the terms of a
|
|
34
|
+
Secondary License.
|
|
35
|
+
|
|
36
|
+
1.6. “Executable Form”
|
|
37
|
+
|
|
38
|
+
means any form of the work other than Source Code Form.
|
|
39
|
+
|
|
40
|
+
1.7. “Larger Work”
|
|
41
|
+
|
|
42
|
+
means a work that combines Covered Software with other material, in a separate
|
|
43
|
+
file or files, that is not Covered Software.
|
|
44
|
+
|
|
45
|
+
1.8. “License”
|
|
46
|
+
|
|
47
|
+
means this document.
|
|
48
|
+
|
|
49
|
+
1.9. “Licensable”
|
|
50
|
+
|
|
51
|
+
means having the right to grant, to the maximum extent possible, whether at the
|
|
52
|
+
time of the initial grant or subsequently, any and all of the rights conveyed by
|
|
53
|
+
this License.
|
|
54
|
+
|
|
55
|
+
1.10. “Modifications”
|
|
56
|
+
|
|
57
|
+
means any of the following:
|
|
58
|
+
|
|
59
|
+
a. any file in Source Code Form that results from an addition to, deletion
|
|
60
|
+
from, or modification of the contents of Covered Software; or
|
|
61
|
+
|
|
62
|
+
b. any new file in Source Code Form that contains any Covered Software.
|
|
63
|
+
|
|
64
|
+
1.11. “Patent Claims” of a Contributor
|
|
65
|
+
|
|
66
|
+
means any patent claim(s), including without limitation, method, process,
|
|
67
|
+
and apparatus claims, in any patent Licensable by such Contributor that
|
|
68
|
+
would be infringed, but for the grant of the License, by the making,
|
|
69
|
+
using, selling, offering for sale, having made, import, or transfer of
|
|
70
|
+
either its Contributions or its Contributor Version.
|
|
71
|
+
|
|
72
|
+
1.12. “Secondary License”
|
|
73
|
+
|
|
74
|
+
means either the GNU General Public License, Version 2.0, the GNU Lesser
|
|
75
|
+
General Public License, Version 2.1, the GNU Affero General Public
|
|
76
|
+
License, Version 3.0, or any later versions of those licenses.
|
|
77
|
+
|
|
78
|
+
1.13. “Source Code Form”
|
|
79
|
+
|
|
80
|
+
means the form of the work preferred for making modifications.
|
|
81
|
+
|
|
82
|
+
1.14. “You” (or “Your”)
|
|
83
|
+
|
|
84
|
+
means an individual or a legal entity exercising rights under this
|
|
85
|
+
License. For legal entities, “You” includes any entity that controls, is
|
|
86
|
+
controlled by, or is under common control with You. For purposes of this
|
|
87
|
+
definition, “control” means (a) the power, direct or indirect, to cause
|
|
88
|
+
the direction or management of such entity, whether by contract or
|
|
89
|
+
otherwise, or (b) ownership of more than fifty percent (50%) of the
|
|
90
|
+
outstanding shares or beneficial ownership of such entity.
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
2. License Grants and Conditions
|
|
94
|
+
|
|
95
|
+
2.1. Grants
|
|
96
|
+
|
|
97
|
+
Each Contributor hereby grants You a world-wide, royalty-free,
|
|
98
|
+
non-exclusive license:
|
|
99
|
+
|
|
100
|
+
a. under intellectual property rights (other than patent or trademark)
|
|
101
|
+
Licensable by such Contributor to use, reproduce, make available,
|
|
102
|
+
modify, display, perform, distribute, and otherwise exploit its
|
|
103
|
+
Contributions, either on an unmodified basis, with Modifications, or as
|
|
104
|
+
part of a Larger Work; and
|
|
105
|
+
|
|
106
|
+
b. under Patent Claims of such Contributor to make, use, sell, offer for
|
|
107
|
+
sale, have made, import, and otherwise transfer either its Contributions
|
|
108
|
+
or its Contributor Version.
|
|
109
|
+
|
|
110
|
+
2.2. Effective Date
|
|
111
|
+
|
|
112
|
+
The licenses granted in Section 2.1 with respect to any Contribution become
|
|
113
|
+
effective for each Contribution on the date the Contributor first distributes
|
|
114
|
+
such Contribution.
|
|
115
|
+
|
|
116
|
+
2.3. Limitations on Grant Scope
|
|
117
|
+
|
|
118
|
+
The licenses granted in this Section 2 are the only rights granted under this
|
|
119
|
+
License. No additional rights or licenses will be implied from the distribution
|
|
120
|
+
or licensing of Covered Software under this License. Notwithstanding Section
|
|
121
|
+
2.1(b) above, no patent license is granted by a Contributor:
|
|
122
|
+
|
|
123
|
+
a. for any code that a Contributor has removed from Covered Software; or
|
|
124
|
+
|
|
125
|
+
b. for infringements caused by: (i) Your and any other third party’s
|
|
126
|
+
modifications of Covered Software, or (ii) the combination of its
|
|
127
|
+
Contributions with other software (except as part of its Contributor
|
|
128
|
+
Version); or
|
|
129
|
+
|
|
130
|
+
c. under Patent Claims infringed by Covered Software in the absence of its
|
|
131
|
+
Contributions.
|
|
132
|
+
|
|
133
|
+
This License does not grant any rights in the trademarks, service marks, or
|
|
134
|
+
logos of any Contributor (except as may be necessary to comply with the
|
|
135
|
+
notice requirements in Section 3.4).
|
|
136
|
+
|
|
137
|
+
2.4. Subsequent Licenses
|
|
138
|
+
|
|
139
|
+
No Contributor makes additional grants as a result of Your choice to
|
|
140
|
+
distribute the Covered Software under a subsequent version of this License
|
|
141
|
+
(see Section 10.2) or under the terms of a Secondary License (if permitted
|
|
142
|
+
under the terms of Section 3.3).
|
|
143
|
+
|
|
144
|
+
2.5. Representation
|
|
145
|
+
|
|
146
|
+
Each Contributor represents that the Contributor believes its Contributions
|
|
147
|
+
are its original creation(s) or it has sufficient rights to grant the
|
|
148
|
+
rights to its Contributions conveyed by this License.
|
|
149
|
+
|
|
150
|
+
2.6. Fair Use
|
|
151
|
+
|
|
152
|
+
This License is not intended to limit any rights You have under applicable
|
|
153
|
+
copyright doctrines of fair use, fair dealing, or other equivalents.
|
|
154
|
+
|
|
155
|
+
2.7. Conditions
|
|
156
|
+
|
|
157
|
+
Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in
|
|
158
|
+
Section 2.1.
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
3. Responsibilities
|
|
162
|
+
|
|
163
|
+
3.1. Distribution of Source Form
|
|
164
|
+
|
|
165
|
+
All distribution of Covered Software in Source Code Form, including any
|
|
166
|
+
Modifications that You create or to which You contribute, must be under the
|
|
167
|
+
terms of this License. You must inform recipients that the Source Code Form
|
|
168
|
+
of the Covered Software is governed by the terms of this License, and how
|
|
169
|
+
they can obtain a copy of this License. You may not attempt to alter or
|
|
170
|
+
restrict the recipients’ rights in the Source Code Form.
|
|
171
|
+
|
|
172
|
+
3.2. Distribution of Executable Form
|
|
173
|
+
|
|
174
|
+
If You distribute Covered Software in Executable Form then:
|
|
175
|
+
|
|
176
|
+
a. such Covered Software must also be made available in Source Code Form,
|
|
177
|
+
as described in Section 3.1, and You must inform recipients of the
|
|
178
|
+
Executable Form how they can obtain a copy of such Source Code Form by
|
|
179
|
+
reasonable means in a timely manner, at a charge no more than the cost
|
|
180
|
+
of distribution to the recipient; and
|
|
181
|
+
|
|
182
|
+
b. You may distribute such Executable Form under the terms of this License,
|
|
183
|
+
or sublicense it under different terms, provided that the license for
|
|
184
|
+
the Executable Form does not attempt to limit or alter the recipients’
|
|
185
|
+
rights in the Source Code Form under this License.
|
|
186
|
+
|
|
187
|
+
3.3. Distribution of a Larger Work
|
|
188
|
+
|
|
189
|
+
You may create and distribute a Larger Work under terms of Your choice,
|
|
190
|
+
provided that You also comply with the requirements of this License for the
|
|
191
|
+
Covered Software. If the Larger Work is a combination of Covered Software
|
|
192
|
+
with a work governed by one or more Secondary Licenses, and the Covered
|
|
193
|
+
Software is not Incompatible With Secondary Licenses, this License permits
|
|
194
|
+
You to additionally distribute such Covered Software under the terms of
|
|
195
|
+
such Secondary License(s), so that the recipient of the Larger Work may, at
|
|
196
|
+
their option, further distribute the Covered Software under the terms of
|
|
197
|
+
either this License or such Secondary License(s).
|
|
198
|
+
|
|
199
|
+
3.4. Notices
|
|
200
|
+
|
|
201
|
+
You may not remove or alter the substance of any license notices (including
|
|
202
|
+
copyright notices, patent notices, disclaimers of warranty, or limitations
|
|
203
|
+
of liability) contained within the Source Code Form of the Covered
|
|
204
|
+
Software, except that You may alter any license notices to the extent
|
|
205
|
+
required to remedy known factual inaccuracies.
|
|
206
|
+
|
|
207
|
+
3.5. Application of Additional Terms
|
|
208
|
+
|
|
209
|
+
You may choose to offer, and to charge a fee for, warranty, support,
|
|
210
|
+
indemnity or liability obligations to one or more recipients of Covered
|
|
211
|
+
Software. However, You may do so only on Your own behalf, and not on behalf
|
|
212
|
+
of any Contributor. You must make it absolutely clear that any such
|
|
213
|
+
warranty, support, indemnity, or liability obligation is offered by You
|
|
214
|
+
alone, and You hereby agree to indemnify every Contributor for any
|
|
215
|
+
liability incurred by such Contributor as a result of warranty, support,
|
|
216
|
+
indemnity or liability terms You offer. You may include additional
|
|
217
|
+
disclaimers of warranty and limitations of liability specific to any
|
|
218
|
+
jurisdiction.
|
|
219
|
+
|
|
220
|
+
4. Inability to Comply Due to Statute or Regulation
|
|
221
|
+
|
|
222
|
+
If it is impossible for You to comply with any of the terms of this License
|
|
223
|
+
with respect to some or all of the Covered Software due to statute, judicial
|
|
224
|
+
order, or regulation then You must: (a) comply with the terms of this License
|
|
225
|
+
to the maximum extent possible; and (b) describe the limitations and the code
|
|
226
|
+
they affect. Such description must be placed in a text file included with all
|
|
227
|
+
distributions of the Covered Software under this License. Except to the
|
|
228
|
+
extent prohibited by statute or regulation, such description must be
|
|
229
|
+
sufficiently detailed for a recipient of ordinary skill to be able to
|
|
230
|
+
understand it.
|
|
231
|
+
|
|
232
|
+
5. Termination
|
|
233
|
+
|
|
234
|
+
5.1. The rights granted under this License will terminate automatically if You
|
|
235
|
+
fail to comply with any of its terms. However, if You become compliant,
|
|
236
|
+
then the rights granted under this License from a particular Contributor
|
|
237
|
+
are reinstated (a) provisionally, unless and until such Contributor
|
|
238
|
+
explicitly and finally terminates Your grants, and (b) on an ongoing basis,
|
|
239
|
+
if such Contributor fails to notify You of the non-compliance by some
|
|
240
|
+
reasonable means prior to 60 days after You have come back into compliance.
|
|
241
|
+
Moreover, Your grants from a particular Contributor are reinstated on an
|
|
242
|
+
ongoing basis if such Contributor notifies You of the non-compliance by
|
|
243
|
+
some reasonable means, this is the first time You have received notice of
|
|
244
|
+
non-compliance with this License from such Contributor, and You become
|
|
245
|
+
compliant prior to 30 days after Your receipt of the notice.
|
|
246
|
+
|
|
247
|
+
5.2. If You initiate litigation against any entity by asserting a patent
|
|
248
|
+
infringement claim (excluding declaratory judgment actions, counter-claims,
|
|
249
|
+
and cross-claims) alleging that a Contributor Version directly or
|
|
250
|
+
indirectly infringes any patent, then the rights granted to You by any and
|
|
251
|
+
all Contributors for the Covered Software under Section 2.1 of this License
|
|
252
|
+
shall terminate.
|
|
253
|
+
|
|
254
|
+
5.3. In the event of termination under Sections 5.1 or 5.2 above, all end user
|
|
255
|
+
license agreements (excluding distributors and resellers) which have been
|
|
256
|
+
validly granted by You or Your distributors under this License prior to
|
|
257
|
+
termination shall survive termination.
|
|
258
|
+
|
|
259
|
+
6. Disclaimer of Warranty
|
|
260
|
+
|
|
261
|
+
Covered Software is provided under this License on an “as is” basis, without
|
|
262
|
+
warranty of any kind, either expressed, implied, or statutory, including,
|
|
263
|
+
without limitation, warranties that the Covered Software is free of defects,
|
|
264
|
+
merchantable, fit for a particular purpose or non-infringing. The entire
|
|
265
|
+
risk as to the quality and performance of the Covered Software is with You.
|
|
266
|
+
Should any Covered Software prove defective in any respect, You (not any
|
|
267
|
+
Contributor) assume the cost of any necessary servicing, repair, or
|
|
268
|
+
correction. This disclaimer of warranty constitutes an essential part of this
|
|
269
|
+
License. No use of any Covered Software is authorized under this License
|
|
270
|
+
except under this disclaimer.
|
|
271
|
+
|
|
272
|
+
7. Limitation of Liability
|
|
273
|
+
|
|
274
|
+
Under no circumstances and under no legal theory, whether tort (including
|
|
275
|
+
negligence), contract, or otherwise, shall any Contributor, or anyone who
|
|
276
|
+
distributes Covered Software as permitted above, be liable to You for any
|
|
277
|
+
direct, indirect, special, incidental, or consequential damages of any
|
|
278
|
+
character including, without limitation, damages for lost profits, loss of
|
|
279
|
+
goodwill, work stoppage, computer failure or malfunction, or any and all
|
|
280
|
+
other commercial damages or losses, even if such party shall have been
|
|
281
|
+
informed of the possibility of such damages. This limitation of liability
|
|
282
|
+
shall not apply to liability for death or personal injury resulting from such
|
|
283
|
+
party’s negligence to the extent applicable law prohibits such limitation.
|
|
284
|
+
Some jurisdictions do not allow the exclusion or limitation of incidental or
|
|
285
|
+
consequential damages, so this exclusion and limitation may not apply to You.
|
|
286
|
+
|
|
287
|
+
8. Litigation
|
|
288
|
+
|
|
289
|
+
Any litigation relating to this License may be brought only in the courts of
|
|
290
|
+
a jurisdiction where the defendant maintains its principal place of business
|
|
291
|
+
and such litigation shall be governed by laws of that jurisdiction, without
|
|
292
|
+
reference to its conflict-of-law provisions. Nothing in this Section shall
|
|
293
|
+
prevent a party’s ability to bring cross-claims or counter-claims.
|
|
294
|
+
|
|
295
|
+
9. Miscellaneous
|
|
296
|
+
|
|
297
|
+
This License represents the complete agreement concerning the subject matter
|
|
298
|
+
hereof. If any provision of this License is held to be unenforceable, such
|
|
299
|
+
provision shall be reformed only to the extent necessary to make it
|
|
300
|
+
enforceable. Any law or regulation which provides that the language of a
|
|
301
|
+
contract shall be construed against the drafter shall not be used to construe
|
|
302
|
+
this License against a Contributor.
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
10. Versions of the License
|
|
306
|
+
|
|
307
|
+
10.1. New Versions
|
|
308
|
+
|
|
309
|
+
Mozilla Foundation is the license steward. Except as provided in Section
|
|
310
|
+
10.3, no one other than the license steward has the right to modify or
|
|
311
|
+
publish new versions of this License. Each version will be given a
|
|
312
|
+
distinguishing version number.
|
|
313
|
+
|
|
314
|
+
10.2. Effect of New Versions
|
|
315
|
+
|
|
316
|
+
You may distribute the Covered Software under the terms of the version of
|
|
317
|
+
the License under which You originally received the Covered Software, or
|
|
318
|
+
under the terms of any subsequent version published by the license
|
|
319
|
+
steward.
|
|
320
|
+
|
|
321
|
+
10.3. Modified Versions
|
|
322
|
+
|
|
323
|
+
If you create software not governed by this License, and you want to
|
|
324
|
+
create a new license for such software, you may create and use a modified
|
|
325
|
+
version of this License if you rename the license and remove any
|
|
326
|
+
references to the name of the license steward (except to note that such
|
|
327
|
+
modified license differs from this License).
|
|
328
|
+
|
|
329
|
+
10.4. Distributing Source Code Form that is Incompatible With Secondary Licenses
|
|
330
|
+
If You choose to distribute Source Code Form that is Incompatible With
|
|
331
|
+
Secondary Licenses under the terms of this version of the License, the
|
|
332
|
+
notice described in Exhibit B of this License must be attached.
|
|
333
|
+
|
|
334
|
+
Exhibit A - Source Code Form License Notice
|
|
335
|
+
|
|
336
|
+
This Source Code Form is subject to the
|
|
337
|
+
terms of the Mozilla Public License, v.
|
|
338
|
+
2.0. If a copy of the MPL was not
|
|
339
|
+
distributed with this file, You can
|
|
340
|
+
obtain one at
|
|
341
|
+
http://mozilla.org/MPL/2.0/.
|
|
342
|
+
|
|
343
|
+
If it is not possible or desirable to put the notice in a particular file, then
|
|
344
|
+
You may include the notice in a location (such as a LICENSE file in a relevant
|
|
345
|
+
directory) where a recipient would be likely to look for such a notice.
|
|
346
|
+
|
|
347
|
+
You may add additional accurate notices of copyright ownership.
|
|
348
|
+
|
|
349
|
+
Exhibit B - “Incompatible With Secondary Licenses” Notice
|
|
350
|
+
|
|
351
|
+
This Source Code Form is “Incompatible
|
|
352
|
+
With Secondary Licenses”, as defined by
|
|
353
|
+
the Mozilla Public License, v. 2.0.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cloudquery-plugin-sdk
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.27
|
|
4
4
|
Summary: CloudQuery Plugin SDK for Python
|
|
5
5
|
Home-page: https://github.com/cloudquery/plugin-sdk-python
|
|
6
6
|
Author: CloudQuery LTD
|
|
@@ -19,27 +19,28 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
19
19
|
Classifier: Operating System :: OS Independent
|
|
20
20
|
Classifier: Topic :: Internet
|
|
21
21
|
Requires-Python: >=3.7
|
|
22
|
+
License-File: LICENSE
|
|
22
23
|
Requires-Dist: cloudquery-plugin-pb==0.0.28
|
|
23
24
|
Requires-Dist: exceptiongroup==1.2.1
|
|
24
25
|
Requires-Dist: black==24.4.2
|
|
25
|
-
Requires-Dist: grpcio==1.64.
|
|
26
|
-
Requires-Dist: grpcio-tools==1.64.
|
|
26
|
+
Requires-Dist: grpcio==1.64.1
|
|
27
|
+
Requires-Dist: grpcio-tools==1.64.1
|
|
27
28
|
Requires-Dist: iniconfig==2.0.0
|
|
28
29
|
Requires-Dist: Jinja2==3.1.4
|
|
29
30
|
Requires-Dist: MarkupSafe==2.1.5
|
|
30
31
|
Requires-Dist: numpy==1.26.4
|
|
31
|
-
Requires-Dist: packaging==24.
|
|
32
|
+
Requires-Dist: packaging==24.1
|
|
32
33
|
Requires-Dist: pandas==2.2.2
|
|
33
34
|
Requires-Dist: pluggy==1.5.0
|
|
34
|
-
Requires-Dist: protobuf==5.27.
|
|
35
|
+
Requires-Dist: protobuf==5.27.2
|
|
35
36
|
Requires-Dist: pyarrow==15.0.2
|
|
36
|
-
Requires-Dist: pytest==8.2.
|
|
37
|
-
Requires-Dist: python-dateutil==2.
|
|
37
|
+
Requires-Dist: pytest==8.2.2
|
|
38
|
+
Requires-Dist: python-dateutil==2.9.0.post0
|
|
38
39
|
Requires-Dist: pytz==2024.1
|
|
39
40
|
Requires-Dist: six==1.16.0
|
|
40
41
|
Requires-Dist: structlog==23.3.0
|
|
41
42
|
Requires-Dist: tomli==2.0.1
|
|
42
|
-
Requires-Dist: tzdata==
|
|
43
|
+
Requires-Dist: tzdata==2024.1
|
|
43
44
|
|
|
44
45
|
|
|
45
46
|
CloudQuery Plugin SDK for Python
|
|
@@ -63,7 +63,7 @@ class PluginServicer(plugin_pb2_grpc.PluginServicer):
|
|
|
63
63
|
skip_dependent_tables=request.skip_dependent_tables,
|
|
64
64
|
skip_tables=request.skip_tables,
|
|
65
65
|
tables=request.tables,
|
|
66
|
-
backend_options=
|
|
66
|
+
backend_options=request.backend,
|
|
67
67
|
)
|
|
68
68
|
|
|
69
69
|
for msg in self._plugin.sync(options):
|
{cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/scheduler/scheduler.py
RENAMED
|
@@ -10,6 +10,7 @@ from cloudquery.sdk.message import (
|
|
|
10
10
|
SyncMigrateTableMessage,
|
|
11
11
|
)
|
|
12
12
|
from cloudquery.sdk.schema import Resource
|
|
13
|
+
from cloudquery.sdk.stateclient.stateclient import StateClient
|
|
13
14
|
from .table_resolver import TableResolver, Client
|
|
14
15
|
|
|
15
16
|
QUEUE_PER_WORKER = 100
|
|
@@ -35,6 +36,7 @@ class Scheduler:
|
|
|
35
36
|
def __init__(
|
|
36
37
|
self, concurrency: int, queue_size: int = 0, max_depth: int = 3, logger=None
|
|
37
38
|
):
|
|
39
|
+
self._post_sync_hook = lambda: None
|
|
38
40
|
self._queue = queue.Queue()
|
|
39
41
|
self._max_depth = max_depth
|
|
40
42
|
if logger is None:
|
|
@@ -201,6 +203,8 @@ class Scheduler:
|
|
|
201
203
|
break
|
|
202
204
|
continue
|
|
203
205
|
yield message
|
|
206
|
+
|
|
207
|
+
self._post_sync_hook()
|
|
204
208
|
thread.shutdown(wait=True)
|
|
205
209
|
|
|
206
210
|
def _send_migrate_table_messages(
|
|
@@ -210,3 +214,18 @@ class Scheduler:
|
|
|
210
214
|
yield SyncMigrateTableMessage(table=resolver.table.to_arrow_schema())
|
|
211
215
|
if resolver.child_resolvers:
|
|
212
216
|
yield from self._send_migrate_table_messages(resolver.child_resolvers)
|
|
217
|
+
|
|
218
|
+
def set_post_sync_hook(self, fn):
|
|
219
|
+
"""
|
|
220
|
+
Use this to set a function that will be called after the sync is finished,
|
|
221
|
+
a la `defer fn()` in Go (but for a single function, rather than a stack).
|
|
222
|
+
|
|
223
|
+
This is necessary because plugins use this pattern on their sync method:
|
|
224
|
+
|
|
225
|
+
```
|
|
226
|
+
return self._scheduler.sync(...)
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
So if a plugin has a `state_client`, there's nowhere to call the flush method.
|
|
230
|
+
"""
|
|
231
|
+
self._post_sync_hook = fn
|
|
@@ -14,6 +14,7 @@ class TableResolver:
|
|
|
14
14
|
child_resolvers = []
|
|
15
15
|
self._table = table
|
|
16
16
|
self._child_resolvers = child_resolvers
|
|
17
|
+
self.state_client = None
|
|
17
18
|
|
|
18
19
|
@property
|
|
19
20
|
def table(self) -> Table:
|
|
@@ -23,6 +24,9 @@ class TableResolver:
|
|
|
23
24
|
def child_resolvers(self):
|
|
24
25
|
return self._child_resolvers
|
|
25
26
|
|
|
27
|
+
def set_state_client(self, state_client):
|
|
28
|
+
self.state_client = state_client
|
|
29
|
+
|
|
26
30
|
def multiplex(self, client: Client) -> List[Client]:
|
|
27
31
|
return [client]
|
|
28
32
|
|
|
File without changes
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
import grpc
|
|
4
|
+
from abc import ABC, abstractmethod
|
|
5
|
+
from typing import Generator, Optional, Tuple
|
|
6
|
+
|
|
7
|
+
import pyarrow as pa
|
|
8
|
+
from cloudquery.sdk import schema
|
|
9
|
+
from cloudquery.sdk.plugin.plugin import BackendOptions
|
|
10
|
+
from cloudquery.plugin_v3 import plugin_pb2, plugin_pb2_grpc, arrow
|
|
11
|
+
from functools import wraps
|
|
12
|
+
|
|
13
|
+
keyColumn = "key"
|
|
14
|
+
valueColumn = "value"
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
class StateClientBuilder:
|
|
18
|
+
"""
|
|
19
|
+
Provides a `build` method that creates a `ConnectedStateClient` if you pass backend_options,
|
|
20
|
+
or `NoOpStateClient` otherwise.
|
|
21
|
+
|
|
22
|
+
Args:
|
|
23
|
+
backend_options (BackendOptions): which has `connection` & `table_name` strings.
|
|
24
|
+
|
|
25
|
+
Returns:
|
|
26
|
+
`ConnectedStateClient` or `NoOpStateClient`
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
|
|
30
|
+
@staticmethod
|
|
31
|
+
def build(*, backend_options: BackendOptions) -> StateClient:
|
|
32
|
+
if not backend_options or not backend_options.table_name:
|
|
33
|
+
return NoOpStateClient(backend_options=backend_options)
|
|
34
|
+
|
|
35
|
+
return ConnectedStateClient(backend_options=backend_options)
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
class StateClient(ABC):
|
|
39
|
+
"""
|
|
40
|
+
Abstract class that defines the interface for a state client.
|
|
41
|
+
|
|
42
|
+
It implements all methods except those that require a connection,
|
|
43
|
+
so it is a succinct overview of what a state client does.
|
|
44
|
+
"""
|
|
45
|
+
|
|
46
|
+
def __init__(self, *, backend_options: BackendOptions):
|
|
47
|
+
self.mem = {}
|
|
48
|
+
self.changes = {}
|
|
49
|
+
self.connection = getattr(backend_options, "connection", None)
|
|
50
|
+
self.table = Table(getattr(backend_options, "table_name", None))
|
|
51
|
+
|
|
52
|
+
self.migrate_state_table()
|
|
53
|
+
self.read_all_state()
|
|
54
|
+
|
|
55
|
+
def get_key(self, key: str) -> Optional[str]:
|
|
56
|
+
return self.mem.get(key)
|
|
57
|
+
|
|
58
|
+
def set_key(self, key: str, value: str) -> None:
|
|
59
|
+
self.mem[key] = value
|
|
60
|
+
self.changes[key] = True
|
|
61
|
+
|
|
62
|
+
def flush(self):
|
|
63
|
+
if not self.changes:
|
|
64
|
+
return
|
|
65
|
+
|
|
66
|
+
self.write_all_state(self._changed_keys())
|
|
67
|
+
|
|
68
|
+
def _changed_keys(self):
|
|
69
|
+
for key, _ in self.changes.items():
|
|
70
|
+
yield (key, self.mem[key])
|
|
71
|
+
|
|
72
|
+
@abstractmethod
|
|
73
|
+
def migrate_state_table(self):
|
|
74
|
+
pass
|
|
75
|
+
|
|
76
|
+
@abstractmethod
|
|
77
|
+
def read_all_state(self):
|
|
78
|
+
pass
|
|
79
|
+
|
|
80
|
+
@abstractmethod
|
|
81
|
+
def write_all_state(self, changed_keys: Generator[Tuple[str, str], None, None]):
|
|
82
|
+
pass
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
class NoOpStateClient(StateClient):
|
|
86
|
+
"""
|
|
87
|
+
A state client implementation that does nothing. Used when there is no backend connection.
|
|
88
|
+
"""
|
|
89
|
+
|
|
90
|
+
def get_key(self, key: str) -> Optional[str]:
|
|
91
|
+
pass
|
|
92
|
+
|
|
93
|
+
def set_key(self, key: str, value: str) -> None:
|
|
94
|
+
pass
|
|
95
|
+
|
|
96
|
+
def migrate_state_table(self):
|
|
97
|
+
pass
|
|
98
|
+
|
|
99
|
+
def read_all_state(self):
|
|
100
|
+
pass
|
|
101
|
+
|
|
102
|
+
def write_all_state(self, changed_keys: Generator[Tuple[str, str], None, None]):
|
|
103
|
+
pass
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
def connected(func):
|
|
107
|
+
"""
|
|
108
|
+
Decorator that provides a `backend_plugin` with a gRPC connection to the decorated function.
|
|
109
|
+
"""
|
|
110
|
+
|
|
111
|
+
@wraps(func)
|
|
112
|
+
def wrapper(self, *args, **kwargs):
|
|
113
|
+
with grpc.insecure_channel(self.connection) as channel:
|
|
114
|
+
backend_plugin = plugin_pb2_grpc.PluginStub(channel)
|
|
115
|
+
return func(self, backend_plugin, *args, **kwargs)
|
|
116
|
+
|
|
117
|
+
return wrapper
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
class ConnectedStateClient(StateClient):
|
|
121
|
+
"""
|
|
122
|
+
A state client implementation that connects to a backend plugin via gRPC to read/write state.
|
|
123
|
+
"""
|
|
124
|
+
|
|
125
|
+
@connected
|
|
126
|
+
def migrate_state_table(self, backend_plugin: plugin_pb2_grpc.PluginStub):
|
|
127
|
+
backend_plugin.Write(self._migrate_table_request())
|
|
128
|
+
|
|
129
|
+
@connected
|
|
130
|
+
def read_all_state(self, backend_plugin: plugin_pb2_grpc.PluginStub):
|
|
131
|
+
response = backend_plugin.Read(
|
|
132
|
+
plugin_pb2.Read.Request(table=self.table.bytes())
|
|
133
|
+
)
|
|
134
|
+
|
|
135
|
+
for record in read_response_to_records(response):
|
|
136
|
+
self.mem[record[keyColumn]] = record[valueColumn]
|
|
137
|
+
|
|
138
|
+
@connected
|
|
139
|
+
def write_all_state(
|
|
140
|
+
self,
|
|
141
|
+
backend_plugin: plugin_pb2_grpc.PluginStub,
|
|
142
|
+
changed_keys: Generator[Tuple[str, str], None, None],
|
|
143
|
+
):
|
|
144
|
+
backend_plugin.Write(self._write_request(k, v) for k, v in changed_keys)
|
|
145
|
+
|
|
146
|
+
def _write_request(self, key: str, value: str) -> plugin_pb2.Write.Request:
|
|
147
|
+
record = pa.RecordBatch.from_arrays(
|
|
148
|
+
[
|
|
149
|
+
pa.array([key]),
|
|
150
|
+
pa.array([value]),
|
|
151
|
+
],
|
|
152
|
+
schema=self.table.arrow_schema(),
|
|
153
|
+
)
|
|
154
|
+
return plugin_pb2.Write.Request(
|
|
155
|
+
insert=plugin_pb2.Write.MessageInsert(record=arrow.record_to_bytes(record))
|
|
156
|
+
)
|
|
157
|
+
|
|
158
|
+
def _migrate_table_request(self):
|
|
159
|
+
yield plugin_pb2.Write.Request(
|
|
160
|
+
migrate_table=plugin_pb2.Write.MessageMigrateTable(table=self.table.bytes())
|
|
161
|
+
)
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
def read_response_to_records(response) -> Generator[dict[str, str], None, None]:
|
|
165
|
+
for record in response:
|
|
166
|
+
record_batch = arrow.new_record_from_bytes(record.record)
|
|
167
|
+
for record in recordbatch_to_list_of_maps(record_batch):
|
|
168
|
+
yield record
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
def recordbatch_to_list_of_maps(
|
|
172
|
+
record_batch: pa.RecordBatch,
|
|
173
|
+
) -> Generator[dict[str, str], None, None]:
|
|
174
|
+
table = pa.Table.from_batches([record_batch])
|
|
175
|
+
for row in table.to_pandas().to_dict(orient="records"):
|
|
176
|
+
yield row
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
class Table:
|
|
180
|
+
"""
|
|
181
|
+
Represents a state table with two columns: key and value.
|
|
182
|
+
Provides convenience methods for whatever the gRPC requests need.
|
|
183
|
+
"""
|
|
184
|
+
|
|
185
|
+
def __init__(self, name):
|
|
186
|
+
self.name = name
|
|
187
|
+
self._arrow_schema = None
|
|
188
|
+
self._bytes = None
|
|
189
|
+
|
|
190
|
+
if self.name:
|
|
191
|
+
self._arrow_schema = self._state_table_schema().to_arrow_schema()
|
|
192
|
+
self._bytes = arrow.schema_to_bytes(self._arrow_schema)
|
|
193
|
+
|
|
194
|
+
def arrow_schema(self):
|
|
195
|
+
return self._arrow_schema
|
|
196
|
+
|
|
197
|
+
def bytes(self):
|
|
198
|
+
return self._bytes
|
|
199
|
+
|
|
200
|
+
def _state_table_schema(self):
|
|
201
|
+
return schema.Table(
|
|
202
|
+
name=self.name,
|
|
203
|
+
columns=[
|
|
204
|
+
schema.Column(name=keyColumn, type=pa.string(), primary_key=True),
|
|
205
|
+
schema.Column(name=valueColumn, type=pa.string()),
|
|
206
|
+
],
|
|
207
|
+
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cloudquery-plugin-sdk
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.27
|
|
4
4
|
Summary: CloudQuery Plugin SDK for Python
|
|
5
5
|
Home-page: https://github.com/cloudquery/plugin-sdk-python
|
|
6
6
|
Author: CloudQuery LTD
|
|
@@ -19,27 +19,28 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
19
19
|
Classifier: Operating System :: OS Independent
|
|
20
20
|
Classifier: Topic :: Internet
|
|
21
21
|
Requires-Python: >=3.7
|
|
22
|
+
License-File: LICENSE
|
|
22
23
|
Requires-Dist: cloudquery-plugin-pb==0.0.28
|
|
23
24
|
Requires-Dist: exceptiongroup==1.2.1
|
|
24
25
|
Requires-Dist: black==24.4.2
|
|
25
|
-
Requires-Dist: grpcio==1.64.
|
|
26
|
-
Requires-Dist: grpcio-tools==1.64.
|
|
26
|
+
Requires-Dist: grpcio==1.64.1
|
|
27
|
+
Requires-Dist: grpcio-tools==1.64.1
|
|
27
28
|
Requires-Dist: iniconfig==2.0.0
|
|
28
29
|
Requires-Dist: Jinja2==3.1.4
|
|
29
30
|
Requires-Dist: MarkupSafe==2.1.5
|
|
30
31
|
Requires-Dist: numpy==1.26.4
|
|
31
|
-
Requires-Dist: packaging==24.
|
|
32
|
+
Requires-Dist: packaging==24.1
|
|
32
33
|
Requires-Dist: pandas==2.2.2
|
|
33
34
|
Requires-Dist: pluggy==1.5.0
|
|
34
|
-
Requires-Dist: protobuf==5.27.
|
|
35
|
+
Requires-Dist: protobuf==5.27.2
|
|
35
36
|
Requires-Dist: pyarrow==15.0.2
|
|
36
|
-
Requires-Dist: pytest==8.2.
|
|
37
|
-
Requires-Dist: python-dateutil==2.
|
|
37
|
+
Requires-Dist: pytest==8.2.2
|
|
38
|
+
Requires-Dist: python-dateutil==2.9.0.post0
|
|
38
39
|
Requires-Dist: pytz==2024.1
|
|
39
40
|
Requires-Dist: six==1.16.0
|
|
40
41
|
Requires-Dist: structlog==23.3.0
|
|
41
42
|
Requires-Dist: tomli==2.0.1
|
|
42
|
-
Requires-Dist: tzdata==
|
|
43
|
+
Requires-Dist: tzdata==2024.1
|
|
43
44
|
|
|
44
45
|
|
|
45
46
|
CloudQuery Plugin SDK for Python
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
LICENSE
|
|
1
2
|
README.md
|
|
2
3
|
setup.cfg
|
|
3
4
|
setup.py
|
|
@@ -42,6 +43,8 @@ cloudquery/sdk/schema/resource.py
|
|
|
42
43
|
cloudquery/sdk/schema/table.py
|
|
43
44
|
cloudquery/sdk/serve/__init__.py
|
|
44
45
|
cloudquery/sdk/serve/plugin.py
|
|
46
|
+
cloudquery/sdk/stateclient/__init__.py
|
|
47
|
+
cloudquery/sdk/stateclient/stateclient.py
|
|
45
48
|
cloudquery/sdk/transformers/__init__.py
|
|
46
49
|
cloudquery/sdk/transformers/openapi.py
|
|
47
50
|
cloudquery/sdk/transformers/transformers.py
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
cloudquery-plugin-pb==0.0.28
|
|
2
2
|
exceptiongroup==1.2.1
|
|
3
3
|
black==24.4.2
|
|
4
|
-
grpcio==1.64.
|
|
5
|
-
grpcio-tools==1.64.
|
|
4
|
+
grpcio==1.64.1
|
|
5
|
+
grpcio-tools==1.64.1
|
|
6
6
|
iniconfig==2.0.0
|
|
7
7
|
Jinja2==3.1.4
|
|
8
8
|
MarkupSafe==2.1.5
|
|
9
9
|
numpy==1.26.4
|
|
10
|
-
packaging==24.
|
|
10
|
+
packaging==24.1
|
|
11
11
|
pandas==2.2.2
|
|
12
12
|
pluggy==1.5.0
|
|
13
|
-
protobuf==5.27.
|
|
13
|
+
protobuf==5.27.2
|
|
14
14
|
pyarrow==15.0.2
|
|
15
|
-
pytest==8.2.
|
|
16
|
-
python-dateutil==2.
|
|
15
|
+
pytest==8.2.2
|
|
16
|
+
python-dateutil==2.9.0.post0
|
|
17
17
|
pytz==2024.1
|
|
18
18
|
six==1.16.0
|
|
19
19
|
structlog==23.3.0
|
|
20
20
|
tomli==2.0.1
|
|
21
|
-
tzdata==
|
|
21
|
+
tzdata==2024.1
|
|
@@ -13,24 +13,24 @@ dependencies = [
|
|
|
13
13
|
"cloudquery-plugin-pb==0.0.28",
|
|
14
14
|
"exceptiongroup==1.2.1",
|
|
15
15
|
"black==24.4.2",
|
|
16
|
-
"grpcio==1.64.
|
|
17
|
-
"grpcio-tools==1.64.
|
|
16
|
+
"grpcio==1.64.1",
|
|
17
|
+
"grpcio-tools==1.64.1",
|
|
18
18
|
"iniconfig==2.0.0",
|
|
19
19
|
"Jinja2==3.1.4",
|
|
20
20
|
"MarkupSafe==2.1.5",
|
|
21
21
|
"numpy==1.26.4",
|
|
22
|
-
"packaging==24.
|
|
22
|
+
"packaging==24.1",
|
|
23
23
|
"pandas==2.2.2",
|
|
24
24
|
"pluggy==1.5.0",
|
|
25
|
-
"protobuf==5.27.
|
|
25
|
+
"protobuf==5.27.2",
|
|
26
26
|
"pyarrow==15.0.2",
|
|
27
|
-
"pytest==8.2.
|
|
28
|
-
"python-dateutil==2.
|
|
27
|
+
"pytest==8.2.2",
|
|
28
|
+
"python-dateutil==2.9.0.post0",
|
|
29
29
|
"pytz==2024.1",
|
|
30
30
|
"six==1.16.0",
|
|
31
31
|
"structlog==23.3.0",
|
|
32
32
|
"tomli==2.0.1",
|
|
33
|
-
"tzdata==
|
|
33
|
+
"tzdata==2024.1",
|
|
34
34
|
]
|
|
35
35
|
url = "https://github.com/cloudquery/plugin-sdk-python"
|
|
36
36
|
|
|
@@ -51,7 +51,7 @@ packages = [
|
|
|
51
51
|
]
|
|
52
52
|
setuptools.setup(
|
|
53
53
|
name=name,
|
|
54
|
-
version="0.1.
|
|
54
|
+
version="0.1.27",
|
|
55
55
|
description=description,
|
|
56
56
|
long_description=long_description,
|
|
57
57
|
author="CloudQuery LTD",
|
|
File without changes
|
|
File without changes
|
{cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/internal/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/internal/memdb/memdb.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/message/__init__.py
RENAMED
|
File without changes
|
{cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/message/sync.py
RENAMED
|
File without changes
|
{cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/message/write.py
RENAMED
|
File without changes
|
{cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/plugin/__init__.py
RENAMED
|
File without changes
|
{cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/plugin/plugin.py
RENAMED
|
File without changes
|
|
File without changes
|
{cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/scalar/__init__.py
RENAMED
|
File without changes
|
{cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/scalar/binary.py
RENAMED
|
File without changes
|
|
File without changes
|
{cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/scalar/date32.py
RENAMED
|
File without changes
|
{cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/scalar/date64.py
RENAMED
|
File without changes
|
{cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/scalar/float.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/scalar/scalar.py
RENAMED
|
File without changes
|
|
File without changes
|
{cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/scalar/string.py
RENAMED
|
File without changes
|
{cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/scalar/timestamp.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/scalar/vector.py
RENAMED
|
File without changes
|
{cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/scheduler/__init__.py
RENAMED
|
File without changes
|
{cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/schema/__init__.py
RENAMED
|
File without changes
|
{cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/schema/arrow.py
RENAMED
|
File without changes
|
{cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/schema/column.py
RENAMED
|
File without changes
|
{cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/schema/resource.py
RENAMED
|
File without changes
|
{cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/schema/table.py
RENAMED
|
File without changes
|
{cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/serve/__init__.py
RENAMED
|
File without changes
|
{cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/serve/plugin.py
RENAMED
|
File without changes
|
|
File without changes
|
{cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/transformers/openapi.py
RENAMED
|
File without changes
|
|
File without changes
|
{cloudquery_plugin_sdk-0.1.26 → cloudquery_plugin_sdk-0.1.27}/cloudquery/sdk/types/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|