So I am trying to programmatically use quick_export through the arcpy package in an arcmap tool, and so I referenced the quick_export tool's dialog box that comes up when it is executing for the parameters. So in my code, prior to using the quick_export function I am creating a database in postgres using some psql commands, and then checking to see if it exists. however, quick_export has failed. So my only thought process on why the quick_export didn't work is because of the latency of recognizing that my database has been created.
*When I created the tool I created a field to name the database as a string field.