Updated version with migration built-in
This commit is contained in:
@@ -514,7 +514,7 @@ class AppBase:
|
||||
# return
|
||||
|
||||
print("[INFO] Multiplier length: %d" % len(param_multiplier))
|
||||
tmp = ""
|
||||
#tmp = ""
|
||||
for subparams in param_multiplier:
|
||||
print(f"SUBPARAMS IN MULTI: {subparams}")
|
||||
try:
|
||||
@@ -2307,12 +2307,13 @@ class AppBase:
|
||||
|
||||
#newres = await func(**params)
|
||||
#print("PARAMS: %s" % params)
|
||||
newres = ""
|
||||
#newres = ""
|
||||
while True:
|
||||
try:
|
||||
newres = await func(**params)
|
||||
break
|
||||
except TypeError as e:
|
||||
newres = ""
|
||||
errorstring = "%s" % e
|
||||
if "got an unexpected keyword argument" in errorstring:
|
||||
fieldsplit = errorstring.split("'")
|
||||
|
||||
Reference in New Issue
Block a user