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
7 Replies
Percy
Percy2y ago
Project ID: 76c5996c-90fb-4227-8874-9e31865b416a
Percy
Percy2y ago
⚠️ experimental feature
Brody
Brody2y ago
id say a webhook would be the best way to go about that
victorsitou
victorsitou2y ago
is there any documentation about it?
victorsitou
victorsitou2y ago
hmm, I'll see how I can integrate that into my app thanks!
Brody
Brody2y ago
no problem!
Want results from more Discord servers?
Add your server