]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
📝 Remove mention of Celery in the project generators (#12742)
authorDavid Caro <me@dcaro.es>
Sun, 10 Nov 2024 17:23:38 +0000 (18:23 +0100)
committerGitHub <noreply@github.com>
Sun, 10 Nov 2024 17:23:38 +0000 (17:23 +0000)
Signed-off-by: David Caro <me@dcaro.es>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
docs/de/docs/tutorial/background-tasks.md
docs/em/docs/tutorial/background-tasks.md
docs/en/docs/tutorial/background-tasks.md
docs/fr/docs/tutorial/background-tasks.md
docs/ja/docs/tutorial/background-tasks.md
docs/ko/docs/tutorial/background-tasks.md
docs/pt/docs/tutorial/background-tasks.md
docs/ru/docs/tutorial/background-tasks.md
docs/zh/docs/tutorial/background-tasks.md

index d40b6d4fb59c167e7a83f57e6645377b2362f0c5..fc699daf465773537fed393d0aa6d248ee6cd56c 100644 (file)
@@ -133,8 +133,6 @@ Wenn Sie umfangreiche Hintergrundberechnungen durchführen müssen und diese nic
 
 Sie erfordern in der Regel komplexere Konfigurationen und einen Nachrichten-/Job-Queue-Manager wie RabbitMQ oder Redis, ermöglichen Ihnen jedoch die Ausführung von Hintergrundtasks in mehreren Prozessen und insbesondere auf mehreren Servern.
 
-Um ein Beispiel zu sehen, sehen Sie sich die [Projektgeneratoren](../project-generation.md){.internal-link target=_blank} an. Sie alle enthalten Celery, bereits konfiguriert.
-
 Wenn Sie jedoch über dieselbe **FastAPI**-Anwendung auf Variablen und Objekte zugreifen oder kleine Hintergrundtasks ausführen müssen (z. B. das Senden einer E-Mail-Benachrichtigung), können Sie einfach `BackgroundTasks` verwenden.
 
 ## Zusammenfassung
index 0f4585ebe1a8b3c1ea52764c9ae369e275e27af9..6b14c61357666e82c6591b6aebab07ca7823eb08 100644 (file)
@@ -97,8 +97,6 @@
 
 👫 😑 🚚 🌖 🏗 📳, 📧/👨‍🏭 📤 👨‍💼, 💖 ✳ ⚖️ ✳, ✋️ 👫 ✔ 👆 🏃 🖥 📋 💗 🛠️, &amp; ✴️, 💗 💽.
 
-👀 🖼, ✅ [🏗 🚂](../project-generation.md){.internal-link target=_blank}, 👫 🌐 🔌 🥒 ⏪ 📶.
-
 ✋️ 🚥 👆 💪 🔐 🔢 &amp; 🎚 ⚪️➡️ 🎏 **FastAPI** 📱, ⚖️ 👆 💪 🎭 🤪 🖥 📋 (💖 📨 📧 📨), 👆 💪 🎯 ⚙️ `BackgroundTasks`.
 
 ## 🌃
index 92427e36e81d542de4153acd450894f47e3f8a80..34685fcc40416a2a35bef3a3e2ed9d074cdec12a 100644 (file)
@@ -79,8 +79,6 @@ If you need to perform heavy background computation and you don't necessarily ne
 
 They tend to require more complex configurations, a message/job queue manager, like RabbitMQ or Redis, but they allow you to run background tasks in multiple processes, and especially, in multiple servers.
 
-To see an example, check the [Project Generators](../project-generation.md){.internal-link target=_blank}, they all include Celery already configured.
-
 But if you need to access variables and objects from the same **FastAPI** app, or you need to perform small background tasks (like sending an email notification), you can simply just use `BackgroundTasks`.
 
 ## Recap
index e14d5a8e8b96ba4cffbcd3e54225c195a44167f6..2065ca58ed58e83f1496460c07227cb0ade66c1b 100644 (file)
@@ -77,8 +77,6 @@ Si vous avez besoin de réaliser des traitements lourds en tâche d'arrière-pla
 
 Ces outils nécessitent généralement des configurations plus complexes ainsi qu'un gestionnaire de queue de message, comme RabbitMQ ou Redis, mais ils permettent d'exécuter des tâches d'arrière-plan dans différents process, et potentiellement, sur plusieurs serveurs.
 
-Pour voir un exemple, allez voir les [Générateurs de projets](../project-generation.md){.internal-link target=_blank}, ils incluent tous Celery déjà configuré.
-
 Mais si vous avez besoin d'accéder aux variables et objets de la même application **FastAPI**, ou si vous avez besoin d'effectuer de petites tâches d'arrière-plan (comme envoyer des notifications par email), vous pouvez simplement vous contenter d'utiliser `BackgroundTasks`.
 
 ## Résumé
index 6f93408175ba6bceb31509d5d9530fa62b0e68dd..8a4bc161c9af866fc5c5cc2e778f9c958596e88c 100644 (file)
@@ -85,8 +85,6 @@
 
 これらは、より複雑な構成、RabbitMQ や Redis などのメッセージ/ジョブキューマネージャーを必要とする傾向がありますが、複数のプロセス、特に複数のサーバーでバックグラウンドタスクを実行できます。
 
-例を確認するには、[Project Generators](../project-generation.md){.internal-link target=_blank} を参照してください。これらにはすべて、Celery が構築済みです。
-
 ただし、同じ **FastAPI** アプリから変数とオブジェクトにアクセスする必要がある場合、または小さなバックグラウンドタスク (電子メール通知の送信など) を実行する必要がある場合は、単に `BackgroundTasks` を使用できます。
 
 ## まとめ
index 376c52524db31b2d4fa9e1eeb0d6f8227d0dd7e9..27f265608f0118bae4eeaceb170438a9b859c76a 100644 (file)
@@ -97,8 +97,6 @@ FastAPI에서 `BackgroundTask`를 단독으로 사용하는 것은 여전히 가
 
 RabbitMQ 또는 Redis와 같은 메시지/작업 큐 시스템 보다 복잡한 구성이 필요한 경향이 있지만, 여러 작업 프로세스를 특히 여러 서버의 백그라운드에서 실행할 수 있습니다.
 
-예제를 보시려면 [프로젝트 생성기](../project-generation.md){.internal-link target=\_blank} 를 참고하세요. 해당 예제에는 이미 구성된 `Celery`가 포함되어 있습니다.
-
 그러나 동일한 FastAPI 앱에서 변수 및 개체에 접근해야햐는 작은 백그라운드 수행이 필요한 경우 (예 : 알림 이메일 보내기) 간단하게 `BackgroundTasks`를 사용해보세요.
 
 ## 요약
index 6a69ae2af93c2a242f48108ec78b2ecdc9c11f9c..0f3796371e0e6f99921ee1f8f1f2956cbe1ee2f2 100644 (file)
@@ -77,8 +77,6 @@ Se você precisa realizar cálculos pesados ​​em segundo plano e não necess
 
 Eles tendem a exigir configurações mais complexas, um gerenciador de fila de mensagens/tarefas, como RabbitMQ ou Redis, mas permitem que você execute tarefas em segundo plano em vários processos e, especialmente, em vários servidores.
 
-Para ver um exemplo, verifique os [Geradores de projeto](../project-generation.md){.internal-link target=\_blank}, todos incluem celery já configurado.
-
 Mas se você precisa acessar variáveis ​​e objetos do mesmo aplicativo **FastAPI**, ou precisa realizar pequenas tarefas em segundo plano (como enviar uma notificação por e-mail), você pode simplesmente usar `BackgroundTasks`.
 
 ## Recapitulando
index 0f6ce0eb320975fd9549e6cf798a897da94076cc..a4f98f643cfb1946cf38c68d7893f5abc7fbdd1f 100644 (file)
@@ -97,8 +97,6 @@
 
 Их тяжелее настраивать, также им нужен брокер сообщений наподобие RabbitMQ или Redis, но зато они позволяют вам запускать фоновые задачи в нескольких процессах и даже на нескольких серверах.
 
-Для примера, посмотрите [Project Generators](../project-generation.md){.internal-link target=_blank}, там есть проект с уже настроенным Celery.
-
 Но если вам нужен доступ к общим переменным и объектам вашего **FastAPI** приложения или вам нужно выполнять простые фоновые задачи (наподобие отправки письма из примера) вы можете просто использовать `BackgroundTasks`.
 
 ## Резюме
index 80622e12968b884bf00d61ef4d55f65a3d849d36..40e61add7fd6b7cfb07d331e5ba7b865162beb64 100644 (file)
 
 它们往往需要更复杂的配置,即消息/作业队列管理器,如RabbitMQ或Redis,但它们允许您在多个进程中运行后台任务,甚至是在多个服务器中。
 
-要查看示例,查阅 [Project Generators](../project-generation.md){.internal-link target=_blank},它们都包括已经配置的Celery。
-
 但是,如果您需要从同一个**FastAPI**应用程序访问变量和对象,或者您需要执行小型后台任务(如发送电子邮件通知),您只需使用 `BackgroundTasks` 即可。
 
 ## 回顾