parastoo-dashboards/dashboards/parastoo/api/add_today_focus.py

16 lines
921 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import sys, json
sys.path.insert(0, "/app")
import sync_server as m
new_rows = [
["", "نوشتن تقویم محتوایی دو هفته آینده (اینستا، لینکدین، تلگرام و بله)", "", "", "2", "", "NotDone", "-", "", "تمرکز اصلی امروز: چینش تقویم محتوایی ۲ هفته جلوتر"],
["", "بررسی ظرفیت و تقسیم تسک‌های تیم (غزل و مبینا) با سقف ماهانه ۱۵۰ ساعت", "", "", "1.5", "", "NotDone", "-", "", "تقسیم وظایف محتوا و گرافیک با کنترل سقف حداکثر ۱۵۰ ساعت در ماه برای هر نیرو"]
]
r = m.composio_execute("GOOGLESHEETS_VALUES_UPDATE", {
"spreadsheet_id": m.SHEET_ID,
"range": "'Parastoo|Graphic'!A790:J791",
"value_input_option": "USER_ENTERED",
"values": new_rows
})
print("Update result:", json.dumps(r, ensure_ascii=False))