app
Fusion - the Fusion 360 Bridge
Public Made by Adomby adom
Drive Autodesk Fusion 360 from the cloud via Adom Bridge: component libraries, IPC package generation, board layout, exports (STEP/Gerbers/BOM/CPL), fast APS cloud search, and parametric modeling.
← Commit history
tests/run_verb_tests.py+7@@ -426,6 +426,13 @@ def main(): d, dt = call_polled(a.target, verb, run_args, run_args["_pollDoc"], run_args["_pollSec"]) else: d, dt = call(a.target, verb, run_args, timeout=vt)+ # A busy main thread right after a heavy op (cloud open, export) is congestion,+ # not a verb failure - a real caller retries per the _hint. One retry, like they would.+ if d.get("errorCode") == "main_thread_busy" or str(d.get("error")) == "addin_command_timeout":+ time.sleep(12)+ d2, dt2 = call(a.target, verb, run_args, timeout=vt)+ if not (d2.get("errorCode") == "main_thread_busy" or str(d2.get("error")) == "addin_command_timeout"):+ d, dt = d2, dt + dt2 LAST_RESULTS[verb] = d if str(d.get("error") or "") == "target_not_found": flaps = getattr(sys.modules[__name__], "_FLAPS", 0) + 1