Untitled

 avatar
unknown
plain_text
a year ago
447 B
6
Indexable
dbpassword1 = perf_workflow_config.rdsbms_params_dict["db_password"]
        dbuser1 = perf_workflow_config.rdsbms_params_dict["db_user"]
cmds.append(
            f"engine_public_version=$(/rdsdbbin/oscar/bin/mysql -u {dbuser1} -e \"SELECT aurora_version();\" -p{dbpassword1} | grep -P '[\\d.]+' | tr -d '\\n');"
        )

How can I fit the perf_workflow_config.rdsbms_params_dict["db_password"] inside the command itself and not create variables
Editor is loading...
Leave a Comment