- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 487 for str (0.01 sec)
-
docs/ko/docs/tutorial/path-operation-configuration.md
/// note | 기술적 세부사항 다음과 같이 임포트하셔도 좋습니다. `from starlette import status`. **FastAPI**는 개발자 여러분의 편의를 위해서 `starlette.status`와 동일한 `fastapi.status`를 제공합니다. 하지만 Starlette에서 직접 온 것입니다. /// ## 태그 (보통 단일 `str`인) `str`로 구성된 `list`와 함께 매개변수 `tags`를 전달하여, `경로 작동`에 태그를 추가할 수 있습니다: {* ../../docs_src/path_operation_configuration/tutorial002.py hl[17,22,27] *} 전달된 태그들은 OpenAPI의 스키마에 추가되며, 자동 문서 인터페이스에서 사용됩니다:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 3.9K bytes - Viewed (0) -
docs/pt/docs/tutorial/query-params.md
{* ../../docs_src/query_params/tutorial005.py hl[6:7] *} Aqui o parâmetro de consulta `needy` é um valor obrigatório, do tipo `str`. Se você abrir no seu navegador a URL: ``` http://127.0.0.1:8000/items/foo-item ``` ... sem adicionar o parâmetro obrigatório `needy`, você verá um erro como: ```JSON {
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 4.9K bytes - Viewed (0) -
statement.go
} // QuoteTo write quoted value to writer func (stmt *Statement) QuoteTo(writer clause.Writer, field interface{}) { write := func(raw bool, str string) { if raw { writer.WriteString(str) } else { stmt.DB.Dialector.QuoteTo(writer, str) } } switch v := field.(type) { case clause.Table: if v.Name == clause.CurrentTable { if stmt.TableExpr != nil { stmt.TableExpr.Build(stmt)
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Sep 04 13:13:16 UTC 2025 - 20.8K bytes - Viewed (0) -
docs/en/docs/advanced/custom-response.md
The main `Response` class, all the other responses inherit from it. You can return it directly. It accepts the following parameters: * `content` - A `str` or `bytes`. * `status_code` - An `int` HTTP status code. * `headers` - A `dict` of strings. * `media_type` - A `str` giving the media type. E.g. `"text/html"`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 12.2K bytes - Viewed (0) -
docs/em/docs/advanced/settings.md
, 🔢 🔛 ⚫️ 🔜 🛠️ 🕐 🔠 🌀 ❌. & ⤴️ 💲 📨 🔠 👈 🌀 ❌ 🔜 ⚙️ 🔄 & 🔄 🕐❔ 🔢 🤙 ⏮️ ⚫️❔ 🎏 🌀 ❌. 🖼, 🚥 👆 ✔️ 🔢: ```Python @lru_cache def say_hi(name: str, salutation: str = "Ms."): return f"Hello {salutation} {name}" ``` 👆 📋 💪 🛠️ 💖 👉: ```mermaid sequenceDiagram participant code as Code participant function as say_hi()
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 11.1K bytes - Viewed (0) -
docs/ja/docs/tutorial/body.md
関数パラメータは以下の様に認識されます: * パラメータが**パス**で宣言されている場合は、優先的にパスパラメータとして扱われます。 * パラメータが**単数型** (`int`、`float`、`str`、`bool` など)の場合は**クエリ**パラメータとして解釈されます。 * パラメータが **Pydantic モデル**型で宣言された場合、リクエスト**ボディ**として解釈されます。 /// note | 備考 FastAPIは、`= None`があるおかげで、`q`がオプショナルだとわかります。 `Optional[str]` の`Optional` はFastAPIでは使用されていません(FastAPIは`str`の部分のみ使用します)。しかし、`Optional[str]` はエディタがコードのエラーを見つけるのを助けてくれます。 /// ## Pydanticを使わない方法
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Jul 26 10:48:11 UTC 2025 - 7.8K bytes - Viewed (0) -
docs/em/docs/tutorial/response-model.md
## 📨 🏷 🔢 🔢 👆 📨 🏷 💪 ✔️ 🔢 💲, 💖: {* ../../docs_src/response_model/tutorial004.py hl[11,13:14] *} * `description: Union[str, None] = None` (⚖️ `str | None = None` 🐍 3️⃣.1️⃣0️⃣) ✔️ 🔢 `None`. * `tax: float = 10.5` ✔️ 🔢 `10.5`. * `tags: List[str] = []` 🔢 🛁 📇: `[]`. ✋️ 👆 💪 💚 🚫 👫 ⚪️➡️ 🏁 🚥 👫 🚫 🤙 🏪. 🖼, 🚥 👆 ✔️ 🏷 ⏮️ 📚 📦 🔢 ☁ 💽, ✋️ 👆 🚫 💚 📨 📶 📏 🎻 📨 🌕 🔢 💲.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 12.2K bytes - Viewed (0) -
docs/fr/docs/tutorial/path-params-numeric-validations.md
/// tip Ce n'est probablement pas aussi important ou nécessaire si vous utilisez `Annotated`. /// Disons que vous voulez déclarer le paramètre de requête `q` comme un `str` requis. Et vous n'avez pas besoin de déclarer autre chose pour ce paramètre, donc vous n'avez pas vraiment besoin d'utiliser `Query`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 6.9K bytes - Viewed (0) -
configure.py
def write_action_env_to_bazelrc(var_name, var): write_to_bazelrc('build --action_env {}="{}"'.format(var_name, str(var))) def write_repo_env_to_bazelrc(config_name, var_name, var): write_to_bazelrc( 'build:{} --repo_env {}="{}"'.format(config_name, var_name, str(var)) ) def run_shell(cmd, allow_non_zero=False, stderr=None): if stderr is None: stderr = sys.stdout
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Wed Apr 30 15:18:54 UTC 2025 - 48.3K bytes - Viewed (0) -
docs/es/docs/advanced/security/oauth2-scopes.md
Para eso, actualizamos el modelo de Pydantic `TokenData` con una nueva propiedad `scopes`. Al validar los datos con Pydantic podemos asegurarnos de que tenemos, por ejemplo, exactamente una `list` de `str` con los scopes y un `str` con el `username`. En lugar de, por ejemplo, un `dict`, o algo más, ya que podría romper la aplicación en algún punto posterior, haciéndolo un riesgo de seguridad.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 13.8K bytes - Viewed (0)