cloudquery-plugin-pb 0.0.34__tar.gz → 0.0.36__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.
Files changed (24) hide show
  1. {cloudquery_plugin_pb-0.0.34 → cloudquery_plugin_pb-0.0.36}/PKG-INFO +1 -1
  2. {cloudquery_plugin_pb-0.0.34 → cloudquery_plugin_pb-0.0.36}/cloudquery/discovery_v1/discovery_pb2_grpc.py +1 -1
  3. cloudquery_plugin_pb-0.0.36/cloudquery/plugin_v3/plugin_pb2.py +140 -0
  4. {cloudquery_plugin_pb-0.0.34 → cloudquery_plugin_pb-0.0.36}/cloudquery/plugin_v3/plugin_pb2.pyi +11 -2
  5. {cloudquery_plugin_pb-0.0.34 → cloudquery_plugin_pb-0.0.36}/cloudquery/plugin_v3/plugin_pb2_grpc.py +1 -1
  6. {cloudquery_plugin_pb-0.0.34 → cloudquery_plugin_pb-0.0.36}/cloudquery_plugin_pb.egg-info/PKG-INFO +1 -1
  7. {cloudquery_plugin_pb-0.0.34 → cloudquery_plugin_pb-0.0.36}/setup.py +1 -1
  8. cloudquery_plugin_pb-0.0.34/cloudquery/plugin_v3/plugin_pb2.py +0 -138
  9. {cloudquery_plugin_pb-0.0.34 → cloudquery_plugin_pb-0.0.36}/LICENSE +0 -0
  10. {cloudquery_plugin_pb-0.0.34 → cloudquery_plugin_pb-0.0.36}/README.md +0 -0
  11. {cloudquery_plugin_pb-0.0.34 → cloudquery_plugin_pb-0.0.36}/cloudquery/discovery_v1/__init__.py +0 -0
  12. {cloudquery_plugin_pb-0.0.34 → cloudquery_plugin_pb-0.0.36}/cloudquery/discovery_v1/discovery_pb2.py +0 -0
  13. {cloudquery_plugin_pb-0.0.34 → cloudquery_plugin_pb-0.0.36}/cloudquery/discovery_v1/discovery_pb2.pyi +0 -0
  14. {cloudquery_plugin_pb-0.0.34 → cloudquery_plugin_pb-0.0.36}/cloudquery/discovery_v1/py.typed +0 -0
  15. {cloudquery_plugin_pb-0.0.34 → cloudquery_plugin_pb-0.0.36}/cloudquery/plugin_v3/__init__.py +0 -0
  16. {cloudquery_plugin_pb-0.0.34 → cloudquery_plugin_pb-0.0.36}/cloudquery/plugin_v3/arrow.py +0 -0
  17. {cloudquery_plugin_pb-0.0.34 → cloudquery_plugin_pb-0.0.36}/cloudquery/plugin_v3/py.typed +0 -0
  18. {cloudquery_plugin_pb-0.0.34 → cloudquery_plugin_pb-0.0.36}/cloudquery_plugin_pb.egg-info/SOURCES.txt +0 -0
  19. {cloudquery_plugin_pb-0.0.34 → cloudquery_plugin_pb-0.0.36}/cloudquery_plugin_pb.egg-info/dependency_links.txt +0 -0
  20. {cloudquery_plugin_pb-0.0.34 → cloudquery_plugin_pb-0.0.36}/cloudquery_plugin_pb.egg-info/namespace_packages.txt +0 -0
  21. {cloudquery_plugin_pb-0.0.34 → cloudquery_plugin_pb-0.0.36}/cloudquery_plugin_pb.egg-info/not-zip-safe +0 -0
  22. {cloudquery_plugin_pb-0.0.34 → cloudquery_plugin_pb-0.0.36}/cloudquery_plugin_pb.egg-info/requires.txt +0 -0
  23. {cloudquery_plugin_pb-0.0.34 → cloudquery_plugin_pb-0.0.36}/cloudquery_plugin_pb.egg-info/top_level.txt +0 -0
  24. {cloudquery_plugin_pb-0.0.34 → cloudquery_plugin_pb-0.0.36}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cloudquery-plugin-pb
3
- Version: 0.0.34
3
+ Version: 0.0.36
4
4
  Summary: CloudQuery Plugin client and server library
5
5
  Home-page: https://github.com/cloudquery/plugin-pb-python
6
6
  Author: CloudQuery LTD
@@ -5,7 +5,7 @@ import warnings
5
5
 
6
6
  from cloudquery.discovery_v1 import discovery_pb2 as cloudquery_dot_discovery__v1_dot_discovery__pb2
7
7
 
8
- GRPC_GENERATED_VERSION = '1.66.1'
8
+ GRPC_GENERATED_VERSION = '1.66.2'
9
9
  GRPC_VERSION = grpc.__version__
10
10
  _version_not_supported = False
11
11
 
@@ -0,0 +1,140 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: cloudquery/plugin_v3/plugin.proto
5
+ # Protobuf Python Version: 5.27.2
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 5,
15
+ 27,
16
+ 2,
17
+ '',
18
+ 'cloudquery/plugin_v3/plugin.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
26
+
27
+
28
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!cloudquery/plugin_v3/plugin.proto\x12\x14\x63loudquery.plugin.v3\x1a\x1fgoogle/protobuf/timestamp.proto\".\n\x07GetName\x1a\t\n\x07Request\x1a\x18\n\x08Response\x12\x0c\n\x04name\x18\x01 \x01(\t\"4\n\nGetVersion\x1a\t\n\x07Request\x1a\x1b\n\x08Response\x12\x0f\n\x07version\x18\x01 \x01(\t\"P\n\rGetSpecSchema\x1a\t\n\x07Request\x1a\x34\n\x08Response\x12\x18\n\x0bjson_schema\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_json_schema\"Y\n\x04Init\x1a\x45\n\x07Request\x12\x0c\n\x04spec\x18\x01 \x01(\x0c\x12\x15\n\rno_connection\x18\x02 \x01(\x08\x12\x15\n\rinvocation_id\x18\x03 \x01(\t\x1a\n\n\x08Response\"v\n\tGetTables\x1aM\n\x07Request\x12\x0e\n\x06tables\x18\x01 \x03(\t\x12\x13\n\x0bskip_tables\x18\x02 \x03(\t\x12\x1d\n\x15skip_dependent_tables\x18\x03 \x01(\x08\x1a\x1a\n\x08Response\x12\x0e\n\x06tables\x18\x01 \x03(\x0c\"\xaa\x06\n\x04Sync\x1a\x1f\n\rMessageInsert\x12\x0e\n\x06record\x18\x01 \x01(\x0c\x1a$\n\x13MessageMigrateTable\x12\r\n\x05table\x18\x01 \x01(\x0c\x1a\xa4\x01\n\x13MessageDeleteRecord\x12\x12\n\ntable_name\x18\x01 \x01(\t\x12;\n\x0cwhere_clause\x18\x02 \x03(\x0b\x32%.cloudquery.plugin.v3.PredicatesGroup\x12<\n\x0ftable_relations\x18\x03 \x03(\x0b\x32#.cloudquery.plugin.v3.TableRelation\x1a\x38\n\x0e\x42\x61\x63kendOptions\x12\x12\n\ntable_name\x18\x01 \x01(\t\x12\x12\n\nconnection\x18\x02 \x01(\t\x1a\x93\x02\n\x07Request\x12\x0e\n\x06tables\x18\x01 \x03(\t\x12\x13\n\x0bskip_tables\x18\x02 \x03(\t\x12\x1d\n\x15skip_dependent_tables\x18\x03 \x01(\x08\x12\x1b\n\x13\x64\x65terministic_cq_id\x18\x04 \x01(\x08\x12:\n\x07\x62\x61\x63kend\x18\x05 \x01(\x0b\x32).cloudquery.plugin.v3.Sync.BackendOptions\x12<\n\x05shard\x18\x06 \x01(\x0b\x32(.cloudquery.plugin.v3.Sync.Request.ShardH\x00\x88\x01\x01\x1a#\n\x05Shard\x12\x0b\n\x03num\x18\x01 \x01(\x05\x12\r\n\x05total\x18\x02 \x01(\x05\x42\x08\n\x06_shard\x1a\xe3\x01\n\x08Response\x12G\n\rmigrate_table\x18\x01 \x01(\x0b\x32..cloudquery.plugin.v3.Sync.MessageMigrateTableH\x00\x12:\n\x06insert\x18\x02 \x01(\x0b\x32(.cloudquery.plugin.v3.Sync.MessageInsertH\x00\x12G\n\rdelete_record\x18\x03 \x01(\x0b\x32..cloudquery.plugin.v3.Sync.MessageDeleteRecordH\x00\x42\t\n\x07message\"<\n\x04Read\x1a\x18\n\x07Request\x12\r\n\x05table\x18\x01 \x01(\x0c\x1a\x1a\n\x08Response\x12\x0e\n\x06record\x18\x01 \x01(\x0c\"9\n\rTableRelation\x12\x12\n\ntable_name\x18\x01 \x01(\t\x12\x14\n\x0cparent_table\x18\x02 \x01(\t\"{\n\tPredicate\x12:\n\x08operator\x18\x01 \x01(\x0e\x32(.cloudquery.plugin.v3.Predicate.Operator\x12\x0e\n\x06\x63olumn\x18\x02 \x01(\t\x12\x0e\n\x06record\x18\x03 \x01(\x0c\"\x12\n\x08Operator\x12\x06\n\x02\x45Q\x10\x00\"\xb2\x01\n\x0fPredicatesGroup\x12I\n\rgrouping_type\x18\x01 \x01(\x0e\x32\x32.cloudquery.plugin.v3.PredicatesGroup.GroupingType\x12\x33\n\npredicates\x18\x02 \x03(\x0b\x32\x1f.cloudquery.plugin.v3.Predicate\"\x1f\n\x0cGroupingType\x12\x07\n\x03\x41ND\x10\x00\x12\x06\n\x02OR\x10\x01\"\xc3\x05\n\x05Write\x1a;\n\x13MessageMigrateTable\x12\r\n\x05table\x18\x01 \x01(\x0c\x12\x15\n\rmigrate_force\x18\x02 \x01(\x08\x1a\x1f\n\rMessageInsert\x12\x0e\n\x06record\x18\x01 \x01(\x0c\x1a\x7f\n\x12MessageDeleteStale\x12\x11\n\x05table\x18\x01 \x01(\x0c\x42\x02\x18\x01\x12\x13\n\x0bsource_name\x18\x02 \x01(\t\x12-\n\tsync_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\ntable_name\x18\x04 \x01(\t\x1a\xa4\x01\n\x13MessageDeleteRecord\x12\x12\n\ntable_name\x18\x01 \x01(\t\x12;\n\x0cwhere_clause\x18\x02 \x03(\x0b\x32%.cloudquery.plugin.v3.PredicatesGroup\x12<\n\x0ftable_relations\x18\x03 \x03(\x0b\x32#.cloudquery.plugin.v3.TableRelation\x1a\xa7\x02\n\x07Request\x12H\n\rmigrate_table\x18\x01 \x01(\x0b\x32/.cloudquery.plugin.v3.Write.MessageMigrateTableH\x00\x12;\n\x06insert\x18\x02 \x01(\x0b\x32).cloudquery.plugin.v3.Write.MessageInsertH\x00\x12@\n\x06\x64\x65lete\x18\x03 \x01(\x0b\x32..cloudquery.plugin.v3.Write.MessageDeleteStaleH\x00\x12H\n\rdelete_record\x18\x04 \x01(\x0b\x32/.cloudquery.plugin.v3.Write.MessageDeleteRecordH\x00\x42\t\n\x07message\x1a\n\n\x08Response\"B\n\tTransform\x1a\x19\n\x07Request\x12\x0e\n\x06record\x18\x01 \x01(\x0c\x1a\x1a\n\x08Response\x12\x0e\n\x06record\x18\x01 \x01(\x0c\"H\n\x0fTransformSchema\x1a\x19\n\x07Request\x12\x0e\n\x06schema\x18\x01 \x01(\x0c\x1a\x1a\n\x08Response\x12\x0e\n\x06schema\x18\x01 \x01(\x0c\"\x1e\n\x05\x43lose\x1a\t\n\x07Request\x1a\n\n\x08Response\"y\n\x0eTestConnection\x1a\x17\n\x07Request\x12\x0c\n\x04spec\x18\x01 \x01(\x0c\x1aN\n\x08Response\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x14\n\x0c\x66\x61ilure_code\x18\x02 \x01(\t\x12\x1b\n\x13\x66\x61ilure_description\x18\x03 \x01(\t2\xf7\x08\n\x06Plugin\x12X\n\x07GetName\x12%.cloudquery.plugin.v3.GetName.Request\x1a&.cloudquery.plugin.v3.GetName.Response\x12\x61\n\nGetVersion\x12(.cloudquery.plugin.v3.GetVersion.Request\x1a).cloudquery.plugin.v3.GetVersion.Response\x12j\n\rGetSpecSchema\x12+.cloudquery.plugin.v3.GetSpecSchema.Request\x1a,.cloudquery.plugin.v3.GetSpecSchema.Response\x12O\n\x04Init\x12\".cloudquery.plugin.v3.Init.Request\x1a#.cloudquery.plugin.v3.Init.Response\x12^\n\tGetTables\x12\'.cloudquery.plugin.v3.GetTables.Request\x1a(.cloudquery.plugin.v3.GetTables.Response\x12Q\n\x04Sync\x12\".cloudquery.plugin.v3.Sync.Request\x1a#.cloudquery.plugin.v3.Sync.Response0\x01\x12Q\n\x04Read\x12\".cloudquery.plugin.v3.Read.Request\x1a#.cloudquery.plugin.v3.Read.Response0\x01\x12T\n\x05Write\x12#.cloudquery.plugin.v3.Write.Request\x1a$.cloudquery.plugin.v3.Write.Response(\x01\x12\x62\n\tTransform\x12\'.cloudquery.plugin.v3.Transform.Request\x1a(.cloudquery.plugin.v3.Transform.Response(\x01\x30\x01\x12p\n\x0fTransformSchema\x12-.cloudquery.plugin.v3.TransformSchema.Request\x1a..cloudquery.plugin.v3.TransformSchema.Response\x12R\n\x05\x43lose\x12#.cloudquery.plugin.v3.Close.Request\x1a$.cloudquery.plugin.v3.Close.Response\x12m\n\x0eTestConnection\x12,.cloudquery.plugin.v3.TestConnection.Request\x1a-.cloudquery.plugin.v3.TestConnection.ResponseBS\n\x17io.cloudquery.plugin.v3P\x01Z6github.com/cloudquery/plugin-pb-go/pb/plugin/v3;pluginb\x06proto3')
29
+
30
+ _globals = globals()
31
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
32
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cloudquery.plugin_v3.plugin_pb2', _globals)
33
+ if not _descriptor._USE_C_DESCRIPTORS:
34
+ _globals['DESCRIPTOR']._loaded_options = None
35
+ _globals['DESCRIPTOR']._serialized_options = b'\n\027io.cloudquery.plugin.v3P\001Z6github.com/cloudquery/plugin-pb-go/pb/plugin/v3;plugin'
36
+ _globals['_WRITE_MESSAGEDELETESTALE'].fields_by_name['table']._loaded_options = None
37
+ _globals['_WRITE_MESSAGEDELETESTALE'].fields_by_name['table']._serialized_options = b'\030\001'
38
+ _globals['_GETNAME']._serialized_start=92
39
+ _globals['_GETNAME']._serialized_end=138
40
+ _globals['_GETNAME_REQUEST']._serialized_start=103
41
+ _globals['_GETNAME_REQUEST']._serialized_end=112
42
+ _globals['_GETNAME_RESPONSE']._serialized_start=114
43
+ _globals['_GETNAME_RESPONSE']._serialized_end=138
44
+ _globals['_GETVERSION']._serialized_start=140
45
+ _globals['_GETVERSION']._serialized_end=192
46
+ _globals['_GETVERSION_REQUEST']._serialized_start=103
47
+ _globals['_GETVERSION_REQUEST']._serialized_end=112
48
+ _globals['_GETVERSION_RESPONSE']._serialized_start=165
49
+ _globals['_GETVERSION_RESPONSE']._serialized_end=192
50
+ _globals['_GETSPECSCHEMA']._serialized_start=194
51
+ _globals['_GETSPECSCHEMA']._serialized_end=274
52
+ _globals['_GETSPECSCHEMA_REQUEST']._serialized_start=103
53
+ _globals['_GETSPECSCHEMA_REQUEST']._serialized_end=112
54
+ _globals['_GETSPECSCHEMA_RESPONSE']._serialized_start=222
55
+ _globals['_GETSPECSCHEMA_RESPONSE']._serialized_end=274
56
+ _globals['_INIT']._serialized_start=276
57
+ _globals['_INIT']._serialized_end=365
58
+ _globals['_INIT_REQUEST']._serialized_start=284
59
+ _globals['_INIT_REQUEST']._serialized_end=353
60
+ _globals['_INIT_RESPONSE']._serialized_start=114
61
+ _globals['_INIT_RESPONSE']._serialized_end=124
62
+ _globals['_GETTABLES']._serialized_start=367
63
+ _globals['_GETTABLES']._serialized_end=485
64
+ _globals['_GETTABLES_REQUEST']._serialized_start=380
65
+ _globals['_GETTABLES_REQUEST']._serialized_end=457
66
+ _globals['_GETTABLES_RESPONSE']._serialized_start=459
67
+ _globals['_GETTABLES_RESPONSE']._serialized_end=485
68
+ _globals['_SYNC']._serialized_start=488
69
+ _globals['_SYNC']._serialized_end=1298
70
+ _globals['_SYNC_MESSAGEINSERT']._serialized_start=496
71
+ _globals['_SYNC_MESSAGEINSERT']._serialized_end=527
72
+ _globals['_SYNC_MESSAGEMIGRATETABLE']._serialized_start=529
73
+ _globals['_SYNC_MESSAGEMIGRATETABLE']._serialized_end=565
74
+ _globals['_SYNC_MESSAGEDELETERECORD']._serialized_start=568
75
+ _globals['_SYNC_MESSAGEDELETERECORD']._serialized_end=732
76
+ _globals['_SYNC_BACKENDOPTIONS']._serialized_start=734
77
+ _globals['_SYNC_BACKENDOPTIONS']._serialized_end=790
78
+ _globals['_SYNC_REQUEST']._serialized_start=793
79
+ _globals['_SYNC_REQUEST']._serialized_end=1068
80
+ _globals['_SYNC_REQUEST_SHARD']._serialized_start=1023
81
+ _globals['_SYNC_REQUEST_SHARD']._serialized_end=1058
82
+ _globals['_SYNC_RESPONSE']._serialized_start=1071
83
+ _globals['_SYNC_RESPONSE']._serialized_end=1298
84
+ _globals['_READ']._serialized_start=1300
85
+ _globals['_READ']._serialized_end=1360
86
+ _globals['_READ_REQUEST']._serialized_start=1308
87
+ _globals['_READ_REQUEST']._serialized_end=1332
88
+ _globals['_READ_RESPONSE']._serialized_start=1334
89
+ _globals['_READ_RESPONSE']._serialized_end=1360
90
+ _globals['_TABLERELATION']._serialized_start=1362
91
+ _globals['_TABLERELATION']._serialized_end=1419
92
+ _globals['_PREDICATE']._serialized_start=1421
93
+ _globals['_PREDICATE']._serialized_end=1544
94
+ _globals['_PREDICATE_OPERATOR']._serialized_start=1526
95
+ _globals['_PREDICATE_OPERATOR']._serialized_end=1544
96
+ _globals['_PREDICATESGROUP']._serialized_start=1547
97
+ _globals['_PREDICATESGROUP']._serialized_end=1725
98
+ _globals['_PREDICATESGROUP_GROUPINGTYPE']._serialized_start=1694
99
+ _globals['_PREDICATESGROUP_GROUPINGTYPE']._serialized_end=1725
100
+ _globals['_WRITE']._serialized_start=1728
101
+ _globals['_WRITE']._serialized_end=2435
102
+ _globals['_WRITE_MESSAGEMIGRATETABLE']._serialized_start=1737
103
+ _globals['_WRITE_MESSAGEMIGRATETABLE']._serialized_end=1796
104
+ _globals['_WRITE_MESSAGEINSERT']._serialized_start=496
105
+ _globals['_WRITE_MESSAGEINSERT']._serialized_end=527
106
+ _globals['_WRITE_MESSAGEDELETESTALE']._serialized_start=1831
107
+ _globals['_WRITE_MESSAGEDELETESTALE']._serialized_end=1958
108
+ _globals['_WRITE_MESSAGEDELETERECORD']._serialized_start=568
109
+ _globals['_WRITE_MESSAGEDELETERECORD']._serialized_end=732
110
+ _globals['_WRITE_REQUEST']._serialized_start=2128
111
+ _globals['_WRITE_REQUEST']._serialized_end=2423
112
+ _globals['_WRITE_RESPONSE']._serialized_start=114
113
+ _globals['_WRITE_RESPONSE']._serialized_end=124
114
+ _globals['_TRANSFORM']._serialized_start=2437
115
+ _globals['_TRANSFORM']._serialized_end=2503
116
+ _globals['_TRANSFORM_REQUEST']._serialized_start=2450
117
+ _globals['_TRANSFORM_REQUEST']._serialized_end=2475
118
+ _globals['_TRANSFORM_RESPONSE']._serialized_start=1334
119
+ _globals['_TRANSFORM_RESPONSE']._serialized_end=1360
120
+ _globals['_TRANSFORMSCHEMA']._serialized_start=2505
121
+ _globals['_TRANSFORMSCHEMA']._serialized_end=2577
122
+ _globals['_TRANSFORMSCHEMA_REQUEST']._serialized_start=2524
123
+ _globals['_TRANSFORMSCHEMA_REQUEST']._serialized_end=2549
124
+ _globals['_TRANSFORMSCHEMA_RESPONSE']._serialized_start=2551
125
+ _globals['_TRANSFORMSCHEMA_RESPONSE']._serialized_end=2577
126
+ _globals['_CLOSE']._serialized_start=2579
127
+ _globals['_CLOSE']._serialized_end=2609
128
+ _globals['_CLOSE_REQUEST']._serialized_start=103
129
+ _globals['_CLOSE_REQUEST']._serialized_end=112
130
+ _globals['_CLOSE_RESPONSE']._serialized_start=114
131
+ _globals['_CLOSE_RESPONSE']._serialized_end=124
132
+ _globals['_TESTCONNECTION']._serialized_start=2611
133
+ _globals['_TESTCONNECTION']._serialized_end=2732
134
+ _globals['_TESTCONNECTION_REQUEST']._serialized_start=284
135
+ _globals['_TESTCONNECTION_REQUEST']._serialized_end=307
136
+ _globals['_TESTCONNECTION_RESPONSE']._serialized_start=2654
137
+ _globals['_TESTCONNECTION_RESPONSE']._serialized_end=2732
138
+ _globals['_PLUGIN']._serialized_start=2735
139
+ _globals['_PLUGIN']._serialized_end=3878
140
+ # @@protoc_insertion_point(module_scope)
@@ -106,18 +106,27 @@ class Sync(_message.Message):
106
106
  connection: str
107
107
  def __init__(self, table_name: _Optional[str] = ..., connection: _Optional[str] = ...) -> None: ...
108
108
  class Request(_message.Message):
109
- __slots__ = ("tables", "skip_tables", "skip_dependent_tables", "deterministic_cq_id", "backend")
109
+ __slots__ = ("tables", "skip_tables", "skip_dependent_tables", "deterministic_cq_id", "backend", "shard")
110
+ class Shard(_message.Message):
111
+ __slots__ = ("num", "total")
112
+ NUM_FIELD_NUMBER: _ClassVar[int]
113
+ TOTAL_FIELD_NUMBER: _ClassVar[int]
114
+ num: int
115
+ total: int
116
+ def __init__(self, num: _Optional[int] = ..., total: _Optional[int] = ...) -> None: ...
110
117
  TABLES_FIELD_NUMBER: _ClassVar[int]
111
118
  SKIP_TABLES_FIELD_NUMBER: _ClassVar[int]
112
119
  SKIP_DEPENDENT_TABLES_FIELD_NUMBER: _ClassVar[int]
113
120
  DETERMINISTIC_CQ_ID_FIELD_NUMBER: _ClassVar[int]
114
121
  BACKEND_FIELD_NUMBER: _ClassVar[int]
122
+ SHARD_FIELD_NUMBER: _ClassVar[int]
115
123
  tables: _containers.RepeatedScalarFieldContainer[str]
116
124
  skip_tables: _containers.RepeatedScalarFieldContainer[str]
117
125
  skip_dependent_tables: bool
118
126
  deterministic_cq_id: bool
119
127
  backend: Sync.BackendOptions
120
- def __init__(self, tables: _Optional[_Iterable[str]] = ..., skip_tables: _Optional[_Iterable[str]] = ..., skip_dependent_tables: bool = ..., deterministic_cq_id: bool = ..., backend: _Optional[_Union[Sync.BackendOptions, _Mapping]] = ...) -> None: ...
128
+ shard: Sync.Request.Shard
129
+ def __init__(self, tables: _Optional[_Iterable[str]] = ..., skip_tables: _Optional[_Iterable[str]] = ..., skip_dependent_tables: bool = ..., deterministic_cq_id: bool = ..., backend: _Optional[_Union[Sync.BackendOptions, _Mapping]] = ..., shard: _Optional[_Union[Sync.Request.Shard, _Mapping]] = ...) -> None: ...
121
130
  class Response(_message.Message):
122
131
  __slots__ = ("migrate_table", "insert", "delete_record")
123
132
  MIGRATE_TABLE_FIELD_NUMBER: _ClassVar[int]
@@ -5,7 +5,7 @@ import warnings
5
5
 
6
6
  from cloudquery.plugin_v3 import plugin_pb2 as cloudquery_dot_plugin__v3_dot_plugin__pb2
7
7
 
8
- GRPC_GENERATED_VERSION = '1.66.1'
8
+ GRPC_GENERATED_VERSION = '1.66.2'
9
9
  GRPC_VERSION = grpc.__version__
10
10
  _version_not_supported = False
11
11
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cloudquery-plugin-pb
3
- Version: 0.0.34
3
+ Version: 0.0.36
4
4
  Summary: CloudQuery Plugin client and server library
5
5
  Home-page: https://github.com/cloudquery/plugin-pb-python
6
6
  Author: CloudQuery LTD
@@ -37,7 +37,7 @@ packages = [
37
37
  ]
38
38
  setuptools.setup(
39
39
  name=name,
40
- version="0.0.34",
40
+ version="0.0.36",
41
41
  description=description,
42
42
  long_description=long_description,
43
43
  author="CloudQuery LTD",
@@ -1,138 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # NO CHECKED-IN PROTOBUF GENCODE
4
- # source: cloudquery/plugin_v3/plugin.proto
5
- # Protobuf Python Version: 5.27.2
6
- """Generated protocol buffer code."""
7
- from google.protobuf import descriptor as _descriptor
8
- from google.protobuf import descriptor_pool as _descriptor_pool
9
- from google.protobuf import runtime_version as _runtime_version
10
- from google.protobuf import symbol_database as _symbol_database
11
- from google.protobuf.internal import builder as _builder
12
- _runtime_version.ValidateProtobufRuntimeVersion(
13
- _runtime_version.Domain.PUBLIC,
14
- 5,
15
- 27,
16
- 2,
17
- '',
18
- 'cloudquery/plugin_v3/plugin.proto'
19
- )
20
- # @@protoc_insertion_point(imports)
21
-
22
- _sym_db = _symbol_database.Default()
23
-
24
-
25
- from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
26
-
27
-
28
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!cloudquery/plugin_v3/plugin.proto\x12\x14\x63loudquery.plugin.v3\x1a\x1fgoogle/protobuf/timestamp.proto\".\n\x07GetName\x1a\t\n\x07Request\x1a\x18\n\x08Response\x12\x0c\n\x04name\x18\x01 \x01(\t\"4\n\nGetVersion\x1a\t\n\x07Request\x1a\x1b\n\x08Response\x12\x0f\n\x07version\x18\x01 \x01(\t\"P\n\rGetSpecSchema\x1a\t\n\x07Request\x1a\x34\n\x08Response\x12\x18\n\x0bjson_schema\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_json_schema\"Y\n\x04Init\x1a\x45\n\x07Request\x12\x0c\n\x04spec\x18\x01 \x01(\x0c\x12\x15\n\rno_connection\x18\x02 \x01(\x08\x12\x15\n\rinvocation_id\x18\x03 \x01(\t\x1a\n\n\x08Response\"v\n\tGetTables\x1aM\n\x07Request\x12\x0e\n\x06tables\x18\x01 \x03(\t\x12\x13\n\x0bskip_tables\x18\x02 \x03(\t\x12\x1d\n\x15skip_dependent_tables\x18\x03 \x01(\x08\x1a\x1a\n\x08Response\x12\x0e\n\x06tables\x18\x01 \x03(\x0c\"\xbd\x05\n\x04Sync\x1a\x1f\n\rMessageInsert\x12\x0e\n\x06record\x18\x01 \x01(\x0c\x1a$\n\x13MessageMigrateTable\x12\r\n\x05table\x18\x01 \x01(\x0c\x1a\xa4\x01\n\x13MessageDeleteRecord\x12\x12\n\ntable_name\x18\x01 \x01(\t\x12;\n\x0cwhere_clause\x18\x02 \x03(\x0b\x32%.cloudquery.plugin.v3.PredicatesGroup\x12<\n\x0ftable_relations\x18\x03 \x03(\x0b\x32#.cloudquery.plugin.v3.TableRelation\x1a\x38\n\x0e\x42\x61\x63kendOptions\x12\x12\n\ntable_name\x18\x01 \x01(\t\x12\x12\n\nconnection\x18\x02 \x01(\t\x1a\xa6\x01\n\x07Request\x12\x0e\n\x06tables\x18\x01 \x03(\t\x12\x13\n\x0bskip_tables\x18\x02 \x03(\t\x12\x1d\n\x15skip_dependent_tables\x18\x03 \x01(\x08\x12\x1b\n\x13\x64\x65terministic_cq_id\x18\x04 \x01(\x08\x12:\n\x07\x62\x61\x63kend\x18\x05 \x01(\x0b\x32).cloudquery.plugin.v3.Sync.BackendOptions\x1a\xe3\x01\n\x08Response\x12G\n\rmigrate_table\x18\x01 \x01(\x0b\x32..cloudquery.plugin.v3.Sync.MessageMigrateTableH\x00\x12:\n\x06insert\x18\x02 \x01(\x0b\x32(.cloudquery.plugin.v3.Sync.MessageInsertH\x00\x12G\n\rdelete_record\x18\x03 \x01(\x0b\x32..cloudquery.plugin.v3.Sync.MessageDeleteRecordH\x00\x42\t\n\x07message\"<\n\x04Read\x1a\x18\n\x07Request\x12\r\n\x05table\x18\x01 \x01(\x0c\x1a\x1a\n\x08Response\x12\x0e\n\x06record\x18\x01 \x01(\x0c\"9\n\rTableRelation\x12\x12\n\ntable_name\x18\x01 \x01(\t\x12\x14\n\x0cparent_table\x18\x02 \x01(\t\"{\n\tPredicate\x12:\n\x08operator\x18\x01 \x01(\x0e\x32(.cloudquery.plugin.v3.Predicate.Operator\x12\x0e\n\x06\x63olumn\x18\x02 \x01(\t\x12\x0e\n\x06record\x18\x03 \x01(\x0c\"\x12\n\x08Operator\x12\x06\n\x02\x45Q\x10\x00\"\xb2\x01\n\x0fPredicatesGroup\x12I\n\rgrouping_type\x18\x01 \x01(\x0e\x32\x32.cloudquery.plugin.v3.PredicatesGroup.GroupingType\x12\x33\n\npredicates\x18\x02 \x03(\x0b\x32\x1f.cloudquery.plugin.v3.Predicate\"\x1f\n\x0cGroupingType\x12\x07\n\x03\x41ND\x10\x00\x12\x06\n\x02OR\x10\x01\"\xc3\x05\n\x05Write\x1a;\n\x13MessageMigrateTable\x12\r\n\x05table\x18\x01 \x01(\x0c\x12\x15\n\rmigrate_force\x18\x02 \x01(\x08\x1a\x1f\n\rMessageInsert\x12\x0e\n\x06record\x18\x01 \x01(\x0c\x1a\x7f\n\x12MessageDeleteStale\x12\x11\n\x05table\x18\x01 \x01(\x0c\x42\x02\x18\x01\x12\x13\n\x0bsource_name\x18\x02 \x01(\t\x12-\n\tsync_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\ntable_name\x18\x04 \x01(\t\x1a\xa4\x01\n\x13MessageDeleteRecord\x12\x12\n\ntable_name\x18\x01 \x01(\t\x12;\n\x0cwhere_clause\x18\x02 \x03(\x0b\x32%.cloudquery.plugin.v3.PredicatesGroup\x12<\n\x0ftable_relations\x18\x03 \x03(\x0b\x32#.cloudquery.plugin.v3.TableRelation\x1a\xa7\x02\n\x07Request\x12H\n\rmigrate_table\x18\x01 \x01(\x0b\x32/.cloudquery.plugin.v3.Write.MessageMigrateTableH\x00\x12;\n\x06insert\x18\x02 \x01(\x0b\x32).cloudquery.plugin.v3.Write.MessageInsertH\x00\x12@\n\x06\x64\x65lete\x18\x03 \x01(\x0b\x32..cloudquery.plugin.v3.Write.MessageDeleteStaleH\x00\x12H\n\rdelete_record\x18\x04 \x01(\x0b\x32/.cloudquery.plugin.v3.Write.MessageDeleteRecordH\x00\x42\t\n\x07message\x1a\n\n\x08Response\"B\n\tTransform\x1a\x19\n\x07Request\x12\x0e\n\x06record\x18\x01 \x01(\x0c\x1a\x1a\n\x08Response\x12\x0e\n\x06record\x18\x01 \x01(\x0c\"H\n\x0fTransformSchema\x1a\x19\n\x07Request\x12\x0e\n\x06schema\x18\x01 \x01(\x0c\x1a\x1a\n\x08Response\x12\x0e\n\x06schema\x18\x01 \x01(\x0c\"\x1e\n\x05\x43lose\x1a\t\n\x07Request\x1a\n\n\x08Response\"y\n\x0eTestConnection\x1a\x17\n\x07Request\x12\x0c\n\x04spec\x18\x01 \x01(\x0c\x1aN\n\x08Response\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x14\n\x0c\x66\x61ilure_code\x18\x02 \x01(\t\x12\x1b\n\x13\x66\x61ilure_description\x18\x03 \x01(\t2\xf7\x08\n\x06Plugin\x12X\n\x07GetName\x12%.cloudquery.plugin.v3.GetName.Request\x1a&.cloudquery.plugin.v3.GetName.Response\x12\x61\n\nGetVersion\x12(.cloudquery.plugin.v3.GetVersion.Request\x1a).cloudquery.plugin.v3.GetVersion.Response\x12j\n\rGetSpecSchema\x12+.cloudquery.plugin.v3.GetSpecSchema.Request\x1a,.cloudquery.plugin.v3.GetSpecSchema.Response\x12O\n\x04Init\x12\".cloudquery.plugin.v3.Init.Request\x1a#.cloudquery.plugin.v3.Init.Response\x12^\n\tGetTables\x12\'.cloudquery.plugin.v3.GetTables.Request\x1a(.cloudquery.plugin.v3.GetTables.Response\x12Q\n\x04Sync\x12\".cloudquery.plugin.v3.Sync.Request\x1a#.cloudquery.plugin.v3.Sync.Response0\x01\x12Q\n\x04Read\x12\".cloudquery.plugin.v3.Read.Request\x1a#.cloudquery.plugin.v3.Read.Response0\x01\x12T\n\x05Write\x12#.cloudquery.plugin.v3.Write.Request\x1a$.cloudquery.plugin.v3.Write.Response(\x01\x12\x62\n\tTransform\x12\'.cloudquery.plugin.v3.Transform.Request\x1a(.cloudquery.plugin.v3.Transform.Response(\x01\x30\x01\x12p\n\x0fTransformSchema\x12-.cloudquery.plugin.v3.TransformSchema.Request\x1a..cloudquery.plugin.v3.TransformSchema.Response\x12R\n\x05\x43lose\x12#.cloudquery.plugin.v3.Close.Request\x1a$.cloudquery.plugin.v3.Close.Response\x12m\n\x0eTestConnection\x12,.cloudquery.plugin.v3.TestConnection.Request\x1a-.cloudquery.plugin.v3.TestConnection.ResponseBS\n\x17io.cloudquery.plugin.v3P\x01Z6github.com/cloudquery/plugin-pb-go/pb/plugin/v3;pluginb\x06proto3')
29
-
30
- _globals = globals()
31
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
32
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cloudquery.plugin_v3.plugin_pb2', _globals)
33
- if not _descriptor._USE_C_DESCRIPTORS:
34
- _globals['DESCRIPTOR']._loaded_options = None
35
- _globals['DESCRIPTOR']._serialized_options = b'\n\027io.cloudquery.plugin.v3P\001Z6github.com/cloudquery/plugin-pb-go/pb/plugin/v3;plugin'
36
- _globals['_WRITE_MESSAGEDELETESTALE'].fields_by_name['table']._loaded_options = None
37
- _globals['_WRITE_MESSAGEDELETESTALE'].fields_by_name['table']._serialized_options = b'\030\001'
38
- _globals['_GETNAME']._serialized_start=92
39
- _globals['_GETNAME']._serialized_end=138
40
- _globals['_GETNAME_REQUEST']._serialized_start=103
41
- _globals['_GETNAME_REQUEST']._serialized_end=112
42
- _globals['_GETNAME_RESPONSE']._serialized_start=114
43
- _globals['_GETNAME_RESPONSE']._serialized_end=138
44
- _globals['_GETVERSION']._serialized_start=140
45
- _globals['_GETVERSION']._serialized_end=192
46
- _globals['_GETVERSION_REQUEST']._serialized_start=103
47
- _globals['_GETVERSION_REQUEST']._serialized_end=112
48
- _globals['_GETVERSION_RESPONSE']._serialized_start=165
49
- _globals['_GETVERSION_RESPONSE']._serialized_end=192
50
- _globals['_GETSPECSCHEMA']._serialized_start=194
51
- _globals['_GETSPECSCHEMA']._serialized_end=274
52
- _globals['_GETSPECSCHEMA_REQUEST']._serialized_start=103
53
- _globals['_GETSPECSCHEMA_REQUEST']._serialized_end=112
54
- _globals['_GETSPECSCHEMA_RESPONSE']._serialized_start=222
55
- _globals['_GETSPECSCHEMA_RESPONSE']._serialized_end=274
56
- _globals['_INIT']._serialized_start=276
57
- _globals['_INIT']._serialized_end=365
58
- _globals['_INIT_REQUEST']._serialized_start=284
59
- _globals['_INIT_REQUEST']._serialized_end=353
60
- _globals['_INIT_RESPONSE']._serialized_start=114
61
- _globals['_INIT_RESPONSE']._serialized_end=124
62
- _globals['_GETTABLES']._serialized_start=367
63
- _globals['_GETTABLES']._serialized_end=485
64
- _globals['_GETTABLES_REQUEST']._serialized_start=380
65
- _globals['_GETTABLES_REQUEST']._serialized_end=457
66
- _globals['_GETTABLES_RESPONSE']._serialized_start=459
67
- _globals['_GETTABLES_RESPONSE']._serialized_end=485
68
- _globals['_SYNC']._serialized_start=488
69
- _globals['_SYNC']._serialized_end=1189
70
- _globals['_SYNC_MESSAGEINSERT']._serialized_start=496
71
- _globals['_SYNC_MESSAGEINSERT']._serialized_end=527
72
- _globals['_SYNC_MESSAGEMIGRATETABLE']._serialized_start=529
73
- _globals['_SYNC_MESSAGEMIGRATETABLE']._serialized_end=565
74
- _globals['_SYNC_MESSAGEDELETERECORD']._serialized_start=568
75
- _globals['_SYNC_MESSAGEDELETERECORD']._serialized_end=732
76
- _globals['_SYNC_BACKENDOPTIONS']._serialized_start=734
77
- _globals['_SYNC_BACKENDOPTIONS']._serialized_end=790
78
- _globals['_SYNC_REQUEST']._serialized_start=793
79
- _globals['_SYNC_REQUEST']._serialized_end=959
80
- _globals['_SYNC_RESPONSE']._serialized_start=962
81
- _globals['_SYNC_RESPONSE']._serialized_end=1189
82
- _globals['_READ']._serialized_start=1191
83
- _globals['_READ']._serialized_end=1251
84
- _globals['_READ_REQUEST']._serialized_start=1199
85
- _globals['_READ_REQUEST']._serialized_end=1223
86
- _globals['_READ_RESPONSE']._serialized_start=1225
87
- _globals['_READ_RESPONSE']._serialized_end=1251
88
- _globals['_TABLERELATION']._serialized_start=1253
89
- _globals['_TABLERELATION']._serialized_end=1310
90
- _globals['_PREDICATE']._serialized_start=1312
91
- _globals['_PREDICATE']._serialized_end=1435
92
- _globals['_PREDICATE_OPERATOR']._serialized_start=1417
93
- _globals['_PREDICATE_OPERATOR']._serialized_end=1435
94
- _globals['_PREDICATESGROUP']._serialized_start=1438
95
- _globals['_PREDICATESGROUP']._serialized_end=1616
96
- _globals['_PREDICATESGROUP_GROUPINGTYPE']._serialized_start=1585
97
- _globals['_PREDICATESGROUP_GROUPINGTYPE']._serialized_end=1616
98
- _globals['_WRITE']._serialized_start=1619
99
- _globals['_WRITE']._serialized_end=2326
100
- _globals['_WRITE_MESSAGEMIGRATETABLE']._serialized_start=1628
101
- _globals['_WRITE_MESSAGEMIGRATETABLE']._serialized_end=1687
102
- _globals['_WRITE_MESSAGEINSERT']._serialized_start=496
103
- _globals['_WRITE_MESSAGEINSERT']._serialized_end=527
104
- _globals['_WRITE_MESSAGEDELETESTALE']._serialized_start=1722
105
- _globals['_WRITE_MESSAGEDELETESTALE']._serialized_end=1849
106
- _globals['_WRITE_MESSAGEDELETERECORD']._serialized_start=568
107
- _globals['_WRITE_MESSAGEDELETERECORD']._serialized_end=732
108
- _globals['_WRITE_REQUEST']._serialized_start=2019
109
- _globals['_WRITE_REQUEST']._serialized_end=2314
110
- _globals['_WRITE_RESPONSE']._serialized_start=114
111
- _globals['_WRITE_RESPONSE']._serialized_end=124
112
- _globals['_TRANSFORM']._serialized_start=2328
113
- _globals['_TRANSFORM']._serialized_end=2394
114
- _globals['_TRANSFORM_REQUEST']._serialized_start=2341
115
- _globals['_TRANSFORM_REQUEST']._serialized_end=2366
116
- _globals['_TRANSFORM_RESPONSE']._serialized_start=1225
117
- _globals['_TRANSFORM_RESPONSE']._serialized_end=1251
118
- _globals['_TRANSFORMSCHEMA']._serialized_start=2396
119
- _globals['_TRANSFORMSCHEMA']._serialized_end=2468
120
- _globals['_TRANSFORMSCHEMA_REQUEST']._serialized_start=2415
121
- _globals['_TRANSFORMSCHEMA_REQUEST']._serialized_end=2440
122
- _globals['_TRANSFORMSCHEMA_RESPONSE']._serialized_start=2442
123
- _globals['_TRANSFORMSCHEMA_RESPONSE']._serialized_end=2468
124
- _globals['_CLOSE']._serialized_start=2470
125
- _globals['_CLOSE']._serialized_end=2500
126
- _globals['_CLOSE_REQUEST']._serialized_start=103
127
- _globals['_CLOSE_REQUEST']._serialized_end=112
128
- _globals['_CLOSE_RESPONSE']._serialized_start=114
129
- _globals['_CLOSE_RESPONSE']._serialized_end=124
130
- _globals['_TESTCONNECTION']._serialized_start=2502
131
- _globals['_TESTCONNECTION']._serialized_end=2623
132
- _globals['_TESTCONNECTION_REQUEST']._serialized_start=284
133
- _globals['_TESTCONNECTION_REQUEST']._serialized_end=307
134
- _globals['_TESTCONNECTION_RESPONSE']._serialized_start=2545
135
- _globals['_TESTCONNECTION_RESPONSE']._serialized_end=2623
136
- _globals['_PLUGIN']._serialized_start=2626
137
- _globals['_PLUGIN']._serialized_end=3769
138
- # @@protoc_insertion_point(module_scope)