yeref 0.29.30__py3-none-any.whl → 0.29.31__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.
yeref/yeref.py
CHANGED
@@ -18896,7 +18896,7 @@ async def normalize_rows(rows):
|
|
18896
18896
|
new_row = []
|
18897
18897
|
iterable = row.values() if hasattr(row, "values") else row
|
18898
18898
|
for c in iterable:
|
18899
|
-
if isinstance(c, datetime
|
18899
|
+
if isinstance(c, datetime):
|
18900
18900
|
new_row.append(c.isoformat())
|
18901
18901
|
elif isinstance(c, (dict, list)):
|
18902
18902
|
new_row.append(json.dumps(c, ensure_ascii=False))
|
@@ -18921,7 +18921,7 @@ async def api_sync_all(value_many, spreadsheet_id, CONF_P, EXTRA_D, range_many='
|
|
18921
18921
|
# convert_value.append(list(item))
|
18922
18922
|
#
|
18923
18923
|
# await api_write_cells(sheets_service, convert_value, range_many, spreadsheet_id, sheet_id, value_input_option, major_dimension)
|
18924
|
-
|
18924
|
+
convert_value = await normalize_rows([list(item) for item in value_many])
|
18925
18925
|
# print(f"{convert_value=}")
|
18926
18926
|
|
18927
18927
|
await api_write_cells(
|
@@ -0,0 +1,8 @@
|
|
1
|
+
yeref/__init__.py,sha256=Qpv3o6Xa78VdLcsSRmctGtpnYE9btpAkCekgGhgJyXM,49
|
2
|
+
yeref/l_.py,sha256=RbirKXasMmKTniXrvC08hF2DVfuHg-s75Z8pliEkEZk,616929
|
3
|
+
yeref/tonweb.js,sha256=Jf6aFOQ1OIY4q7fINYz-m5LsI3seMus124M5SYYZmtE,443659
|
4
|
+
yeref/yeref.py,sha256=P05vPmzZlhZ1M6iPm4S29VmD64FJEK4RKF2fQy-utj8,1048849
|
5
|
+
yeref-0.29.31.dist-info/METADATA,sha256=G22OYfqulnC-VC-CaTcLpTAxJgXymLGx1A_tSoOBKeM,119
|
6
|
+
yeref-0.29.31.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
7
|
+
yeref-0.29.31.dist-info/top_level.txt,sha256=yCQKchWHbfV-3OuQPYRdi2loypD-nmbDJbtt3OuKKkY,6
|
8
|
+
yeref-0.29.31.dist-info/RECORD,,
|
yeref-0.29.30.dist-info/RECORD
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
yeref/__init__.py,sha256=Qpv3o6Xa78VdLcsSRmctGtpnYE9btpAkCekgGhgJyXM,49
|
2
|
-
yeref/l_.py,sha256=RbirKXasMmKTniXrvC08hF2DVfuHg-s75Z8pliEkEZk,616929
|
3
|
-
yeref/tonweb.js,sha256=Jf6aFOQ1OIY4q7fINYz-m5LsI3seMus124M5SYYZmtE,443659
|
4
|
-
yeref/yeref.py,sha256=8jarf3k95P1m1hvljunQDeQPGah3cAXgPlmHr6Bk8j4,1048853
|
5
|
-
yeref-0.29.30.dist-info/METADATA,sha256=vsompAIEKBavM4RrUG5PQjO3R6VG5Hyu_Do-fiFZ26o,119
|
6
|
-
yeref-0.29.30.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
7
|
-
yeref-0.29.30.dist-info/top_level.txt,sha256=yCQKchWHbfV-3OuQPYRdi2loypD-nmbDJbtt3OuKKkY,6
|
8
|
-
yeref-0.29.30.dist-info/RECORD,,
|
File without changes
|
File without changes
|