elody 0.0.201__py3-none-any.whl → 0.0.204__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 +1 -1
- elody/csv.py +7 -3
- {elody-0.0.201.dist-info → elody-0.0.204.dist-info}/METADATA +1 -1
- {elody-0.0.201.dist-info → elody-0.0.204.dist-info}/RECORD +7 -7
- {elody-0.0.201.dist-info → elody-0.0.204.dist-info}/WHEEL +0 -0
- {elody-0.0.201.dist-info → elody-0.0.204.dist-info}/licenses/LICENSE +0 -0
- {elody-0.0.201.dist-info → elody-0.0.204.dist-info}/top_level.txt +0 -0
elody/client.py
CHANGED
|
@@ -204,7 +204,7 @@ class Client:
|
|
|
204
204
|
if not upload_location_replace_map:
|
|
205
205
|
upload_location_replace_map = dict()
|
|
206
206
|
upload_location = self.__get_upload_location(
|
|
207
|
-
entity_id, filename,
|
|
207
|
+
entity_id, filename, False, identifiers, mediafile_object
|
|
208
208
|
)
|
|
209
209
|
for current_location, new_location in upload_location_replace_map.items():
|
|
210
210
|
upload_location = upload_location.replace(current_location, new_location)
|
elody/csv.py
CHANGED
|
@@ -210,10 +210,14 @@ class CSVMultiObject(CSVParser):
|
|
|
210
210
|
|
|
211
211
|
def is_datetime(self, value):
|
|
212
212
|
try:
|
|
213
|
-
|
|
214
|
-
return True
|
|
215
|
-
except (ValueError, TypeError):
|
|
213
|
+
int(value)
|
|
216
214
|
return False
|
|
215
|
+
except (ValueError, TypeError):
|
|
216
|
+
try:
|
|
217
|
+
parser.parse(value)
|
|
218
|
+
return True
|
|
219
|
+
except (ValueError, TypeError):
|
|
220
|
+
return False
|
|
217
221
|
|
|
218
222
|
def parse_datetime(self, value):
|
|
219
223
|
return parser.parse(value)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
2
|
elody/__init__.py,sha256=d0Q6Fn44e7wFfLabDOBxpcJ1DPKWlFunGYDUBmO-4hA,22
|
|
3
|
-
elody/client.py,sha256=
|
|
4
|
-
elody/csv.py,sha256=
|
|
3
|
+
elody/client.py,sha256=15SBfnLHJXXY5Vf5BnkWdjtvkH21E_AsWTzm2-zcbf0,8799
|
|
4
|
+
elody/csv.py,sha256=4J1KZhcisxvh0mryMPcza-sIPS7nbDkRyRO8guSFVGw,16172
|
|
5
5
|
elody/error_codes.py,sha256=Derbr10Lb3HZcePjargz_XsYnw2SC0edD5KHZeKlp1s,4227
|
|
6
6
|
elody/exceptions.py,sha256=5KSw2sPCZz3lDIJX4LiR2iL9n4m4KIil04D1d3X5rd0,968
|
|
7
7
|
elody/job.py,sha256=3_heLwfNrWYcjIMKPG-vWsQayAAI7tyLFUUC_b1rT7w,4264
|
|
@@ -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.204.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.204.dist-info/METADATA,sha256=qfe2j7dXAcarRS5vaiQOiVJy3-x2qnXuzrcDizmnSZQ,23358
|
|
44
|
+
elody-0.0.204.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
45
|
+
elody-0.0.204.dist-info/top_level.txt,sha256=E0mImupLj0KmtUUCXRYEoLDRaSkuiGaOIIseAa0oQ-M,21
|
|
46
|
+
elody-0.0.204.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|