settings
Migrate settings from Celery 3.x to Celery 4.x.
def settings(
filename: string,
django: boolean,
compat: boolean,
no_backup: boolean
)
Migrate settings from Celery 3.x to Celery 4.x.
Parameters
| Name | Type | Description |
|---|---|---|
| filename | string | The path to the configuration file that will be migrated to the new Celery settings format. |
| django | boolean | If true, applies Django-specific key filtering during the migration process. |
| compat | boolean | If true, maintains backwards compatibility by using legacy key mapping logic. |
| no_backup | boolean | If true, prevents the creation of a backup file before overwriting the original configuration file. |