- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 95 for Haines (0.3 sec)
-
docs/pt/docs/contributing.md
``` docs/en/docs/mkdocs.yml ``` * Procure o lugar onde `docs/features.md` está localizado no arquivo de configuração. Algum lugar como: ```YAML hl_lines="8" site_name: FastAPI # Mais coisas nav: - FastAPI: index.md - Languages: - en: / - es: /es/ - features.md ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Jun 11 21:38:15 GMT 2023 - 14.9K bytes - Viewed (0) -
docs/ja/docs/async.md
`await` が機能するためには、非同期処理をサポートする関数内にある必要があります。これは、`async def` で関数を宣言するだけでよいです: ```Python hl_lines="1" async def get_burgers(number: int): # ハンバーガーを作成するために非同期処理を実行 return burgers ``` ...`def` のかわりに: ```Python hl_lines="2" # 非同期ではない def get_sequential_burgers(number: int): # ハンバーガーを作成するためにシーケンシャルな処理を実行 return burgers ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 27.8K bytes - Viewed (0) -
docs/ja/docs/tutorial/security/first-steps.md
その場合、**FastAPI**はそれを構築するためのツールも提供します。 `OAuth2PasswordBearer` クラスのインスタンスを作成する時に、パラメーター`tokenUrl`を渡します。このパラメーターには、クライアント (ユーザーのブラウザで動作するフロントエンド) がトークンを取得するために`ユーザー名`と`パスワード`を送信するURLを指定します。 ```Python hl_lines="6" {!../../../docs_src/security/tutorial001.py!} ``` !!! tip "豆知識" ここで、`tokenUrl="token"`は、まだ作成していない相対URL`token`を指します。相対URLなので、`./token`と同じです。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 10.5K bytes - Viewed (0) -
docs/de/docs/features.md
Mit **FastAPI** bekommen Sie alles von **Starlette** (da FastAPI nur Starlette auf Steroiden ist): * Schwer beeindruckende Performanz. Es ist <a href="https://github.com/encode/starlette#performance" class="external-link" target="_blank">eines der schnellsten Python-Frameworks, auf Augenhöhe mit **NodeJS** und **Go**</a>. * **WebSocket**-Unterstützung. * Hintergrundaufgaben im selben Prozess. * Ereignisse beim Starten und Herunterfahren.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 19:43:43 GMT 2024 - 10.8K bytes - Viewed (0) -
docs/hu/docs/index.md
return {"item_id": item_id, "q": q} ``` <details markdown="1"> <summary>Vagy használd az <code>async def</code>-et...</summary> Ha a kódod `async` / `await`-et, használ `async def`: ```Python hl_lines="9 14" from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") async def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}")
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 20.2K bytes - Viewed (0) -
docs/es/docs/index.md
return {"item_id": item_id, "q": q} ``` <details markdown="1"> <summary>O usa <code>async def</code>...</summary> Si tu código usa `async` / `await`, usa `async def`: ```Python hl_lines="7 12" from fastapi import FastAPI from typing import Union app = FastAPI() @app.get("/") async def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}")
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 19K bytes - Viewed (0) -
docs/bn/docs/index.md
``` <details markdown="1"> <summary>অথবা ব্যবহার করুন <code>async def</code>...</summary> যদি আপনার কোড `async` / `await`, ব্যবহার করে তাহলে `async def` ব্যবহার করুন: ```Python hl_lines="9 14" from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") async def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}")
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 23:58:47 GMT 2024 - 30.2K bytes - Viewed (0) -
docs/ko/docs/deployment/docker.md
``` . ├── Dockerfile ├── main.py └── requirements.txt ``` 그러면 여러분들은 `Dockerfile` 내에 있는 파일을 복사하기 위해 그저 상응하는 경로를 바꾸기만 하면 됩니다: ```{ .dockerfile .annotate hl_lines="10 13" } FROM python:3.9 WORKDIR /code COPY ./requirements.txt /code/requirements.txt RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt # (1) COPY ./main.py /code/
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 42.6K bytes - Viewed (0) -
docs/ja/docs/alternatives.md
> Requestsは今までで最もダウンロードされたPythonパッケージである 使い方はとても簡単です。例えば、`GET`リクエストを実行するには、このように書けば良いです: ```Python response = requests.get("http://example.com/some/url") ``` 対応するFastAPIのパスオペレーションはこのようになります: ```Python hl_lines="1" @app.get("/some/url") def read_url(): return {"message": "Hello World"} ``` `requests.get(...)` と`@app.get(...)` には類似点が見受けられます。 !!! check "**FastAPI**へ与えたインスピレーション" * シンプルで直感的なAPIを持っている点。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 31.6K bytes - Viewed (0) -
tests/test_dependency_contextmanager.py
with pytest.raises(OtherDependencyError): client.get("/async_raise_other") assert state["/async_raise"] == "asyncgen raise finalized" assert "/async_raise" not in errors def test_sync_raise_other(): assert state["/sync_raise"] == "generator raise not started" with pytest.raises(OtherDependencyError): client.get("/sync_raise_other")
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Feb 24 23:06:37 GMT 2024 - 11.6K bytes - Viewed (0)