9 lines
430 B
Python
9 lines
430 B
Python
import sys, json
|
|
sys.path.insert(0, "/app")
|
|
import sync_server as m
|
|
r = m.composio_execute("GOOGLESHEETS_VALUES_GET", {
|
|
"spreadsheet_id": m.SHEET_ID, "range": "'Parastoo|Graphic'!A770:L780"})
|
|
for i, row in enumerate((r or {}).get("values") or []):
|
|
if any(str(c).strip() for c in row):
|
|
print(f"{770+i}: {json.dumps([str(c)[:30] for c in row], ensure_ascii=False)}")
|
|
print("last_data_row:", m.sheet_last_data_row())
|