fivetran-connector-sdk 0.10.7.1__tar.gz → 0.10.17.1__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.
- {fivetran_connector_sdk-0.10.7.1 → fivetran_connector_sdk-0.10.17.1}/PKG-INFO +3 -1
- {fivetran_connector_sdk-0.10.7.1 → fivetran_connector_sdk-0.10.17.1}/README.md +2 -0
- {fivetran_connector_sdk-0.10.7.1 → fivetran_connector_sdk-0.10.17.1}/src/fivetran_connector_sdk/__init__.py +6 -6
- {fivetran_connector_sdk-0.10.7.1 → fivetran_connector_sdk-0.10.17.1}/src/fivetran_connector_sdk.egg-info/PKG-INFO +3 -1
- {fivetran_connector_sdk-0.10.7.1 → fivetran_connector_sdk-0.10.17.1}/pyproject.toml +0 -0
- {fivetran_connector_sdk-0.10.7.1 → fivetran_connector_sdk-0.10.17.1}/setup.cfg +0 -0
- {fivetran_connector_sdk-0.10.7.1 → fivetran_connector_sdk-0.10.17.1}/src/fivetran_connector_sdk/protos/__init__.py +0 -0
- {fivetran_connector_sdk-0.10.7.1 → fivetran_connector_sdk-0.10.17.1}/src/fivetran_connector_sdk/protos/common_pb2.py +0 -0
- {fivetran_connector_sdk-0.10.7.1 → fivetran_connector_sdk-0.10.17.1}/src/fivetran_connector_sdk/protos/common_pb2.pyi +0 -0
- {fivetran_connector_sdk-0.10.7.1 → fivetran_connector_sdk-0.10.17.1}/src/fivetran_connector_sdk/protos/common_pb2_grpc.py +0 -0
- {fivetran_connector_sdk-0.10.7.1 → fivetran_connector_sdk-0.10.17.1}/src/fivetran_connector_sdk/protos/connector_sdk_pb2.py +0 -0
- {fivetran_connector_sdk-0.10.7.1 → fivetran_connector_sdk-0.10.17.1}/src/fivetran_connector_sdk/protos/connector_sdk_pb2.pyi +0 -0
- {fivetran_connector_sdk-0.10.7.1 → fivetran_connector_sdk-0.10.17.1}/src/fivetran_connector_sdk/protos/connector_sdk_pb2_grpc.py +0 -0
- {fivetran_connector_sdk-0.10.7.1 → fivetran_connector_sdk-0.10.17.1}/src/fivetran_connector_sdk.egg-info/SOURCES.txt +0 -0
- {fivetran_connector_sdk-0.10.7.1 → fivetran_connector_sdk-0.10.17.1}/src/fivetran_connector_sdk.egg-info/dependency_links.txt +0 -0
- {fivetran_connector_sdk-0.10.7.1 → fivetran_connector_sdk-0.10.17.1}/src/fivetran_connector_sdk.egg-info/entry_points.txt +0 -0
- {fivetran_connector_sdk-0.10.7.1 → fivetran_connector_sdk-0.10.17.1}/src/fivetran_connector_sdk.egg-info/requires.txt +0 -0
- {fivetran_connector_sdk-0.10.7.1 → fivetran_connector_sdk-0.10.17.1}/src/fivetran_connector_sdk.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: fivetran_connector_sdk
|
3
|
-
Version: 0.10.
|
3
|
+
Version: 0.10.17.1
|
4
4
|
Summary: Build custom connectors on Fivetran platform
|
5
5
|
Author-email: Fivetran <developers@fivetran.com>
|
6
6
|
Project-URL: Homepage, https://fivetran.com/docs/connectors/connector-sdk
|
@@ -17,6 +17,8 @@ Requires-Dist: get_pypi_latest_version==0.0.12
|
|
17
17
|
Requires-Dist: pipreqs==0.5.0
|
18
18
|
|
19
19
|
# **fivetran-connector-sdk**
|
20
|
+
[](https://pepy.tech/project/fivetran-connector-sdk)
|
21
|
+
|
20
22
|
The *fivetran-connector-sdk* allows users to execute custom, self-written Python code within [Fivetran's](https://www.fivetran.com/) secure cloud environment. Fivetran automatically manages running the connectors on your scheduled frequency and manages the required compute resources.
|
21
23
|
|
22
24
|
The Connector SDK service is the best fit for the following use cases:
|
@@ -1,4 +1,6 @@
|
|
1
1
|
# **fivetran-connector-sdk**
|
2
|
+
[](https://pepy.tech/project/fivetran-connector-sdk)
|
3
|
+
|
2
4
|
The *fivetran-connector-sdk* allows users to execute custom, self-written Python code within [Fivetran's](https://www.fivetran.com/) secure cloud environment. Fivetran automatically manages running the connectors on your scheduled frequency and manages the required compute resources.
|
3
5
|
|
4
6
|
The Connector SDK service is the best fit for the following use cases:
|
@@ -25,7 +25,7 @@ from fivetran_connector_sdk.protos import common_pb2
|
|
25
25
|
from fivetran_connector_sdk.protos import connector_sdk_pb2
|
26
26
|
from fivetran_connector_sdk.protos import connector_sdk_pb2_grpc
|
27
27
|
|
28
|
-
__version__ = "0.10.
|
28
|
+
__version__ = "0.10.17.1"
|
29
29
|
|
30
30
|
MAC_OS = "mac"
|
31
31
|
WIN_OS = "windows"
|
@@ -627,8 +627,7 @@ class Connector(connector_sdk_pb2_grpc.ConnectorServicer):
|
|
627
627
|
self.validate_requirements_file(project_path, True)
|
628
628
|
|
629
629
|
group_id, group_name = self.__get_group_info(group, deploy_key)
|
630
|
-
connection_id, service = self.__get_connection_id(
|
631
|
-
connection, group, group_id, deploy_key)
|
630
|
+
connection_id, service = self.__get_connection_id(connection, group, group_id, deploy_key) or (None, None)
|
632
631
|
|
633
632
|
if connection_id:
|
634
633
|
if service != 'connector_sdk':
|
@@ -725,7 +724,7 @@ class Connector(connector_sdk_pb2_grpc.ConnectorServicer):
|
|
725
724
|
if resp.json()['data']['items']:
|
726
725
|
return resp.json()['data']['items'][0]['id'], resp.json()['data']['items'][0]['service']
|
727
726
|
|
728
|
-
return
|
727
|
+
return None
|
729
728
|
|
730
729
|
@staticmethod
|
731
730
|
def __create_connection(deploy_key: str, group_id: str, config: dict) -> rq.Response:
|
@@ -1274,6 +1273,7 @@ def find_connector_object(project_path) -> Connector:
|
|
1274
1273
|
object: The connector object.
|
1275
1274
|
"""
|
1276
1275
|
|
1276
|
+
sys.path.append(project_path) # Allows python interpreter to search for modules in this path
|
1277
1277
|
module_name = "connector_connector_code"
|
1278
1278
|
connector_py = os.path.join(project_path, "connector.py")
|
1279
1279
|
spec = importlib.util.spec_from_file_location(module_name, connector_py)
|
@@ -1377,8 +1377,8 @@ def main():
|
|
1377
1377
|
connector_object = find_connector_object(args.project_path)
|
1378
1378
|
|
1379
1379
|
# Process optional args
|
1380
|
-
ft_group = args.destination if args.destination else os.getenv('
|
1381
|
-
ft_connection = args.connection if args.connection else os.getenv('
|
1380
|
+
ft_group = args.destination if args.destination else os.getenv('FIVETRAN_DESTINATION_NAME', None)
|
1381
|
+
ft_connection = args.connection if args.connection else os.getenv('FIVETRAN_CONNECTION_NAME', None)
|
1382
1382
|
ft_deploy_key = args.api_key if args.api_key else os.getenv('FIVETRAN_API_KEY', None)
|
1383
1383
|
configuration = args.configuration if args.configuration else None
|
1384
1384
|
state = args.state if args.state else os.getenv('FIVETRAN_STATE', None)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: fivetran_connector_sdk
|
3
|
-
Version: 0.10.
|
3
|
+
Version: 0.10.17.1
|
4
4
|
Summary: Build custom connectors on Fivetran platform
|
5
5
|
Author-email: Fivetran <developers@fivetran.com>
|
6
6
|
Project-URL: Homepage, https://fivetran.com/docs/connectors/connector-sdk
|
@@ -17,6 +17,8 @@ Requires-Dist: get_pypi_latest_version==0.0.12
|
|
17
17
|
Requires-Dist: pipreqs==0.5.0
|
18
18
|
|
19
19
|
# **fivetran-connector-sdk**
|
20
|
+
[](https://pepy.tech/project/fivetran-connector-sdk)
|
21
|
+
|
20
22
|
The *fivetran-connector-sdk* allows users to execute custom, self-written Python code within [Fivetran's](https://www.fivetran.com/) secure cloud environment. Fivetran automatically manages running the connectors on your scheduled frequency and manages the required compute resources.
|
21
23
|
|
22
24
|
The Connector SDK service is the best fit for the following use cases:
|
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
|
File without changes
|
File without changes
|
File without changes
|