.
This commit is contained in:
+5
-5
@@ -222,8 +222,8 @@ def renew_oauth2_token(dry: bool) -> bool:
|
|||||||
# ─────────────────────────────────────────────
|
# ─────────────────────────────────────────────
|
||||||
def run_tests() -> bool:
|
def run_tests() -> bool:
|
||||||
http.client.HTTPConnection.debuglevel = 1
|
http.client.HTTPConnection.debuglevel = 1
|
||||||
print(f" → priority: {grist_fetch_priority_bals()}")
|
# print(f" → priority: {grist_fetch_priority_bals()}")
|
||||||
# print(f" → repasses: {grist_fetch_repass_bals()}")
|
print(f" → repasses: {grist_fetch_repass_bals()}")
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
||||||
@@ -249,7 +249,7 @@ def grist_fetch_new_bals() -> list[dict]:
|
|||||||
try:
|
try:
|
||||||
# 1. Récupération triée via l'API Grist
|
# 1. Récupération triée via l'API Grist
|
||||||
params = {
|
params = {
|
||||||
# "limit": NB_CONCURENT_NEW_BAL,
|
"limit": NB_CONCURENT_NEW_BAL * 3,
|
||||||
"filter": json.dumps(
|
"filter": json.dumps(
|
||||||
{COL_FINI: [False], COL_SYNC: [True], COL_SUCCESS: [False]}
|
{COL_FINI: [False], COL_SYNC: [True], COL_SUCCESS: [False]}
|
||||||
),
|
),
|
||||||
@@ -295,7 +295,7 @@ def grist_fetch_repass_bals() -> list[dict]:
|
|||||||
try:
|
try:
|
||||||
# 1. Récupération triée via l'API Grist
|
# 1. Récupération triée via l'API Grist
|
||||||
params = {
|
params = {
|
||||||
# "limit": NB_CONCURENT_REPASS_BAL,
|
"limit": NB_CONCURENT_REPASS_BAL * 3,
|
||||||
"filter": json.dumps(
|
"filter": json.dumps(
|
||||||
{COL_FINI: [False], COL_SYNC: [True], COL_SUCCESS: [True]}
|
{COL_FINI: [False], COL_SYNC: [True], COL_SUCCESS: [True]}
|
||||||
),
|
),
|
||||||
@@ -359,7 +359,7 @@ def grist_fetch_priority_bals() -> list[dict]:
|
|||||||
try:
|
try:
|
||||||
# 1. Récupération triée via l'API Grist
|
# 1. Récupération triée via l'API Grist
|
||||||
params = {
|
params = {
|
||||||
# "limit": NB_CONCURENT_PRIORITY_BAL,
|
"limit": NB_CONCURENT_PRIORITY_BAL * 3,
|
||||||
"filter": json.dumps({COL_FINI: [True], COL_SUCCESS: [True]}),
|
"filter": json.dumps({COL_FINI: [True], COL_SUCCESS: [True]}),
|
||||||
"sort": COL_LAST_PASS,
|
"sort": COL_LAST_PASS,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user