Callbacks
Callback templates
Adventure starts here
- Overview
- Quickstart
- Design
- Abstractions
Concepts
- Pipelines
- Blocks
- Overview
- Types
- Dynamic blocks
- Resources
- Data loader
- Transformer
- Data exporter
- Sensors
- Callbacks
- Conditionals
- Data integrations
- Triggers
- Pipeline runs
- Backfills
Project
- Setup
- Version control
- Docker
- Variables
- Custom libraries
- Database
- Credentials
- Code execution
- Timezones
- Settings
- Version upgrades
Contributing
- Overview
- Dev environment
- Backend
- Frontend
- Documentation
Callbacks
Callback templates
Base
if 'callback' not in globals():
from mage_ai.data_preparation.decorators import callback
@callback('success')
def success_callback(**kwargs):
pass
@callback('failure')
def failure_callback(**kwargs):
pass
Was this page helpful?
On this page