I successful import a custom toolbox. Inside the custom toolbox are multiple toolsets. The toolbox is "NWI_Toolbox", the toolset is "Combined Tools", and the tool is "Combined Wetland Polygonal Tools". This tool essentially runs all of the individual tools in a separate toolset named "Individual Polygonal Tools".
When I do this manually, the tool takes about 40 seconds to run. When I do it via Python, it imports successfully and then takes about 80 minutes. What might explain this discrepancy?
Notice in the code below that I call the imported toolbox as "QC_Tools" - this is the alias of the toolbox. I have also tried importing the toolbox with a designated module name and calling it that way, but get the same result.
nwi_toolbox = r'C:\projects\Tools\Round1\NWI_Toolbox.pyt'
arcpy.ImportToolbox(nwi_toolbox)
arcpy.QC_Tools.combinedPolyTools(ak_schema_gdb, 'AK', 'DE', True)