get-conn-by-id 0.0.5__tar.gz → 0.0.6__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 (18) hide show
  1. {get_conn_by_id-0.0.5 → get_conn_by_id-0.0.6}/PKG-INFO +1 -1
  2. {get_conn_by_id-0.0.5 → get_conn_by_id-0.0.6}/get_conn_by_id/__init__.py +1 -0
  3. {get_conn_by_id-0.0.5 → get_conn_by_id-0.0.6}/get_conn_by_id.egg-info/PKG-INFO +1 -1
  4. {get_conn_by_id-0.0.5 → get_conn_by_id-0.0.6}/LICENSE +0 -0
  5. {get_conn_by_id-0.0.5 → get_conn_by_id-0.0.6}/get_conn_by_id/__version__.py +0 -0
  6. {get_conn_by_id-0.0.5 → get_conn_by_id-0.0.6}/get_conn_by_id/get_conn_by_id_airflow/__init__.py +0 -0
  7. {get_conn_by_id-0.0.5 → get_conn_by_id-0.0.6}/get_conn_by_id/get_conn_by_id_json/__init__.py +0 -0
  8. {get_conn_by_id-0.0.5 → get_conn_by_id-0.0.6}/get_conn_by_id/get_conn_by_id_json/get_credential_url/__init__.py +0 -0
  9. {get_conn_by_id-0.0.5 → get_conn_by_id-0.0.6}/get_conn_by_id/get_conn_by_id_json/get_credential_url/databricks/__init__.py +0 -0
  10. {get_conn_by_id-0.0.5 → get_conn_by_id-0.0.6}/get_conn_by_id/get_conn_by_id_json/get_credential_url/local/__init__.py +0 -0
  11. {get_conn_by_id-0.0.5 → get_conn_by_id-0.0.6}/get_conn_by_id/get_conn_by_id_synapse/__init__.py +0 -0
  12. {get_conn_by_id-0.0.5 → get_conn_by_id-0.0.6}/get_conn_by_id/get_conn_by_id_synapse/connect_lake_and_fetch_json/__init__.py +0 -0
  13. {get_conn_by_id-0.0.5 → get_conn_by_id-0.0.6}/get_conn_by_id/get_conn_by_id_synapse/datalake/__init__.py +0 -0
  14. {get_conn_by_id-0.0.5 → get_conn_by_id-0.0.6}/get_conn_by_id.egg-info/SOURCES.txt +0 -0
  15. {get_conn_by_id-0.0.5 → get_conn_by_id-0.0.6}/get_conn_by_id.egg-info/dependency_links.txt +0 -0
  16. {get_conn_by_id-0.0.5 → get_conn_by_id-0.0.6}/get_conn_by_id.egg-info/top_level.txt +0 -0
  17. {get_conn_by_id-0.0.5 → get_conn_by_id-0.0.6}/pyproject.toml +0 -0
  18. {get_conn_by_id-0.0.5 → get_conn_by_id-0.0.6}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: get_conn_by_id
3
- Version: 0.0.5
3
+ Version: 0.0.6
4
4
  Summary: A library used to get the connections from different environments.
5
5
  Author-email: Cody Xiaozhan Yang <x.yang@cloudfmgroup.com>
6
6
  License: MIT License
@@ -28,6 +28,7 @@ def get_conn_by_id(conn_id,
28
28
 
29
29
  if account_key is None:
30
30
  try:
31
+ from notebookutils import mssparkutils
31
32
  account_key = mssparkutils.credentials.getConnectionStringOrCreds('AzureDataLakeStorageTest')
32
33
  except:
33
34
  raise Exception('Cannot get a valid account_key from mssparkutils, please provide one for getting credentials in the synapse environment')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: get_conn_by_id
3
- Version: 0.0.5
3
+ Version: 0.0.6
4
4
  Summary: A library used to get the connections from different environments.
5
5
  Author-email: Cody Xiaozhan Yang <x.yang@cloudfmgroup.com>
6
6
  License: MIT License
File without changes
File without changes