cloudquery-plugin-pb 0.0.26__tar.gz → 0.0.28__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_pb-0.0.26 → cloudquery_plugin_pb-0.0.28}/PKG-INFO +1 -1
- {cloudquery_plugin_pb-0.0.26 → cloudquery_plugin_pb-0.0.28}/cloudquery/discovery_v1/discovery_pb2.py +3 -3
- {cloudquery_plugin_pb-0.0.26 → cloudquery_plugin_pb-0.0.28}/cloudquery/discovery_v1/discovery_pb2_grpc.py +40 -4
- {cloudquery_plugin_pb-0.0.26 → cloudquery_plugin_pb-0.0.28}/cloudquery/plugin_v3/plugin_pb2.py +13 -7
- {cloudquery_plugin_pb-0.0.26 → cloudquery_plugin_pb-0.0.28}/cloudquery/plugin_v3/plugin_pb2.pyi +18 -0
- {cloudquery_plugin_pb-0.0.26 → cloudquery_plugin_pb-0.0.28}/cloudquery/plugin_v3/plugin_pb2_grpc.py +196 -36
- {cloudquery_plugin_pb-0.0.26 → cloudquery_plugin_pb-0.0.28}/cloudquery_plugin_pb.egg-info/PKG-INFO +1 -1
- {cloudquery_plugin_pb-0.0.26 → cloudquery_plugin_pb-0.0.28}/setup.py +1 -1
- {cloudquery_plugin_pb-0.0.26 → cloudquery_plugin_pb-0.0.28}/LICENSE +0 -0
- {cloudquery_plugin_pb-0.0.26 → cloudquery_plugin_pb-0.0.28}/README.md +0 -0
- {cloudquery_plugin_pb-0.0.26 → cloudquery_plugin_pb-0.0.28}/cloudquery/discovery_v1/__init__.py +0 -0
- {cloudquery_plugin_pb-0.0.26 → cloudquery_plugin_pb-0.0.28}/cloudquery/discovery_v1/discovery_pb2.pyi +0 -0
- {cloudquery_plugin_pb-0.0.26 → cloudquery_plugin_pb-0.0.28}/cloudquery/discovery_v1/py.typed +0 -0
- {cloudquery_plugin_pb-0.0.26 → cloudquery_plugin_pb-0.0.28}/cloudquery/plugin_v3/__init__.py +0 -0
- {cloudquery_plugin_pb-0.0.26 → cloudquery_plugin_pb-0.0.28}/cloudquery/plugin_v3/arrow.py +0 -0
- {cloudquery_plugin_pb-0.0.26 → cloudquery_plugin_pb-0.0.28}/cloudquery/plugin_v3/py.typed +0 -0
- {cloudquery_plugin_pb-0.0.26 → cloudquery_plugin_pb-0.0.28}/cloudquery_plugin_pb.egg-info/SOURCES.txt +0 -0
- {cloudquery_plugin_pb-0.0.26 → cloudquery_plugin_pb-0.0.28}/cloudquery_plugin_pb.egg-info/dependency_links.txt +0 -0
- {cloudquery_plugin_pb-0.0.26 → cloudquery_plugin_pb-0.0.28}/cloudquery_plugin_pb.egg-info/namespace_packages.txt +0 -0
- {cloudquery_plugin_pb-0.0.26 → cloudquery_plugin_pb-0.0.28}/cloudquery_plugin_pb.egg-info/not-zip-safe +0 -0
- {cloudquery_plugin_pb-0.0.26 → cloudquery_plugin_pb-0.0.28}/cloudquery_plugin_pb.egg-info/requires.txt +0 -0
- {cloudquery_plugin_pb-0.0.26 → cloudquery_plugin_pb-0.0.28}/cloudquery_plugin_pb.egg-info/top_level.txt +0 -0
- {cloudquery_plugin_pb-0.0.26 → cloudquery_plugin_pb-0.0.28}/setup.cfg +0 -0
{cloudquery_plugin_pb-0.0.26 → cloudquery_plugin_pb-0.0.28}/cloudquery/discovery_v1/discovery_pb2.py
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# source: cloudquery/discovery_v1/discovery.proto
|
|
4
|
-
# Protobuf Python Version:
|
|
4
|
+
# Protobuf Python Version: 5.26.1
|
|
5
5
|
"""Generated protocol buffer code."""
|
|
6
6
|
from google.protobuf import descriptor as _descriptor
|
|
7
7
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
@@ -19,8 +19,8 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'cloudquery/disco
|
|
|
19
19
|
_globals = globals()
|
|
20
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
21
21
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cloudquery.discovery_v1.discovery_pb2', _globals)
|
|
22
|
-
if _descriptor._USE_C_DESCRIPTORS
|
|
23
|
-
_globals['DESCRIPTOR'].
|
|
22
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
23
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
24
24
|
_globals['DESCRIPTOR']._serialized_options = b'\n\032io.cloudquery.discovery.v1P\001Z<github.com/cloudquery/plugin-pb-go/pb/discovery/v1;discovery'
|
|
25
25
|
_globals['_GETVERSIONS']._serialized_start=68
|
|
26
26
|
_globals['_GETVERSIONS']._serialized_end=122
|
|
@@ -1,9 +1,34 @@
|
|
|
1
1
|
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
2
|
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
3
|
import grpc
|
|
4
|
+
import warnings
|
|
4
5
|
|
|
5
6
|
from cloudquery.discovery_v1 import discovery_pb2 as cloudquery_dot_discovery__v1_dot_discovery__pb2
|
|
6
7
|
|
|
8
|
+
GRPC_GENERATED_VERSION = '1.64.0'
|
|
9
|
+
GRPC_VERSION = grpc.__version__
|
|
10
|
+
EXPECTED_ERROR_RELEASE = '1.65.0'
|
|
11
|
+
SCHEDULED_RELEASE_DATE = 'June 25, 2024'
|
|
12
|
+
_version_not_supported = False
|
|
13
|
+
|
|
14
|
+
try:
|
|
15
|
+
from grpc._utilities import first_version_is_lower
|
|
16
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
17
|
+
except ImportError:
|
|
18
|
+
_version_not_supported = True
|
|
19
|
+
|
|
20
|
+
if _version_not_supported:
|
|
21
|
+
warnings.warn(
|
|
22
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
23
|
+
+ f' but the generated code in cloudquery/discovery_v1/discovery_pb2_grpc.py depends on'
|
|
24
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
25
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
26
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
27
|
+
+ f' This warning will become an error in {EXPECTED_ERROR_RELEASE},'
|
|
28
|
+
+ f' scheduled for release on {SCHEDULED_RELEASE_DATE}.',
|
|
29
|
+
RuntimeWarning
|
|
30
|
+
)
|
|
31
|
+
|
|
7
32
|
|
|
8
33
|
class DiscoveryStub(object):
|
|
9
34
|
"""Missing associated documentation comment in .proto file."""
|
|
@@ -18,7 +43,7 @@ class DiscoveryStub(object):
|
|
|
18
43
|
'/cloudquery.discovery.v1.Discovery/GetVersions',
|
|
19
44
|
request_serializer=cloudquery_dot_discovery__v1_dot_discovery__pb2.GetVersions.Request.SerializeToString,
|
|
20
45
|
response_deserializer=cloudquery_dot_discovery__v1_dot_discovery__pb2.GetVersions.Response.FromString,
|
|
21
|
-
)
|
|
46
|
+
_registered_method=True)
|
|
22
47
|
|
|
23
48
|
|
|
24
49
|
class DiscoveryServicer(object):
|
|
@@ -43,6 +68,7 @@ def add_DiscoveryServicer_to_server(servicer, server):
|
|
|
43
68
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
44
69
|
'cloudquery.discovery.v1.Discovery', rpc_method_handlers)
|
|
45
70
|
server.add_generic_rpc_handlers((generic_handler,))
|
|
71
|
+
server.add_registered_method_handlers('cloudquery.discovery.v1.Discovery', rpc_method_handlers)
|
|
46
72
|
|
|
47
73
|
|
|
48
74
|
# This class is part of an EXPERIMENTAL API.
|
|
@@ -60,8 +86,18 @@ class Discovery(object):
|
|
|
60
86
|
wait_for_ready=None,
|
|
61
87
|
timeout=None,
|
|
62
88
|
metadata=None):
|
|
63
|
-
return grpc.experimental.unary_unary(
|
|
89
|
+
return grpc.experimental.unary_unary(
|
|
90
|
+
request,
|
|
91
|
+
target,
|
|
92
|
+
'/cloudquery.discovery.v1.Discovery/GetVersions',
|
|
64
93
|
cloudquery_dot_discovery__v1_dot_discovery__pb2.GetVersions.Request.SerializeToString,
|
|
65
94
|
cloudquery_dot_discovery__v1_dot_discovery__pb2.GetVersions.Response.FromString,
|
|
66
|
-
options,
|
|
67
|
-
|
|
95
|
+
options,
|
|
96
|
+
channel_credentials,
|
|
97
|
+
insecure,
|
|
98
|
+
call_credentials,
|
|
99
|
+
compression,
|
|
100
|
+
wait_for_ready,
|
|
101
|
+
timeout,
|
|
102
|
+
metadata,
|
|
103
|
+
_registered_method=True)
|
{cloudquery_plugin_pb-0.0.26 → cloudquery_plugin_pb-0.0.28}/cloudquery/plugin_v3/plugin_pb2.py
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# source: cloudquery/plugin_v3/plugin.proto
|
|
4
|
-
# Protobuf Python Version:
|
|
4
|
+
# Protobuf Python Version: 5.26.1
|
|
5
5
|
"""Generated protocol buffer code."""
|
|
6
6
|
from google.protobuf import descriptor as _descriptor
|
|
7
7
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
@@ -15,15 +15,15 @@ _sym_db = _symbol_database.Default()
|
|
|
15
15
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
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\"\x1e\n\x05\x43lose\x1a\t\n\x07Request\x1a\n\n\
|
|
18
|
+
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\"\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\xa1\x07\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\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')
|
|
19
19
|
|
|
20
20
|
_globals = globals()
|
|
21
21
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
22
22
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cloudquery.plugin_v3.plugin_pb2', _globals)
|
|
23
|
-
if _descriptor._USE_C_DESCRIPTORS
|
|
24
|
-
_globals['DESCRIPTOR'].
|
|
23
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
24
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
25
25
|
_globals['DESCRIPTOR']._serialized_options = b'\n\027io.cloudquery.plugin.v3P\001Z6github.com/cloudquery/plugin-pb-go/pb/plugin/v3;plugin'
|
|
26
|
-
_globals['_WRITE_MESSAGEDELETESTALE'].fields_by_name['table'].
|
|
26
|
+
_globals['_WRITE_MESSAGEDELETESTALE'].fields_by_name['table']._loaded_options = None
|
|
27
27
|
_globals['_WRITE_MESSAGEDELETESTALE'].fields_by_name['table']._serialized_options = b'\030\001'
|
|
28
28
|
_globals['_GETNAME']._serialized_start=92
|
|
29
29
|
_globals['_GETNAME']._serialized_end=138
|
|
@@ -105,6 +105,12 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
105
105
|
_globals['_CLOSE_REQUEST']._serialized_end=112
|
|
106
106
|
_globals['_CLOSE_RESPONSE']._serialized_start=114
|
|
107
107
|
_globals['_CLOSE_RESPONSE']._serialized_end=124
|
|
108
|
-
_globals['
|
|
109
|
-
_globals['
|
|
108
|
+
_globals['_TESTCONNECTION']._serialized_start=2360
|
|
109
|
+
_globals['_TESTCONNECTION']._serialized_end=2481
|
|
110
|
+
_globals['_TESTCONNECTION_REQUEST']._serialized_start=284
|
|
111
|
+
_globals['_TESTCONNECTION_REQUEST']._serialized_end=307
|
|
112
|
+
_globals['_TESTCONNECTION_RESPONSE']._serialized_start=2403
|
|
113
|
+
_globals['_TESTCONNECTION_RESPONSE']._serialized_end=2481
|
|
114
|
+
_globals['_PLUGIN']._serialized_start=2484
|
|
115
|
+
_globals['_PLUGIN']._serialized_end=3413
|
|
110
116
|
# @@protoc_insertion_point(module_scope)
|
{cloudquery_plugin_pb-0.0.26 → cloudquery_plugin_pb-0.0.28}/cloudquery/plugin_v3/plugin_pb2.pyi
RENAMED
|
@@ -238,3 +238,21 @@ class Close(_message.Message):
|
|
|
238
238
|
__slots__ = ()
|
|
239
239
|
def __init__(self) -> None: ...
|
|
240
240
|
def __init__(self) -> None: ...
|
|
241
|
+
|
|
242
|
+
class TestConnection(_message.Message):
|
|
243
|
+
__slots__ = ()
|
|
244
|
+
class Request(_message.Message):
|
|
245
|
+
__slots__ = ("spec",)
|
|
246
|
+
SPEC_FIELD_NUMBER: _ClassVar[int]
|
|
247
|
+
spec: bytes
|
|
248
|
+
def __init__(self, spec: _Optional[bytes] = ...) -> None: ...
|
|
249
|
+
class Response(_message.Message):
|
|
250
|
+
__slots__ = ("success", "failure_code", "failure_description")
|
|
251
|
+
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
252
|
+
FAILURE_CODE_FIELD_NUMBER: _ClassVar[int]
|
|
253
|
+
FAILURE_DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
254
|
+
success: bool
|
|
255
|
+
failure_code: str
|
|
256
|
+
failure_description: str
|
|
257
|
+
def __init__(self, success: bool = ..., failure_code: _Optional[str] = ..., failure_description: _Optional[str] = ...) -> None: ...
|
|
258
|
+
def __init__(self) -> None: ...
|
{cloudquery_plugin_pb-0.0.26 → cloudquery_plugin_pb-0.0.28}/cloudquery/plugin_v3/plugin_pb2_grpc.py
RENAMED
|
@@ -1,9 +1,34 @@
|
|
|
1
1
|
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
2
|
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
3
|
import grpc
|
|
4
|
+
import warnings
|
|
4
5
|
|
|
5
6
|
from cloudquery.plugin_v3 import plugin_pb2 as cloudquery_dot_plugin__v3_dot_plugin__pb2
|
|
6
7
|
|
|
8
|
+
GRPC_GENERATED_VERSION = '1.64.0'
|
|
9
|
+
GRPC_VERSION = grpc.__version__
|
|
10
|
+
EXPECTED_ERROR_RELEASE = '1.65.0'
|
|
11
|
+
SCHEDULED_RELEASE_DATE = 'June 25, 2024'
|
|
12
|
+
_version_not_supported = False
|
|
13
|
+
|
|
14
|
+
try:
|
|
15
|
+
from grpc._utilities import first_version_is_lower
|
|
16
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
17
|
+
except ImportError:
|
|
18
|
+
_version_not_supported = True
|
|
19
|
+
|
|
20
|
+
if _version_not_supported:
|
|
21
|
+
warnings.warn(
|
|
22
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
23
|
+
+ f' but the generated code in cloudquery/plugin_v3/plugin_pb2_grpc.py depends on'
|
|
24
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
25
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
26
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
27
|
+
+ f' This warning will become an error in {EXPECTED_ERROR_RELEASE},'
|
|
28
|
+
+ f' scheduled for release on {SCHEDULED_RELEASE_DATE}.',
|
|
29
|
+
RuntimeWarning
|
|
30
|
+
)
|
|
31
|
+
|
|
7
32
|
|
|
8
33
|
class PluginStub(object):
|
|
9
34
|
"""Missing associated documentation comment in .proto file."""
|
|
@@ -18,47 +43,52 @@ class PluginStub(object):
|
|
|
18
43
|
'/cloudquery.plugin.v3.Plugin/GetName',
|
|
19
44
|
request_serializer=cloudquery_dot_plugin__v3_dot_plugin__pb2.GetName.Request.SerializeToString,
|
|
20
45
|
response_deserializer=cloudquery_dot_plugin__v3_dot_plugin__pb2.GetName.Response.FromString,
|
|
21
|
-
)
|
|
46
|
+
_registered_method=True)
|
|
22
47
|
self.GetVersion = channel.unary_unary(
|
|
23
48
|
'/cloudquery.plugin.v3.Plugin/GetVersion',
|
|
24
49
|
request_serializer=cloudquery_dot_plugin__v3_dot_plugin__pb2.GetVersion.Request.SerializeToString,
|
|
25
50
|
response_deserializer=cloudquery_dot_plugin__v3_dot_plugin__pb2.GetVersion.Response.FromString,
|
|
26
|
-
)
|
|
51
|
+
_registered_method=True)
|
|
27
52
|
self.GetSpecSchema = channel.unary_unary(
|
|
28
53
|
'/cloudquery.plugin.v3.Plugin/GetSpecSchema',
|
|
29
54
|
request_serializer=cloudquery_dot_plugin__v3_dot_plugin__pb2.GetSpecSchema.Request.SerializeToString,
|
|
30
55
|
response_deserializer=cloudquery_dot_plugin__v3_dot_plugin__pb2.GetSpecSchema.Response.FromString,
|
|
31
|
-
)
|
|
56
|
+
_registered_method=True)
|
|
32
57
|
self.Init = channel.unary_unary(
|
|
33
58
|
'/cloudquery.plugin.v3.Plugin/Init',
|
|
34
59
|
request_serializer=cloudquery_dot_plugin__v3_dot_plugin__pb2.Init.Request.SerializeToString,
|
|
35
60
|
response_deserializer=cloudquery_dot_plugin__v3_dot_plugin__pb2.Init.Response.FromString,
|
|
36
|
-
)
|
|
61
|
+
_registered_method=True)
|
|
37
62
|
self.GetTables = channel.unary_unary(
|
|
38
63
|
'/cloudquery.plugin.v3.Plugin/GetTables',
|
|
39
64
|
request_serializer=cloudquery_dot_plugin__v3_dot_plugin__pb2.GetTables.Request.SerializeToString,
|
|
40
65
|
response_deserializer=cloudquery_dot_plugin__v3_dot_plugin__pb2.GetTables.Response.FromString,
|
|
41
|
-
)
|
|
66
|
+
_registered_method=True)
|
|
42
67
|
self.Sync = channel.unary_stream(
|
|
43
68
|
'/cloudquery.plugin.v3.Plugin/Sync',
|
|
44
69
|
request_serializer=cloudquery_dot_plugin__v3_dot_plugin__pb2.Sync.Request.SerializeToString,
|
|
45
70
|
response_deserializer=cloudquery_dot_plugin__v3_dot_plugin__pb2.Sync.Response.FromString,
|
|
46
|
-
)
|
|
71
|
+
_registered_method=True)
|
|
47
72
|
self.Read = channel.unary_stream(
|
|
48
73
|
'/cloudquery.plugin.v3.Plugin/Read',
|
|
49
74
|
request_serializer=cloudquery_dot_plugin__v3_dot_plugin__pb2.Read.Request.SerializeToString,
|
|
50
75
|
response_deserializer=cloudquery_dot_plugin__v3_dot_plugin__pb2.Read.Response.FromString,
|
|
51
|
-
)
|
|
76
|
+
_registered_method=True)
|
|
52
77
|
self.Write = channel.stream_unary(
|
|
53
78
|
'/cloudquery.plugin.v3.Plugin/Write',
|
|
54
79
|
request_serializer=cloudquery_dot_plugin__v3_dot_plugin__pb2.Write.Request.SerializeToString,
|
|
55
80
|
response_deserializer=cloudquery_dot_plugin__v3_dot_plugin__pb2.Write.Response.FromString,
|
|
56
|
-
)
|
|
81
|
+
_registered_method=True)
|
|
57
82
|
self.Close = channel.unary_unary(
|
|
58
83
|
'/cloudquery.plugin.v3.Plugin/Close',
|
|
59
84
|
request_serializer=cloudquery_dot_plugin__v3_dot_plugin__pb2.Close.Request.SerializeToString,
|
|
60
85
|
response_deserializer=cloudquery_dot_plugin__v3_dot_plugin__pb2.Close.Response.FromString,
|
|
61
|
-
)
|
|
86
|
+
_registered_method=True)
|
|
87
|
+
self.TestConnection = channel.unary_unary(
|
|
88
|
+
'/cloudquery.plugin.v3.Plugin/TestConnection',
|
|
89
|
+
request_serializer=cloudquery_dot_plugin__v3_dot_plugin__pb2.TestConnection.Request.SerializeToString,
|
|
90
|
+
response_deserializer=cloudquery_dot_plugin__v3_dot_plugin__pb2.TestConnection.Response.FromString,
|
|
91
|
+
_registered_method=True)
|
|
62
92
|
|
|
63
93
|
|
|
64
94
|
class PluginServicer(object):
|
|
@@ -130,6 +160,13 @@ class PluginServicer(object):
|
|
|
130
160
|
context.set_details('Method not implemented!')
|
|
131
161
|
raise NotImplementedError('Method not implemented!')
|
|
132
162
|
|
|
163
|
+
def TestConnection(self, request, context):
|
|
164
|
+
"""Validate and test the connections used by the plugin
|
|
165
|
+
"""
|
|
166
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
167
|
+
context.set_details('Method not implemented!')
|
|
168
|
+
raise NotImplementedError('Method not implemented!')
|
|
169
|
+
|
|
133
170
|
|
|
134
171
|
def add_PluginServicer_to_server(servicer, server):
|
|
135
172
|
rpc_method_handlers = {
|
|
@@ -178,10 +215,16 @@ def add_PluginServicer_to_server(servicer, server):
|
|
|
178
215
|
request_deserializer=cloudquery_dot_plugin__v3_dot_plugin__pb2.Close.Request.FromString,
|
|
179
216
|
response_serializer=cloudquery_dot_plugin__v3_dot_plugin__pb2.Close.Response.SerializeToString,
|
|
180
217
|
),
|
|
218
|
+
'TestConnection': grpc.unary_unary_rpc_method_handler(
|
|
219
|
+
servicer.TestConnection,
|
|
220
|
+
request_deserializer=cloudquery_dot_plugin__v3_dot_plugin__pb2.TestConnection.Request.FromString,
|
|
221
|
+
response_serializer=cloudquery_dot_plugin__v3_dot_plugin__pb2.TestConnection.Response.SerializeToString,
|
|
222
|
+
),
|
|
181
223
|
}
|
|
182
224
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
183
225
|
'cloudquery.plugin.v3.Plugin', rpc_method_handlers)
|
|
184
226
|
server.add_generic_rpc_handlers((generic_handler,))
|
|
227
|
+
server.add_registered_method_handlers('cloudquery.plugin.v3.Plugin', rpc_method_handlers)
|
|
185
228
|
|
|
186
229
|
|
|
187
230
|
# This class is part of an EXPERIMENTAL API.
|
|
@@ -199,11 +242,21 @@ class Plugin(object):
|
|
|
199
242
|
wait_for_ready=None,
|
|
200
243
|
timeout=None,
|
|
201
244
|
metadata=None):
|
|
202
|
-
return grpc.experimental.unary_unary(
|
|
245
|
+
return grpc.experimental.unary_unary(
|
|
246
|
+
request,
|
|
247
|
+
target,
|
|
248
|
+
'/cloudquery.plugin.v3.Plugin/GetName',
|
|
203
249
|
cloudquery_dot_plugin__v3_dot_plugin__pb2.GetName.Request.SerializeToString,
|
|
204
250
|
cloudquery_dot_plugin__v3_dot_plugin__pb2.GetName.Response.FromString,
|
|
205
|
-
options,
|
|
206
|
-
|
|
251
|
+
options,
|
|
252
|
+
channel_credentials,
|
|
253
|
+
insecure,
|
|
254
|
+
call_credentials,
|
|
255
|
+
compression,
|
|
256
|
+
wait_for_ready,
|
|
257
|
+
timeout,
|
|
258
|
+
metadata,
|
|
259
|
+
_registered_method=True)
|
|
207
260
|
|
|
208
261
|
@staticmethod
|
|
209
262
|
def GetVersion(request,
|
|
@@ -216,11 +269,21 @@ class Plugin(object):
|
|
|
216
269
|
wait_for_ready=None,
|
|
217
270
|
timeout=None,
|
|
218
271
|
metadata=None):
|
|
219
|
-
return grpc.experimental.unary_unary(
|
|
272
|
+
return grpc.experimental.unary_unary(
|
|
273
|
+
request,
|
|
274
|
+
target,
|
|
275
|
+
'/cloudquery.plugin.v3.Plugin/GetVersion',
|
|
220
276
|
cloudquery_dot_plugin__v3_dot_plugin__pb2.GetVersion.Request.SerializeToString,
|
|
221
277
|
cloudquery_dot_plugin__v3_dot_plugin__pb2.GetVersion.Response.FromString,
|
|
222
|
-
options,
|
|
223
|
-
|
|
278
|
+
options,
|
|
279
|
+
channel_credentials,
|
|
280
|
+
insecure,
|
|
281
|
+
call_credentials,
|
|
282
|
+
compression,
|
|
283
|
+
wait_for_ready,
|
|
284
|
+
timeout,
|
|
285
|
+
metadata,
|
|
286
|
+
_registered_method=True)
|
|
224
287
|
|
|
225
288
|
@staticmethod
|
|
226
289
|
def GetSpecSchema(request,
|
|
@@ -233,11 +296,21 @@ class Plugin(object):
|
|
|
233
296
|
wait_for_ready=None,
|
|
234
297
|
timeout=None,
|
|
235
298
|
metadata=None):
|
|
236
|
-
return grpc.experimental.unary_unary(
|
|
299
|
+
return grpc.experimental.unary_unary(
|
|
300
|
+
request,
|
|
301
|
+
target,
|
|
302
|
+
'/cloudquery.plugin.v3.Plugin/GetSpecSchema',
|
|
237
303
|
cloudquery_dot_plugin__v3_dot_plugin__pb2.GetSpecSchema.Request.SerializeToString,
|
|
238
304
|
cloudquery_dot_plugin__v3_dot_plugin__pb2.GetSpecSchema.Response.FromString,
|
|
239
|
-
options,
|
|
240
|
-
|
|
305
|
+
options,
|
|
306
|
+
channel_credentials,
|
|
307
|
+
insecure,
|
|
308
|
+
call_credentials,
|
|
309
|
+
compression,
|
|
310
|
+
wait_for_ready,
|
|
311
|
+
timeout,
|
|
312
|
+
metadata,
|
|
313
|
+
_registered_method=True)
|
|
241
314
|
|
|
242
315
|
@staticmethod
|
|
243
316
|
def Init(request,
|
|
@@ -250,11 +323,21 @@ class Plugin(object):
|
|
|
250
323
|
wait_for_ready=None,
|
|
251
324
|
timeout=None,
|
|
252
325
|
metadata=None):
|
|
253
|
-
return grpc.experimental.unary_unary(
|
|
326
|
+
return grpc.experimental.unary_unary(
|
|
327
|
+
request,
|
|
328
|
+
target,
|
|
329
|
+
'/cloudquery.plugin.v3.Plugin/Init',
|
|
254
330
|
cloudquery_dot_plugin__v3_dot_plugin__pb2.Init.Request.SerializeToString,
|
|
255
331
|
cloudquery_dot_plugin__v3_dot_plugin__pb2.Init.Response.FromString,
|
|
256
|
-
options,
|
|
257
|
-
|
|
332
|
+
options,
|
|
333
|
+
channel_credentials,
|
|
334
|
+
insecure,
|
|
335
|
+
call_credentials,
|
|
336
|
+
compression,
|
|
337
|
+
wait_for_ready,
|
|
338
|
+
timeout,
|
|
339
|
+
metadata,
|
|
340
|
+
_registered_method=True)
|
|
258
341
|
|
|
259
342
|
@staticmethod
|
|
260
343
|
def GetTables(request,
|
|
@@ -267,11 +350,21 @@ class Plugin(object):
|
|
|
267
350
|
wait_for_ready=None,
|
|
268
351
|
timeout=None,
|
|
269
352
|
metadata=None):
|
|
270
|
-
return grpc.experimental.unary_unary(
|
|
353
|
+
return grpc.experimental.unary_unary(
|
|
354
|
+
request,
|
|
355
|
+
target,
|
|
356
|
+
'/cloudquery.plugin.v3.Plugin/GetTables',
|
|
271
357
|
cloudquery_dot_plugin__v3_dot_plugin__pb2.GetTables.Request.SerializeToString,
|
|
272
358
|
cloudquery_dot_plugin__v3_dot_plugin__pb2.GetTables.Response.FromString,
|
|
273
|
-
options,
|
|
274
|
-
|
|
359
|
+
options,
|
|
360
|
+
channel_credentials,
|
|
361
|
+
insecure,
|
|
362
|
+
call_credentials,
|
|
363
|
+
compression,
|
|
364
|
+
wait_for_ready,
|
|
365
|
+
timeout,
|
|
366
|
+
metadata,
|
|
367
|
+
_registered_method=True)
|
|
275
368
|
|
|
276
369
|
@staticmethod
|
|
277
370
|
def Sync(request,
|
|
@@ -284,11 +377,21 @@ class Plugin(object):
|
|
|
284
377
|
wait_for_ready=None,
|
|
285
378
|
timeout=None,
|
|
286
379
|
metadata=None):
|
|
287
|
-
return grpc.experimental.unary_stream(
|
|
380
|
+
return grpc.experimental.unary_stream(
|
|
381
|
+
request,
|
|
382
|
+
target,
|
|
383
|
+
'/cloudquery.plugin.v3.Plugin/Sync',
|
|
288
384
|
cloudquery_dot_plugin__v3_dot_plugin__pb2.Sync.Request.SerializeToString,
|
|
289
385
|
cloudquery_dot_plugin__v3_dot_plugin__pb2.Sync.Response.FromString,
|
|
290
|
-
options,
|
|
291
|
-
|
|
386
|
+
options,
|
|
387
|
+
channel_credentials,
|
|
388
|
+
insecure,
|
|
389
|
+
call_credentials,
|
|
390
|
+
compression,
|
|
391
|
+
wait_for_ready,
|
|
392
|
+
timeout,
|
|
393
|
+
metadata,
|
|
394
|
+
_registered_method=True)
|
|
292
395
|
|
|
293
396
|
@staticmethod
|
|
294
397
|
def Read(request,
|
|
@@ -301,11 +404,21 @@ class Plugin(object):
|
|
|
301
404
|
wait_for_ready=None,
|
|
302
405
|
timeout=None,
|
|
303
406
|
metadata=None):
|
|
304
|
-
return grpc.experimental.unary_stream(
|
|
407
|
+
return grpc.experimental.unary_stream(
|
|
408
|
+
request,
|
|
409
|
+
target,
|
|
410
|
+
'/cloudquery.plugin.v3.Plugin/Read',
|
|
305
411
|
cloudquery_dot_plugin__v3_dot_plugin__pb2.Read.Request.SerializeToString,
|
|
306
412
|
cloudquery_dot_plugin__v3_dot_plugin__pb2.Read.Response.FromString,
|
|
307
|
-
options,
|
|
308
|
-
|
|
413
|
+
options,
|
|
414
|
+
channel_credentials,
|
|
415
|
+
insecure,
|
|
416
|
+
call_credentials,
|
|
417
|
+
compression,
|
|
418
|
+
wait_for_ready,
|
|
419
|
+
timeout,
|
|
420
|
+
metadata,
|
|
421
|
+
_registered_method=True)
|
|
309
422
|
|
|
310
423
|
@staticmethod
|
|
311
424
|
def Write(request_iterator,
|
|
@@ -318,11 +431,21 @@ class Plugin(object):
|
|
|
318
431
|
wait_for_ready=None,
|
|
319
432
|
timeout=None,
|
|
320
433
|
metadata=None):
|
|
321
|
-
return grpc.experimental.stream_unary(
|
|
434
|
+
return grpc.experimental.stream_unary(
|
|
435
|
+
request_iterator,
|
|
436
|
+
target,
|
|
437
|
+
'/cloudquery.plugin.v3.Plugin/Write',
|
|
322
438
|
cloudquery_dot_plugin__v3_dot_plugin__pb2.Write.Request.SerializeToString,
|
|
323
439
|
cloudquery_dot_plugin__v3_dot_plugin__pb2.Write.Response.FromString,
|
|
324
|
-
options,
|
|
325
|
-
|
|
440
|
+
options,
|
|
441
|
+
channel_credentials,
|
|
442
|
+
insecure,
|
|
443
|
+
call_credentials,
|
|
444
|
+
compression,
|
|
445
|
+
wait_for_ready,
|
|
446
|
+
timeout,
|
|
447
|
+
metadata,
|
|
448
|
+
_registered_method=True)
|
|
326
449
|
|
|
327
450
|
@staticmethod
|
|
328
451
|
def Close(request,
|
|
@@ -335,8 +458,45 @@ class Plugin(object):
|
|
|
335
458
|
wait_for_ready=None,
|
|
336
459
|
timeout=None,
|
|
337
460
|
metadata=None):
|
|
338
|
-
return grpc.experimental.unary_unary(
|
|
461
|
+
return grpc.experimental.unary_unary(
|
|
462
|
+
request,
|
|
463
|
+
target,
|
|
464
|
+
'/cloudquery.plugin.v3.Plugin/Close',
|
|
339
465
|
cloudquery_dot_plugin__v3_dot_plugin__pb2.Close.Request.SerializeToString,
|
|
340
466
|
cloudquery_dot_plugin__v3_dot_plugin__pb2.Close.Response.FromString,
|
|
341
|
-
options,
|
|
342
|
-
|
|
467
|
+
options,
|
|
468
|
+
channel_credentials,
|
|
469
|
+
insecure,
|
|
470
|
+
call_credentials,
|
|
471
|
+
compression,
|
|
472
|
+
wait_for_ready,
|
|
473
|
+
timeout,
|
|
474
|
+
metadata,
|
|
475
|
+
_registered_method=True)
|
|
476
|
+
|
|
477
|
+
@staticmethod
|
|
478
|
+
def TestConnection(request,
|
|
479
|
+
target,
|
|
480
|
+
options=(),
|
|
481
|
+
channel_credentials=None,
|
|
482
|
+
call_credentials=None,
|
|
483
|
+
insecure=False,
|
|
484
|
+
compression=None,
|
|
485
|
+
wait_for_ready=None,
|
|
486
|
+
timeout=None,
|
|
487
|
+
metadata=None):
|
|
488
|
+
return grpc.experimental.unary_unary(
|
|
489
|
+
request,
|
|
490
|
+
target,
|
|
491
|
+
'/cloudquery.plugin.v3.Plugin/TestConnection',
|
|
492
|
+
cloudquery_dot_plugin__v3_dot_plugin__pb2.TestConnection.Request.SerializeToString,
|
|
493
|
+
cloudquery_dot_plugin__v3_dot_plugin__pb2.TestConnection.Response.FromString,
|
|
494
|
+
options,
|
|
495
|
+
channel_credentials,
|
|
496
|
+
insecure,
|
|
497
|
+
call_credentials,
|
|
498
|
+
compression,
|
|
499
|
+
wait_for_ready,
|
|
500
|
+
timeout,
|
|
501
|
+
metadata,
|
|
502
|
+
_registered_method=True)
|
|
File without changes
|
|
File without changes
|
{cloudquery_plugin_pb-0.0.26 → cloudquery_plugin_pb-0.0.28}/cloudquery/discovery_v1/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{cloudquery_plugin_pb-0.0.26 → cloudquery_plugin_pb-0.0.28}/cloudquery/discovery_v1/py.typed
RENAMED
|
File without changes
|
{cloudquery_plugin_pb-0.0.26 → cloudquery_plugin_pb-0.0.28}/cloudquery/plugin_v3/__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
|
|
File without changes
|
|
File without changes
|