- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 218 for tuples (0.15 sec)
-
docs/ru/docs/_llm-test.md
//// tab | Тест `pip install "foo[bar]"` Примеры строковых литералов во фрагментах кода: `"this"`, `'that'`. Сложный пример строковых литералов во фрагментах кода: `f"I like {'oranges' if orange else "apples"}"` Хардкор: `Yesterday, my friend wrote: "If you spell incorrectly correctly, you have spelled it incorrectly". To which I answered: "Correct, but 'incorrectly' is incorrectly not '"incorrectly"'"` ////
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Thu Dec 11 21:25:03 UTC 2025 - 17.5K bytes - Viewed (0) -
docs/en/mkdocs.yml
- release-notes.md markdown_extensions: material.extensions.preview: targets: include: - '*' abbr: null attr_list: null footnotes: null md_in_html: null tables: null toc: permalink: true pymdownx.betterem: null pymdownx.caret: null pymdownx.highlight: line_spans: __span pymdownx.inlinehilite: null pymdownx.keys: null pymdownx.mark: nullRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 10:44:55 UTC 2025 - 9.2K bytes - Viewed (0) -
tests/migrate_test.go
t.Fatalf("Failed to auto migrate, got error %v", err) } if tables, err := DB.Migrator().GetTables(); err != nil { t.Fatalf("Failed to get database all tables, but got error %v", err) } else { for _, t1 := range []string{"users", "accounts", "pets", "companies", "toys", "languages", "tools"} { hasTable := false for _, t2 := range tables { if t2 == t1 { hasTable = true break } }
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Wed Aug 20 04:51:17 UTC 2025 - 65.2K bytes - Viewed (0) -
docs/en/docs/tutorial/response-model.md
The same would happen if you had something like a <abbr title='A union between multiple types means "any of these types".'>union</abbr> between different types where one or more of them are not valid Pydantic types, for example this would fail 💥: {* ../../docs_src/response_model/tutorial003_04_py310.py hl[8] *}
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 15.5K bytes - Viewed (0) -
docs/pt/docs/tutorial/response-model.md
É equivalente a `set(["name", "description"])`. /// #### Usando `list`s em vez de `set`s { #using-lists-instead-of-sets } Se você esquecer de usar um `set` e usar uma `list` ou `tuple` em vez disso, o FastAPI ainda o converterá em um `set` e funcionará corretamente: {* ../../docs_src/response_model/tutorial006_py310.py hl[29,35] *} ## Recapitulação { #recap }
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 17.3K bytes - Viewed (0) -
docs/de/docs/_llm-test.md
//// tab | Test `pip install "foo[bar]"` Beispiele für Stringliterale in Codeschnipseln: `"this"`, `'that'`. Ein schwieriges Beispiel für Stringliterale in Codeschnipseln: `f"I like {'oranges' if orange else "apples"}"` Hardcore: `Yesterday, my friend wrote: "If you spell incorrectly correctly, you have spelled it incorrectly". To which I answered: "Correct, but 'incorrectly' is incorrectly not '"incorrectly"'"` ////
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 07:17:04 UTC 2025 - 12.6K bytes - Viewed (0) -
docs/fr/docs/features.md
Si vous souhaitez un rappel de 2 minutes sur l'utilisation des types en Python (même si vous ne comptez pas utiliser FastAPI), jetez un oeil au tutoriel suivant: [Python Types](python-types.md){.internal-link target=_blank}. Vous écrivez du python standard avec des annotations de types: ```Python from datetime import date from pydantic import BaseModel
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 11.1K bytes - Viewed (0) -
docs/fr/docs/tutorial/path-params.md
{"item_id":"foo"} ``` ## Paramètres de chemin typés Vous pouvez déclarer le type d'un paramètre de chemin dans la fonction, en utilisant les annotations de type Python : {* ../../docs_src/path_params/tutorial002.py hl[7] *} Ici, `item_id` est déclaré comme `int`. /// check | vérifier Ceci vous permettra d'obtenir des fonctionnalités de l'éditeur dans votre fonction, tellesRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 9.8K bytes - Viewed (0) -
docs/ja/docs/tutorial/body-nested-models.md
しかし、Pythonには型や「タイプパラメータ」を使ってリストを宣言する方法があります: ### typingの`List`をインポート まず、Pythonの標準の`typing`モジュールから`List`をインポートします: {* ../../docs_src/body_nested_models/tutorial002.py hl[1] *} ### タイプパラメータを持つ`List`の宣言 `list`や`dict`、`tuple`のようなタイプパラメータ(内部の型)を持つ型を宣言するには: * `typing`モジュールからそれらをインストールします。 * 角括弧(`[`と`]`)を使って「タイプパラメータ」として内部の型を渡します: ```Python from typing import List my_list: List[str] ``` 型宣言の標準的なPythonの構文はこれだけです。Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 8.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
get() = state == STATE_CLOSED override fun createRequestBody( request: Request, contentLength: Long, ): Sink = when { request.body?.isDuplex() == true -> throw ProtocolException( "Duplex connections are not supported for HTTP/1", ) request.isChunked -> newChunkedSink() // Stream a request body of unknown length.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 17.5K bytes - Viewed (7)