fivetran-connector-sdk 2.0.2__py3-none-any.whl → 2.1.0__py3-none-any.whl

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.
@@ -42,7 +42,7 @@ from fivetran_connector_sdk.connector_helper import (
42
42
 
43
43
  # Version format: <major_version>.<minor_version>.<patch_version>
44
44
  # (where Major Version = 2, Minor Version is incremental MM from Aug 25 onwards, Patch Version is incremental within a month)
45
- __version__ = "2.0.2"
45
+ __version__ = "2.1.0"
46
46
  TESTER_VERSION = TESTER_VER
47
47
  MAX_MESSAGE_LENGTH = 32 * 1024 * 1024 # 32MB
48
48
 
@@ -133,7 +133,7 @@ class Connector(connector_sdk_pb2_grpc.SourceConnectorServicer):
133
133
  if confirm.lower() == "y" and configuration:
134
134
  confirm_config = input(f"Your deploy will overwrite the configuration using the values provided in '{config_path}': key-value pairs not present in the new configuration will be removed; existing keys' values set in the configuration file or in the dashboard will be overwritten with new (empty or non-empty) values; new key-value pairs will be added. Do you want to proceed with the update? (y/N): ")
135
135
  if confirm.lower() == "y" and (not connection_config["secrets_list"] or (confirm_config.lower() == "y")):
136
- print_library_log("Updating the connection...\n")
136
+ print_library_log("Updating the connection...")
137
137
  upload_project(
138
138
  project_path, deploy_key, group_id, group_name, connection)
139
139
  response = update_connection(
@@ -157,7 +157,7 @@ class Connector(connector_sdk_pb2_grpc.SourceConnectorServicer):
157
157
  handle_failing_tests_message_and_exit(response, "The connection was created, but setup tests failed!")
158
158
  else:
159
159
  print_library_log(
160
- f"The connection '{connection}' has been created successfully.\n")
160
+ f"The connection '{connection}' has been created successfully.")
161
161
  connection_id = response.json()['data']['id']
162
162
  print_library_log(f"Python version {response.json()['data']['config']['python_version']} to be used at runtime.",
163
163
  Logging.Level.INFO)
@@ -460,7 +460,7 @@ def load_or_add_requirements_file(requirements_file_path):
460
460
  with open(requirements_file_path, 'w', encoding=UTF_8):
461
461
  pass
462
462
  requirements = {}
463
- print_library_log("Adding `requirements.txt` file to your project folder.", Logging.Level.WARNING)
463
+ print_library_log("`requirements.txt` file not found in your project folder.", Logging.Level.WARNING)
464
464
  return requirements
465
465
 
466
466
  def copy_requirements_file_to_tmp_requirements_file(requirements_file_path: str, tmp_requirements_file_path):
@@ -479,7 +479,7 @@ def remove_unwanted_packages(requirements: dict):
479
479
 
480
480
  def upload_project(project_path: str, deploy_key: str, group_id: str, group_name: str, connection: str):
481
481
  print_library_log(
482
- f"Deploying '{project_path}' to connection '{connection}' in destination '{group_name}'.\n")
482
+ f"Deploying '{project_path}' to connection '{connection}' in destination '{group_name}'.")
483
483
  upload_file_path = create_upload_file(project_path)
484
484
  upload_result = upload(
485
485
  upload_file_path, deploy_key, group_id, connection)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fivetran_connector_sdk
3
- Version: 2.0.2
3
+ Version: 2.1.0
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
@@ -14,7 +14,7 @@ Description-Content-Type: text/markdown
14
14
  Requires-Dist: grpcio==1.71.0
15
15
  Requires-Dist: grpcio-tools==1.71.0
16
16
  Requires-Dist: requests==2.32.5
17
- Requires-Dist: pipreqs==0.5.0
17
+ Requires-Dist: pipreqs-fivetran==1.0.1
18
18
  Requires-Dist: prompt-toolkit==3.0.51
19
19
  Requires-Dist: unidecode==1.4.0
20
20
 
@@ -1,5 +1,5 @@
1
- fivetran_connector_sdk/__init__.py,sha256=991WFYvbTYK_VZ5H0RWIHECwcRaeJkm3Pl93JV0X4Mo,22647
2
- fivetran_connector_sdk/connector_helper.py,sha256=w7ZNoKJ14T8KlzMn_IkztglJR-szGWeBni-QAOGDKH4,43022
1
+ fivetran_connector_sdk/__init__.py,sha256=HUhWh7DqbdZH8FO6rVxP6W5GK-aaNx3eRCUS9asVVhw,22643
2
+ fivetran_connector_sdk/connector_helper.py,sha256=5htWpBLA56fx_f6LTfkhyIEY5onJ2eGDBo_6QiKxqqg,43023
3
3
  fivetran_connector_sdk/constants.py,sha256=zzvfL4ek6f36I7MZgGdFOsFMP7STkG6VJ6rLd7jHzmw,2433
4
4
  fivetran_connector_sdk/helpers.py,sha256=7YVB1JQ9T0hg90Z0pjJxFp0pQzeBfefrfvS4SYtrlv4,15254
5
5
  fivetran_connector_sdk/logger.py,sha256=ud8v8-mKx65OAPaZvxBqt2-CU0vjgBeiYwuiqsYh_hA,3063
@@ -12,8 +12,8 @@ fivetran_connector_sdk/protos/common_pb2_grpc.py,sha256=qni6h6BoA1nwJXr2bNtznfTk
12
12
  fivetran_connector_sdk/protos/connector_sdk_pb2.py,sha256=Inv87MlK5Q56GNvMNFQHyqIePDMKnkW9y_BrT9DgPck,7835
13
13
  fivetran_connector_sdk/protos/connector_sdk_pb2.pyi,sha256=3AC-bK6ZM-Bmr_RETOB3y_0u4ATWlwcbHzqVanDuOB0,8115
14
14
  fivetran_connector_sdk/protos/connector_sdk_pb2_grpc.py,sha256=bGlvc_vGwA9-FTqrj-BYlVcA-7jS8A9MSZ-XpZFytvY,8795
15
- fivetran_connector_sdk-2.0.2.dist-info/METADATA,sha256=kUmyDd_WDqjnMw6AWwpBGl7nWoJno6uF8vd4mjX-Eyg,3188
16
- fivetran_connector_sdk-2.0.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
17
- fivetran_connector_sdk-2.0.2.dist-info/entry_points.txt,sha256=uQn0KPnFlQmXJfxlk0tifdNsSXWfVlnAFzNqjXZM_xM,57
18
- fivetran_connector_sdk-2.0.2.dist-info/top_level.txt,sha256=-_xk2MFY4psIh7jw1lJePMzFb5-vask8_ZtX-UzYWUI,23
19
- fivetran_connector_sdk-2.0.2.dist-info/RECORD,,
15
+ fivetran_connector_sdk-2.1.0.dist-info/METADATA,sha256=CnKbnjlSL_FNNa6ZorwUvIEUJSpG2yK4zTKO3f944qc,3197
16
+ fivetran_connector_sdk-2.1.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
17
+ fivetran_connector_sdk-2.1.0.dist-info/entry_points.txt,sha256=uQn0KPnFlQmXJfxlk0tifdNsSXWfVlnAFzNqjXZM_xM,57
18
+ fivetran_connector_sdk-2.1.0.dist-info/top_level.txt,sha256=-_xk2MFY4psIh7jw1lJePMzFb5-vask8_ZtX-UzYWUI,23
19
+ fivetran_connector_sdk-2.1.0.dist-info/RECORD,,