addftool 0.2.13__py3-none-any.whl → 0.2.14__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.
- addftool/blob.py +6 -1
- {addftool-0.2.13.dist-info → addftool-0.2.14.dist-info}/METADATA +1 -1
- {addftool-0.2.13.dist-info → addftool-0.2.14.dist-info}/RECORD +6 -6
- {addftool-0.2.13.dist-info → addftool-0.2.14.dist-info}/WHEEL +0 -0
- {addftool-0.2.13.dist-info → addftool-0.2.14.dist-info}/entry_points.txt +0 -0
- {addftool-0.2.13.dist-info → addftool-0.2.14.dist-info}/top_level.txt +0 -0
addftool/blob.py
CHANGED
|
@@ -16,6 +16,8 @@ def add_api(parser):
|
|
|
16
16
|
parser.add_argument("-a", "--api", help="api url")
|
|
17
17
|
parser.add_argument("-n", "--name", help="name")
|
|
18
18
|
parser.add_argument("-c", "--container", help="container")
|
|
19
|
+
parser.add_argument("-u", "--url", type=str, default="",
|
|
20
|
+
help="blob url")
|
|
19
21
|
|
|
20
22
|
|
|
21
23
|
def get_ubuntu_version():
|
|
@@ -180,7 +182,10 @@ def mount_main(args):
|
|
|
180
182
|
|
|
181
183
|
|
|
182
184
|
def get_token(args, info=False):
|
|
183
|
-
|
|
185
|
+
if args.url and args.url != "":
|
|
186
|
+
return get_sas_token_for_blob_url(args.api, args.url, args.key, info=info)
|
|
187
|
+
else:
|
|
188
|
+
return get_sas_token(args.api, args.name, args.container, args.key, info=info)
|
|
184
189
|
|
|
185
190
|
|
|
186
191
|
# create a new function for function calling
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
addftool/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
2
|
addftool/addf_portal.py,sha256=CnOAq3JLQjK9-OyYWDYcmtLBM68L3N6WeP5NjBod4zc,1819
|
|
3
|
-
addftool/blob.py,sha256=
|
|
3
|
+
addftool/blob.py,sha256=RzPpIrBPNKr5KS4sScHFWqsYW9tA8EY-H0fSrlmns8w,15272
|
|
4
4
|
addftool/broadcast_folder.py,sha256=GQBuSL8Ch537V_fSBHesWyqT3KRYry68pbYOKy2bDj4,19619
|
|
5
5
|
addftool/sleep.py,sha256=kykcZR2tA0ZpRUwQf6IIUdJ4dYkolyD91FdriViq9Nc,11771
|
|
6
6
|
addftool/sync.py,sha256=ZpYxbM8uiPFrV7ODmOaM7asVPCWaxBixA-arVc-1kfs,14045
|
|
@@ -13,8 +13,8 @@ addftool/deploy/vscode_server.py,sha256=tLtSvlcK2fEOaw6udWt8dNELVhwv9F59hF5DJJ-1
|
|
|
13
13
|
addftool/process/__init__.py,sha256=Dze8OrcyjQlAbPrjE_h8bMi8W4b3OJyZOjTucPrkJvM,3721
|
|
14
14
|
addftool/process/utils.py,sha256=JldxnwanLJOgxaPgmCJh7SeBRaaj5rFxWWxh1hpsvbA,2609
|
|
15
15
|
addftool/ssh/__init__.py,sha256=h5_rCO0A6q2Yw9vFguQZZp_ApAJsT1dcnKnbKKZ0cDM,4409
|
|
16
|
-
addftool-0.2.
|
|
17
|
-
addftool-0.2.
|
|
18
|
-
addftool-0.2.
|
|
19
|
-
addftool-0.2.
|
|
20
|
-
addftool-0.2.
|
|
16
|
+
addftool-0.2.14.dist-info/METADATA,sha256=zoxoB1uMObhyvZIvn3UJ8bSIZ5x8JMUdHyot0phXIGk,221
|
|
17
|
+
addftool-0.2.14.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
18
|
+
addftool-0.2.14.dist-info/entry_points.txt,sha256=9lkmuWMInwUAtev8w8poNkNd7iML9Bjd5CBCFVxg2b8,111
|
|
19
|
+
addftool-0.2.14.dist-info/top_level.txt,sha256=jqj56-plrBbyzY0tIxB6wPzjAA8kte4hUlajyyQygN4,9
|
|
20
|
+
addftool-0.2.14.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|