per page, with , order by , clip by
Results of 1 - 4 of about 4 for ImmediateBackend (0.058 sec.)
Django's Tasks framework 11576
Django's Tasks framework New in Django 6.0: For older Django versions, the django-tasks backport is available. For a web application, there's often more than just turning HTTP requests into HTTP responses. For some functionality, it may be ... iple are supported. Immediate execution This is the default backend if another is not specified in your settings file. The ImmediateBackend runs enqueued Tasks immediately, rather than in the background. This allows background Task functionality to be slowly add ... n application, before the required infrastructure is available. To use it, set BACKEND to "django.tasks.backends.immediate.ImmediateBackend" : TASKS = { "default" : { "BACKEND" : "django.tasks.backends.immediate.ImmediateBackend" }} The ImmediateBackend may also ... changing type. For example, consider this Task: @task () def double_dictionary ( key ): return { key : key * 2 } With the ImmediateBackend configured as the default backend: >>> result = double_dictionary . enqueue (( 1 , 2 , 3 )) >>> result . status FAILED >>> ...
https://man.mtool.work/django/6.1/topics/tasks.html
Tasks 10522
Tasks New in Django 6.0. The Task framework provides the contract and plumbing for background work, not the engine that runs it. The Tasks API defines how work is described, queued, and tracked, but leaves actual execution to external infra ... ered by their priority . The below table notes which of the built-in backends support which features: Feature DummyBackend ImmediateBackend supports_defer Yes No supports_async_task Yes Yes supports_get_result No No [ 1 ] supports_priority Yes [ 2 ] Yes [ 3 ] Av ... ackends. These support local execution and inspection, for production ready backends refer to Configuring a Task backend . Immediate backend class ImmediateBackend [ソース] The immediate backend executes Tasks immediately, rather than in the background. ダミーバ ... [ソース] Raised by get_result() when the provided result_id is for a different Task than the current Task. 脚注 [ 1 ] The ImmediateBackend doesn't officially support get_result() , despite implementing the API, since the result cannot be retrieved from a differ ...
https://man.mtool.work/django/6.1/ref/tasks.html
設定 7507
設定 警告 設定を上書きするとき、特にデフォルト値が空でないリストや辞書の場合、例えば STATICFILES_FINDERS などは、注意してください。Djangoの使用したい機能に必要なコンポーネントを保持するようにしてください。 コアの設定 ここでは、Django の cor ... れとは 結合されません 。 TASKS New in Django 6.0. デフォルト値: { "default" : { "BACKEND" : "django.tasks.backends.immediate.ImmediateBackend" , } } A dictionary containing the settings for all Task backends to be used with Django. It is a nested dictionary whose ... sks backend to use. The built-in backends are: 'django.tasks.backends.dummy.DummyBackend' 'django.tasks.backends.immediate.ImmediateBackend' You can use a backend that doesn't ship with Django by setting BACKEND to a fully-qualified path of a backend class (i.e. ...
https://man.mtool.work/django/6.1/ref/settings.html
索引 7360
索引 記号 | _ | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | ア | イ | ク | コ | シ | ス | テ | ハ | ヒ | フ | メ | モ | ロ | 具 | 国 | 環 | 翻 | 表 | 言 | 長 記号 -- dbshell コマン ... _URLS setting ImageField (django.db.models のクラス) (django.forms のクラス) ImageFile (django.core.files.images のクラス) ImmediateBackend (django.tasks.backends.immediate のクラス) import_epsg() (SpatialReference のメソッド) import_proj() (SpatialReference のメ ...
https://man.mtool.work/django/6.1/genindex.html
PREV 1 NEXT