What's the best way to handle a restart/redeploy/remove in Python?
Basically what I want to do is to save certain data in my DB once the deployment is restarted/redeployed/deleted. So what would be the best way to handle that?
Project id: 76c5996c-90fb-4227-8874-9e31865b416a