elody 0.0.199__py3-none-any.whl → 0.0.201__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.
- elody/client.py +4 -0
- {elody-0.0.199.dist-info → elody-0.0.201.dist-info}/METADATA +1 -1
- {elody-0.0.199.dist-info → elody-0.0.201.dist-info}/RECORD +6 -6
- {elody-0.0.199.dist-info → elody-0.0.201.dist-info}/WHEEL +0 -0
- {elody-0.0.199.dist-info → elody-0.0.201.dist-info}/licenses/LICENSE +0 -0
- {elody-0.0.199.dist-info → elody-0.0.201.dist-info}/top_level.txt +0 -0
elody/client.py
CHANGED
|
@@ -197,6 +197,7 @@ class Client:
|
|
|
197
197
|
identifiers=None,
|
|
198
198
|
upload_location_replace_map=None,
|
|
199
199
|
mediafile_object=None,
|
|
200
|
+
user_email=None,
|
|
200
201
|
):
|
|
201
202
|
if not identifiers:
|
|
202
203
|
identifiers = list()
|
|
@@ -207,6 +208,9 @@ class Client:
|
|
|
207
208
|
)
|
|
208
209
|
for current_location, new_location in upload_location_replace_map.items():
|
|
209
210
|
upload_location = upload_location.replace(current_location, new_location)
|
|
211
|
+
upload_location = upload_location.replace('"', "")
|
|
212
|
+
if user_email and "&user_email" not in upload_location:
|
|
213
|
+
upload_location = f"{upload_location}&user_email={user_email}"
|
|
210
214
|
print(upload_location)
|
|
211
215
|
mediafile = requests.get(file_url, proxies=self.proxies).content
|
|
212
216
|
response = requests.post(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
2
|
elody/__init__.py,sha256=d0Q6Fn44e7wFfLabDOBxpcJ1DPKWlFunGYDUBmO-4hA,22
|
|
3
|
-
elody/client.py,sha256=
|
|
3
|
+
elody/client.py,sha256=watnFuKxkINjkHANMZwO7U7jTKeQ4pH33RRE5P_DUmA,8798
|
|
4
4
|
elody/csv.py,sha256=AFlcMV0az3fCJzaScNHX7ISQO13u-HIGjbQaDzJJNh8,16051
|
|
5
5
|
elody/error_codes.py,sha256=Derbr10Lb3HZcePjargz_XsYnw2SC0edD5KHZeKlp1s,4227
|
|
6
6
|
elody/exceptions.py,sha256=5KSw2sPCZz3lDIJX4LiR2iL9n4m4KIil04D1d3X5rd0,968
|
|
@@ -34,13 +34,13 @@ elody/policies/authorization/mediafile_derivatives_policy.py,sha256=OwNpbS8i7-Lz
|
|
|
34
34
|
elody/policies/authorization/mediafile_download_policy.py,sha256=XMsKavBucmTh4W1kWOzpFWxJ_ZXgHVK1RS7JB4HjtQo,1979
|
|
35
35
|
elody/policies/authorization/multi_tenant_policy.py,sha256=SA9H7SBjzuh8mY3gYN7pDG8TV7hdI3GEUtNeiZeNL3M,3164
|
|
36
36
|
elody/policies/authorization/tenant_request_policy.py,sha256=dEgblwRAqwWVcE-O7Jn8hVL3OnwDlQhDEOcPlcElBrk,1185
|
|
37
|
-
elody-0.0.
|
|
37
|
+
elody-0.0.201.dist-info/licenses/LICENSE,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
|
|
38
38
|
tests/__init_.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
39
39
|
tests/data.py,sha256=Q3oxduf-E3m-Z5G_p3fcs8jVy6g10I7zXKL1m94UVMI,2906
|
|
40
40
|
tests/unit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
41
41
|
tests/unit/test_csv.py,sha256=NQaOhehfQ4GuXku0Y1SA8DYjJeqqidbF50zEHAi8RZA,15923
|
|
42
42
|
tests/unit/test_utils.py,sha256=g63szcEZyHhCOtrW4BnNbcgVca3oYPIOLjBdIzNwwN0,8784
|
|
43
|
-
elody-0.0.
|
|
44
|
-
elody-0.0.
|
|
45
|
-
elody-0.0.
|
|
46
|
-
elody-0.0.
|
|
43
|
+
elody-0.0.201.dist-info/METADATA,sha256=wBHrJ_LdGhQZ1DWTVjcCWZKWmzLZnPOtz6O_BeKOlVA,23358
|
|
44
|
+
elody-0.0.201.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
45
|
+
elody-0.0.201.dist-info/top_level.txt,sha256=E0mImupLj0KmtUUCXRYEoLDRaSkuiGaOIIseAa0oQ-M,21
|
|
46
|
+
elody-0.0.201.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|