-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(code): Format Python code with psf/black
- Loading branch information
1 parent
d29bcf8
commit d4aeb06
Showing
3 changed files
with
141 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
from celery import Celery | ||
|
||
app = Celery('Distributed-Image-Processing-System', | ||
broker='amqp://dist:dist@localhost/imageproc', # The IP shoul$ | ||
backend='redis://localhost:6379/0', # The IP should be change$ | ||
include=['client']) | ||
app.conf.task_serializer = 'pickle' | ||
app.conf.result_serializer = 'pickle' | ||
app.conf.accept_content = ['pickle'] | ||
app.conf.worker_send_task_events = 'true' | ||
app = Celery( | ||
"Distributed-Image-Processing-System", | ||
broker="amqp://dist:dist@localhost/imageproc", # The IP shoul$ | ||
backend="redis://localhost:6379/0", # The IP should be change$ | ||
include=["client"], | ||
) | ||
app.conf.task_serializer = "pickle" | ||
app.conf.result_serializer = "pickle" | ||
app.conf.accept_content = ["pickle"] | ||
app.conf.worker_send_task_events = "true" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters