ellipsis 3.1.44__py3-none-any.whl → 3.1.45__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.
Potentially problematic release.
This version of ellipsis might be problematic. Click here for more details.
- ellipsis/__init__.py +1 -1
- ellipsis/apiManager.py +1 -3
- ellipsis/path/folder/__init__.py +2 -0
- ellipsis/path/folder/root.py +14 -0
- {ellipsis-3.1.44.dist-info → ellipsis-3.1.45.dist-info}/METADATA +1 -1
- {ellipsis-3.1.44.dist-info → ellipsis-3.1.45.dist-info}/RECORD +9 -9
- {ellipsis-3.1.44.dist-info → ellipsis-3.1.45.dist-info}/LICENSE +0 -0
- {ellipsis-3.1.44.dist-info → ellipsis-3.1.45.dist-info}/WHEEL +0 -0
- {ellipsis-3.1.44.dist-info → ellipsis-3.1.45.dist-info}/top_level.txt +0 -0
ellipsis/__init__.py
CHANGED
ellipsis/apiManager.py
CHANGED
|
@@ -94,7 +94,7 @@ def call(method, url, body = None, token = None, crash = True, parseJson = True)
|
|
|
94
94
|
else:
|
|
95
95
|
return r
|
|
96
96
|
|
|
97
|
-
TIMEOUTTIME =
|
|
97
|
+
TIMEOUTTIME = 20
|
|
98
98
|
def actualCall(method, url, body, token):
|
|
99
99
|
body = filterNone(body)
|
|
100
100
|
if type(body) != type(None) and type(body) != type({}):
|
|
@@ -124,9 +124,7 @@ def upload(url, filePath, body, token, key = 'data', memfile= None):
|
|
|
124
124
|
else:
|
|
125
125
|
conn_file = memfile
|
|
126
126
|
|
|
127
|
-
|
|
128
127
|
payload = MultipartEncoder(fields = {**body, key: (fileName, conn_file, 'application/octet-stream')})
|
|
129
|
-
|
|
130
128
|
token = 'Bearer ' + token
|
|
131
129
|
|
|
132
130
|
r = requests.post(baseUrl + url, headers = {"Authorization":token, "Content-Type": payload.content_type}, data=payload, verify=False)
|
ellipsis/path/folder/__init__.py
CHANGED
ellipsis/path/folder/root.py
CHANGED
|
@@ -36,3 +36,17 @@ def add( name, token, parentId = None, publicAccess =None, metadata=None):
|
|
|
36
36
|
|
|
37
37
|
return apiManager.post('/path/folder', body, token)
|
|
38
38
|
|
|
39
|
+
def traverse(pathId, location, pathType, token):
|
|
40
|
+
pathId = sanitize.validUuid('pathId', pathId, True)
|
|
41
|
+
location = sanitize.validStringArray('location', location, True)
|
|
42
|
+
pathType = sanitize.validString('pathType', pathType, True)
|
|
43
|
+
token = sanitize.validString('token', token, False)
|
|
44
|
+
|
|
45
|
+
body = {'location': location, 'type':pathType }
|
|
46
|
+
|
|
47
|
+
return apiManager.get('/path/' + pathId + '/folder/traverse', body, token)
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
ellipsis/__init__.py,sha256=
|
|
2
|
-
ellipsis/apiManager.py,sha256=
|
|
1
|
+
ellipsis/__init__.py,sha256=PjCKP1j39kGObADgMz9G9gbAIXlEkn0vjMUSKsp3zpE,236
|
|
2
|
+
ellipsis/apiManager.py,sha256=JJ-1nT29BIcVSzMvEdkm1Wq6PsXT7Jq5OmJrRdg7C2o,5463
|
|
3
3
|
ellipsis/sanitize.py,sha256=T5FawJRZ2eqGv0itiMkZ1fuJpahsSyhBMFty9cG-wwA,10194
|
|
4
4
|
ellipsis/account/__init__.py,sha256=K40DMBaUDSxt3rO2WZv63Wmpfy49ocqBxvWqyIYHR24,92
|
|
5
5
|
ellipsis/account/root.py,sha256=tgGAT2BzP3zgAqsevvkeognn5S67T-MrIP52BLN9rbE,1791
|
|
@@ -9,8 +9,8 @@ ellipsis/path/__init__.py,sha256=jqmyE8UyYLua23_zRP79BoiFvekMlZO6oTdAs_sFCyw,435
|
|
|
9
9
|
ellipsis/path/root.py,sha256=3HaKJhjAeHMqK1rBjcvT92aG6kBWllpu3prUqO3Ov6s,8618
|
|
10
10
|
ellipsis/path/file/__init__.py,sha256=i_KB1S1J9pZjcPTKdyGMnjJf2tCoHFzptLGaxmTi55A,107
|
|
11
11
|
ellipsis/path/file/root.py,sha256=3aqUFHQ7JLZf2arFoxOruOEKU-yOqUooj_LexGdPZ_s,4418
|
|
12
|
-
ellipsis/path/folder/__init__.py,sha256=
|
|
13
|
-
ellipsis/path/folder/root.py,sha256=
|
|
12
|
+
ellipsis/path/folder/__init__.py,sha256=5keiFbsuXj5bYQHt8NahGkUYvXrJk8C7cQhgHA-4VBc,139
|
|
13
|
+
ellipsis/path/folder/root.py,sha256=OJSaOLWPQDXXty5sxsG_G0Fiip0VdWzj_XrcxY9Gnj8,1913
|
|
14
14
|
ellipsis/path/hashtag/__init__.py,sha256=4u8VC7xOFJjuZ9K08yh6GsPn8YkYZ_24o_7viScUQlg,59
|
|
15
15
|
ellipsis/path/hashtag/root.py,sha256=qjtxpOGgyqDPscLuziS4qCYOV1BetSSSCOqpB8lrlwI,806
|
|
16
16
|
ellipsis/path/invite/__init__.py,sha256=jSaup4uNIu7B668L5rw4YZ7MQF6_v03-mcGXjzLvzJc,100
|
|
@@ -63,8 +63,8 @@ ellipsis/util/__init__.py,sha256=G0LaqqipkJXqZZnW78pqOw-gDQWZYLMa2ioLoCac-NI,714
|
|
|
63
63
|
ellipsis/util/root.py,sha256=keGn515Dnxyja8kNG9p-xdsX6gRa8pHCh6AJaQXLoig,23445
|
|
64
64
|
ellipsis/view/__init__.py,sha256=91KyJzbSvwSP9hvJQyo1LLM48b5NixLz6G40I9h6sdY,67
|
|
65
65
|
ellipsis/view/root.py,sha256=6actiBwIsM0f7sJhQl_U4j-C6Dhe0z5XGGtxIOIKdY8,1726
|
|
66
|
-
ellipsis-3.1.
|
|
67
|
-
ellipsis-3.1.
|
|
68
|
-
ellipsis-3.1.
|
|
69
|
-
ellipsis-3.1.
|
|
70
|
-
ellipsis-3.1.
|
|
66
|
+
ellipsis-3.1.45.dist-info/LICENSE,sha256=7EI8xVBu6h_7_JlVw-yPhhOZlpY9hP8wal7kHtqKT_E,1074
|
|
67
|
+
ellipsis-3.1.45.dist-info/METADATA,sha256=EvbSCQd_-LxFDFpDO3xv6xgegAoVPuoYHpNGEDlMVN8,1823
|
|
68
|
+
ellipsis-3.1.45.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
|
69
|
+
ellipsis-3.1.45.dist-info/top_level.txt,sha256=eG8gfaVDyprKdb-dsGSh_lFMSa3DiZCsJFqze239RjA,9
|
|
70
|
+
ellipsis-3.1.45.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|