Buckets:
| import os | |
| from celery import Celery | |
| os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'simulationserver.settings') | |
| app = Celery('simulationserver') | |
| app.config_from_object('django.conf:settings', namespace='CELERY') | |
| app.autodiscover_tasks() | |
| def debug_task(self): | |
| print(f'Request: {self.request!r}') | |
Xet Storage Details
- Size:
- 345 Bytes
- Xet hash:
- 7d4f1965b3ada937baa75763f0f5c4b5cd31a9b2566575c390c79e419b37227c
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.