per page, with , order by , clip by
Results of 1 - 10 of about 10 for TaskResult (0.012 sec.)
Tasks — Django 6.1 ドキュメント 11423
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 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 def ... 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 ... ssed 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 re ... sults ¶ class TaskResultStatus [ソース] ¶ An Enum representing the status of a TaskResult . READY ¶ The Task has just been enqueued, or is ready to ...
https://man.mtool.work/django/6.1/ref/tasks.html
Django's Tasks framework — Django 6.1 ドキュメント 11066
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 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 ofte ... 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
Django's Tasks framework — Django 6.1 ドキュメント 10941
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 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 ofte ... 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 — Django 6.1 ドキュメント 10833
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 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 def ... 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 ... ssed 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 re ... sults ¶ class TaskResultStatus [ソース] ¶ An Enum representing the status of a TaskResult . READY ¶ The Task has just been enqueued, or is ready to ...
https://man.mtool.work/django/6.1/ref/tasks.html
索引 — Django 6.1 ドキュメント 8098
Django 6.1 ドキュメント Home | Table of contents | Index | Modules up 索引 記号 | _ | 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 | ア | イ | ク | コ | シ | ス | テ | ハ | ヒ | フ | ... 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
索引 — Django 6.1 ドキュメント 8098
Django 6.1 ドキュメント Home | Table of contents | Index | Modules up 索引 記号 | _ | 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 | ア | イ | ク | コ | シ | ス | テ | ハ | ヒ | フ | ... 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
シグナル — Django 6.1 ドキュメント 7508
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » シグナル ¶ 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 . 目次 シグナル モデルのシグナル pre_init post_init pre_save post_save pre_delete post_delete m2m_changed class_prepared 管 ...
https://man.mtool.work/django/6.1/ref/signals.html
シグナル — Django 6.1 ドキュメント 7508
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » シグナル ¶ 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 . 目次 シグナル モデルのシグナル pre_init post_init pre_save post_save pre_delete post_delete m2m_changed class_prepared 管 ...
https://man.mtool.work/django/6.1/ref/signals.html
Django 6.1 release notes — Django 6.1 ドキュメント 6918
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 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 ... ested 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 t ...
https://man.mtool.work/django/6.1/releases/6.1.html
Django 6.1 release notes — Django 6.1 ドキュメント 6918
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 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 ... ested 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 t ...
https://man.mtool.work/django/6.1/releases/6.1.html
PREV 1 NEXT