- Sort Score
- Result 10 results
- Languages All
Results 411 - 420 of 645 for Pythons (0.16 sec)
-
docs/es/docs/advanced/openapi-callbacks.md
El código real del callback dependerá mucho de tu propia aplicación API. Y probablemente variará mucho de una aplicación a otra. Podría ser solo una o dos líneas de código, como: ```Python callback_url = "https://example.com/api/v1/invoices/events/" httpx.post(callback_url, json={"description": "Invoice paid", "paid": True}) ```
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 16:33:45 UTC 2025 - 8.3K bytes - Viewed (0) -
fastapi/security/http.py
`username` and the `password`. Read more about it in the [FastAPI docs for HTTP Basic Auth](https://fastapi.tiangolo.com/advanced/security/http-basic-auth/). ## Example ```python from typing import Annotated from fastapi import Depends, FastAPI from fastapi.security import HTTPBasic, HTTPBasicCredentials app = FastAPI() security = HTTPBasic()Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 13.2K bytes - Viewed (0) -
docs/en/docs/tutorial/query-params.md
But when you declare them with Python types (in the example above, as `int`), they are converted to that type and validated against it. All the same process that applied for path parameters also applies for query parameters: * Editor support (obviously) * Data <abbr title="converting the string that comes from an HTTP request into Python data">"parsing"</abbr> * Data validation * Automatic documentation
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4.5K bytes - Viewed (0) -
docs/pt/docs/tutorial/response-status-code.md
/// O parâmetro `status_code` recebe um número com o código de status HTTP. /// info | Informação `status_code` também pode receber um `IntEnum`, como o do Python <a href="https://docs.python.org/3/library/http.html#http.HTTPStatus" class="external-link" target="_blank">`http.HTTPStatus`</a>. /// Dessa forma: * Este código de status será retornado na resposta.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4.4K bytes - Viewed (0) -
docs/ru/docs/tutorial/query-params.md
Но когда вы объявляете их с использованием типов Python (в примере выше, как `int`), они конвертируются в указанный тип данных и проходят проверку на соответствие ему. Все те же правила, которые применяются к path-параметрам, также применяются и query-параметрам: * Поддержка от редактора кода (очевидно) * <abbr title="преобразование строки, полученной из HTTP запроса в Python данные">"Парсинг"</abbr> данных
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 7.8K bytes - Viewed (0) -
docs/ja/docs/tutorial/body.md
{* ../../docs_src/body/tutorial001.py hl[4] *} ## データモデルの作成 そして、`BaseModel` を継承したクラスとしてデータモデルを宣言します。 すべての属性にpython標準の型を使用します: {* ../../docs_src/body/tutorial001.py hl[7:11] *} クエリパラメータの宣言と同様に、モデル属性がデフォルト値をもつとき、必須な属性ではなくなります。それ以外は必須になります。オプショナルな属性にしたい場合は `None` を使用してください。 例えば、上記のモデルは以下の様なJSON「`オブジェクト`」(もしくはPythonの `dict` ) を宣言しています: ```JSON { "name": "Foo", "description": "An optional description",Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Jul 26 10:48:11 UTC 2025 - 7.8K bytes - Viewed (0) -
docs/ja/docs/tutorial/security/oauth2-jwt.md
## `python-jose` のインストール PythonでJWTトークンの生成と検証を行うために、`python-jose`をインストールする必要があります: <div class="termy"> ```console $ pip install python-jose[cryptography] ---> 100% ``` </div> また、<a href="https://github.com/mpdavis/python-jose" class="external-link" target="_blank">Python-jose</a>だけではなく、暗号を扱うためのパッケージを追加で必要とします。
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 14K bytes - Viewed (1) -
docs/pt/docs/tutorial/handling-errors.md
### Lance o `HTTPException` no seu código { #raise-an-httpexception-in-your-code } `HTTPException`, ao fundo, nada mais é do que a conjunção entre uma exceção comum do Python e informações adicionais relevantes para APIs. E porque é uma exceção do Python, você não **retorna** (return) o `HTTPException`, você lança o (raise) no seu código.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 10.2K bytes - Viewed (0) -
docs/es/docs/tutorial/handling-errors.md
### Lanza un `HTTPException` en tu código { #raise-an-httpexception-in-your-code } `HTTPException` es una excepción de Python normal con datos adicionales relevantes para APIs. Debido a que es una excepción de Python, no la `return`, sino que la `raise`.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 9.7K bytes - Viewed (0) -
docs/extensions/s3zip/examples/boto3/main.py
#!/usr/bin/env/python import boto3 from botocore.client import Config s3 = boto3.client('s3', endpoint_url='http://localhost:9000', aws_access_key_id='YOUR-ACCESSKEYID', aws_secret_access_key='YOUR-SECRETACCESSKEY', config=Config(signature_version='s3v4'), region_name='us-east-1') def _add_header(request, **kwargs): request.headers.add_header('x-minio-extract', 'true')
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Aug 04 21:15:45 UTC 2021 - 771 bytes - Viewed (0)