- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 81 for Hevery (0.14 sec)
-
docs/en/docs/advanced/openapi-callbacks.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 7.7K bytes - Viewed (0) -
docs/en/docs/tutorial/extra-models.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 7.7K bytes - Viewed (1) -
docs/en/docs/advanced/websockets.md
Or you might have any other way to communicate with the WebSocket endpoint. --- But for this example, we'll use a very simple HTML document with some JavaScript, all inside a long string. This, of course, is not optimal and you wouldn't use it for production. In production you would have one of the options above.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 6.2K bytes - Viewed (0) -
docs/tr/docs/project-generation.md
* **Güvenli şifreleme** . * **JWT token** kimlik doğrulama. * **SQLAlchemy** models (Flask dan bağımsızdır. Celery worker'ları ile kullanılabilir). * Kullanıcılar için temel başlangıç modeli (gerektiği gibi değiştirin ve kaldırın). * **Alembic** migration. * **CORS** (Cross Origin Resource Sharing). * **Celery** worker'ları ile backend içerisinden seçilen işleri çalıştırabilirsiniz.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Jan 22 19:55:41 GMT 2024 - 6K bytes - Viewed (0) -
docs/en/docs/how-to/extending-openapi.md
``` ### Cache the OpenAPI schema You can use the property `.openapi_schema` as a "cache", to store your generated schema. That way, your application won't have to generate the schema every time a user opens your API docs. It will be generated only once, and then the same cached schema will be used for the next requests. ```Python hl_lines="13-14 25-26" {!../../../docs_src/extending_openapi/tutorial001.py!}
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Aug 19 19:54:04 GMT 2023 - 3.2K bytes - Viewed (0) -
docs/ja/docs/project-generation.md
* **セキュアなパスワード** ハッシュ化 (デフォルトで)。 * **JWTトークン** 認証。 * **SQLAlchemy** モデル (Flask用の拡張と独立しているので、Celeryワーカーと直接的に併用できます)。 * 基本的なユーザーモデル (任意の修正や削除が可能)。 * **Alembic** マイグレーション。 * **CORS** (Cross Origin Resource Sharing (オリジン間リソース共有))。 * **Celery** ワーカー。バックエンドの残りの部分からモデルとコードを選択的にインポートし、使用可能。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Oct 18 05:47:45 GMT 2020 - 7.1K bytes - Viewed (0) -
docs/zh/docs/tutorial/background-tasks.md
如果您需要执行繁重的后台计算,并且不一定需要由同一进程运行(例如,您不需要共享内存、变量等),那么使用其他更大的工具(如 <a href="https://docs.celeryq.dev" class="external-link" target="_blank">Celery</a>)可能更好。 它们往往需要更复杂的配置,即消息/作业队列管理器,如RabbitMQ或Redis,但它们允许您在多个进程中运行后台任务,甚至是在多个服务器中。 要查看示例,查阅 [Project Generators](../project-generation.md){.internal-link target=_blank},它们都包括已经配置的Celery。 但是,如果您需要从同一个**FastAPI**应用程序访问变量和对象,或者您需要执行小型后台任务(如发送电子邮件通知),您只需使用 `BackgroundTasks` 即可。 ## 回顾
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Oct 17 05:59:11 GMT 2023 - 5K bytes - Viewed (0) -
tests/test_tutorial/test_schema_extra_example/test_tutorial004.py
# Test required and embedded body parameters with no bodies sent def test_post_body_example(): response = client.put( "/items/5", json={ "name": "Foo", "description": "A very nice Item", "price": 35.4, "tax": 3.2, }, ) assert response.status_code == 200 def test_openapi_schema(): response = client.get("/openapi.json")
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 6.9K bytes - Viewed (0) -
tests/test_tutorial/test_schema_extra_example/test_tutorial004_py310.py
@needs_py310 def test_post_body_example(client: TestClient): response = client.put( "/items/5", json={ "name": "Foo", "description": "A very nice Item", "price": 35.4, "tax": 3.2, }, ) assert response.status_code == 200 @needs_py310 def test_openapi_schema(client: TestClient):
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 7.1K bytes - Viewed (0) -
tests/test_tutorial/test_schema_extra_example/test_tutorial001_py310_pv1.py
@needs_py310 @needs_pydanticv1 def test_post_body_example(client: TestClient): response = client.put( "/items/5", json={ "name": "Foo", "description": "A very nice Item", "price": 35.4, "tax": 3.2, }, ) assert response.status_code == 200 @needs_py310 @needs_pydanticv1 def test_openapi_schema(client: TestClient):
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 4.5K bytes - Viewed (0)