get-conn-by-id 0.0.4__py3-none-any.whl → 0.0.5__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.
- get_conn_by_id/__init__.py +4 -1
- {get_conn_by_id-0.0.4.dist-info → get_conn_by_id-0.0.5.dist-info}/METADATA +1 -1
- {get_conn_by_id-0.0.4.dist-info → get_conn_by_id-0.0.5.dist-info}/RECORD +6 -6
- {get_conn_by_id-0.0.4.dist-info → get_conn_by_id-0.0.5.dist-info}/WHEEL +0 -0
- {get_conn_by_id-0.0.4.dist-info → get_conn_by_id-0.0.5.dist-info}/licenses/LICENSE +0 -0
- {get_conn_by_id-0.0.4.dist-info → get_conn_by_id-0.0.5.dist-info}/top_level.txt +0 -0
get_conn_by_id/__init__.py
CHANGED
@@ -27,7 +27,10 @@ def get_conn_by_id(conn_id,
|
|
27
27
|
from .get_conn_by_id_synapse import get_conn_by_id_synapse
|
28
28
|
|
29
29
|
if account_key is None:
|
30
|
-
|
30
|
+
try:
|
31
|
+
account_key = mssparkutils.credentials.getConnectionStringOrCreds('AzureDataLakeStorageTest')
|
32
|
+
except:
|
33
|
+
raise Exception('Cannot get a valid account_key from mssparkutils, please provide one for getting credentials in the synapse environment')
|
31
34
|
|
32
35
|
cred_conn = get_conn_by_id_synapse(conn_id, account_key)
|
33
36
|
return cred_conn
|
@@ -1,4 +1,4 @@
|
|
1
|
-
get_conn_by_id/__init__.py,sha256=
|
1
|
+
get_conn_by_id/__init__.py,sha256=Bi5GTIxSElA2XyTnckyCobiuavEwHehvOyoVljcAFZw,1259
|
2
2
|
get_conn_by_id/__version__.py,sha256=YdR39NhxZLYbBHgVriWsurpoJgHir1mEjRcw1BDrTDo,304
|
3
3
|
get_conn_by_id/get_conn_by_id_airflow/__init__.py,sha256=nfMzRrvQM347iC--sFhKi7OjvJ-8hgoh_RLZZwzHbAw,1390
|
4
4
|
get_conn_by_id/get_conn_by_id_json/__init__.py,sha256=Dn4IriXl_Mupfx1EQqGokU3Eb_dqrCGHFzXfdqpNDb4,733
|
@@ -8,8 +8,8 @@ get_conn_by_id/get_conn_by_id_json/get_credential_url/local/__init__.py,sha256=b
|
|
8
8
|
get_conn_by_id/get_conn_by_id_synapse/__init__.py,sha256=6k51dRu6jJHAUcv9TdrP7NWIOz5P1So1GT5uMkXyA7E,521
|
9
9
|
get_conn_by_id/get_conn_by_id_synapse/connect_lake_and_fetch_json/__init__.py,sha256=Ol0_XBVDWRPlQB1FiO_--vUxvH7CvPU_xgoZfFn4WR0,681
|
10
10
|
get_conn_by_id/get_conn_by_id_synapse/datalake/__init__.py,sha256=jQD8kFSjNhpkGwg6pTbmIp3wDdzCYOARdrShSdRsDKQ,155
|
11
|
-
get_conn_by_id-0.0.
|
12
|
-
get_conn_by_id-0.0.
|
13
|
-
get_conn_by_id-0.0.
|
14
|
-
get_conn_by_id-0.0.
|
15
|
-
get_conn_by_id-0.0.
|
11
|
+
get_conn_by_id-0.0.5.dist-info/licenses/LICENSE,sha256=QFqlsJU-ATXjyW2Go8vFmK6_2irdUyqfg0n4oEq3ovE,1074
|
12
|
+
get_conn_by_id-0.0.5.dist-info/METADATA,sha256=P9tWhnC6kbiMVGUVg7AM8NutHNecl3DOf-W44FHMo-8,1672
|
13
|
+
get_conn_by_id-0.0.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
14
|
+
get_conn_by_id-0.0.5.dist-info/top_level.txt,sha256=6yf6XtTaEvui76hVptEe1LDWqMxUwPd8jyKr5G5ne-o,15
|
15
|
+
get_conn_by_id-0.0.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|