Vivekananda_session4_4VP20CS062_Prajwal#3
Open
Prajwal7Amin wants to merge 2 commits intoUniCourt:mainfrom
Open
Vivekananda_session4_4VP20CS062_Prajwal#3Prajwal7Amin wants to merge 2 commits intoUniCourt:mainfrom
Prajwal7Amin wants to merge 2 commits intoUniCourt:mainfrom
Conversation
anushds
reviewed
Oct 12, 2023
| # the configuration object to child processes. | ||
| # - namespace='CELERY' means all celery-related configuration keys | ||
| # should have a `CELERY_` prefix. | ||
| app.config_from_object('django.conf:settings', namespace='CELERY') |
Author
There was a problem hiding this comment.
@anushds Settings from Django project's settings module is loaded. namespace='CELERY' is the namespace for the settings that Celery loads.
There was a problem hiding this comment.
@Prajwal7Amin could you give a example of what values are you exactly referring to?
|
|
||
| utc=pytz.UTC | ||
|
|
||
| @app.task(bind=True, name="extract") |
There was a problem hiding this comment.
@Prajwal7Amin You've added that name="extract", whose name is it implying?
Author
There was a problem hiding this comment.
@anushds name="extract" is specifying the name of the Celery task function that I have created.
There was a problem hiding this comment.
@Prajwal7Amin celery task function?
You're actually implying two things in your answer.
- You're saying that it's name of celery task.
- You're saying that it's name of function.
Which of them is correct?
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.