per page, with , order by , clip by
Results of 1 - 5 of about 5 for TaskResult (0.006 sec.)
Django's Tasks framework 11453
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 ... r tests. ダミーバックエンド The DummyBackend doesn't execute enqueued Tasks at all, instead storing results for later use. Task results will forever remain in the READY state. This backend is not intended for use in production - it is provided as a conveni ... mail_users ( context , emails , subject , message ): logger . debug ( f "Attempt { context . attempt } to send user email. Task result id: { context . task_result . id } ." ) return send_mail ( subject = subject , message = message , from_email = None , re ... . enqueue ( emails = [ "user@example.com" ], subject = "You have a message" , message = "Hello there!" , ) This returns a TaskResult , which can be used to retrieve the result of the Task once it has finished executing. To enqueue Tasks in an async contex ...
https://man.mtool.work/django/6.1/topics/tasks.html
Tasks 11325
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 ... e async variant of enqueue . get_result ( result_id ) [ソース] Retrieves a result by its id. If the result does not exist, TaskResultDoesNotExist is raised. If the result is not the same type as the current Task, TaskResultMismatch is raised. If the backen ... passed to a Task if it was defined with takes_context=True . Attributes of TaskContext cannot be modified. task_result The TaskResult currently being run. attempt [ソース] The number of the current execution attempts for this Task, starting at 1. Task resu ... lts class TaskResultStatus [ソース] An Enum representing the status of a TaskResult . READY The Task has just been enqueued, or is ready to be ...
https://man.mtool.work/django/6.1/ref/tasks.html
索引 8309
索引 記号 | _ | 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 コマン ... dels.functions のクラス) (django.contrib.gis.measure のクラス) area (GEOSGeometry の属性) (OGRGeometry の属性) arefresh() (TaskResult のメソッド) arefresh_from_db() (Model のメソッド) aremove() (RelatedManager のメソッド) arg_joiner (Func の属性) args (Res ... ative() (EmailMultiAlternatives のメソッド) attach_file() (EmailMessage のメソッド) attempt (TaskContext の属性) attempts (TaskResult の属性) attr_value() (SpatialReference のメソッド) attrs (Widget の属性) aupdate() (backends.base.SessionBase のメソッド) ... メソッド) Avg (django.db.models のクラス) Azimuth (django.contrib.gis.db.models.functions のクラス) B backend (Task の属性) (TaskResult の属性) backends.base.SessionBase (django.contrib.sessions のクラス) backends.cached_db.SessionStore (django.contrib.sessi ...
https://man.mtool.work/django/6.1/genindex.html
シグナル 7721
シグナル Djangoが送信する全てのシグナルのリストです。全ての組み込みシグナルは send() メソッドを使用して送信されます。 参考 シグナルの登録方法と受信方法に関する情報については、 シグナルディスパッチャ のドキュメントを参照してください。 認証フ ... とともに送信される引数は以下の通りです: sender The backend class which the Task was enqueued on to. task_result The enqueued TaskResult . task_started django.tasks.signals. task_started Sent when a Task has started executing. このシグナルとともに送信される引 ... 数は以下の通りです: sender The backend class which the Task was enqueued on to. task_result The started TaskResult . task_finished django.tasks.signals. task_finished Sent once a Task has finished executing, successfully or otherwise. こ ... とともに送信される引数は以下の通りです: sender The backend class which the Task was enqueued on to. task_result The finished TaskResult . ...
https://man.mtool.work/django/6.1/ref/signals.html
Django 6.1 release notes 7114
Django 6.1 release notes August 5, 2026 Welcome to Django 6.1! These release notes cover the new features , as well as some backwards incompatible changes you'll want to be aware of when upgrading from Django 6.0 or earlier. We've begun the ... nested tags. Tasks The task() decorator now accepts **kwargs , which are forwarded to the backend's task_class . Task and TaskResult instances can now be pickled and unpickled. テスト assertContains() and assertNotContains() can now be called multiple tim ...
https://man.mtool.work/django/6.1/releases/6.1.html
PREV 1 NEXT