how to use python api without "Allow Python API Usage ?"

Thanks for filing an issue! Please answer the questions below so I can help you.

Detailed steps to reproduce the problem: 1.upgrade version to v3.3.9 2.use existed python script to control iterm2 3.I have choose "Enable Python API" in General - Magic

What happened: alert with "Allow Python API Usage ?" What should have happened: how to colse this alert function,or make it allow always?