- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 51 for Suplee (0.57 sec)
-
docs/ja/docs/python-types.md
タイプがなければ、それはほぼ不可能です。 変数`item`はリスト`items`の要素の一つであることに注意してください。 それでも、エディタはそれが`str`であることを知っていて、そのためのサポートを提供しています。 #### `Tuple` と `Set` `tuple`と`set`の宣言も同様です: ```Python hl_lines="1 4" {!../../../docs_src/python_types/tutorial007.py!} ``` つまり: * 変数`items_t`は`int`、`int`、`str`の3つの項目を持つ`tuple`です * 変数`items_s`はそれぞれの項目が`bytes`型である`set`です。 #### `Dict` `dict`を宣言するためには、カンマ区切りで2つの型パラメータを渡します。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 11.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/CallServerInterceptor.kt
exchange.responseHeadersStart() invokeStartEvent = false } if (responseBuilder == null) { if (requestBody.isDuplex()) { // Prepare a duplex body so that the application can send a request body later. exchange.flushRequest() val bufferedRequestBody = exchange.createRequestBody(request, true).buffer()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6.3K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/RequestBody.kt
* bodies may only be used with HTTP/2. Calls to HTTP/1 servers will fail before the HTTP request * is transmitted. If you cannot ensure that your client and server both support HTTP/2, do not * use this feature. * * ### Duplex APIs * * With regular request bodies it is not legal to write bytes to the sink passed to
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Jan 25 14:41:37 GMT 2024 - 9.6K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/AsyncRequestBody.kt
* limitations under the License. */ package okhttp3.internal.duplex import java.util.concurrent.BlockingQueue import java.util.concurrent.LinkedBlockingQueue import java.util.concurrent.TimeUnit.SECONDS import okhttp3.MediaType import okhttp3.RequestBody import okio.BufferedSink import org.junit.jupiter.api.Assertions.assertTrue /** A duplex request body that keeps the provided sinks so they can be written to later. */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 1.5K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/duplex/MockStreamHandler.kt
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package mockwebserver3.internal.duplex import java.io.IOException import java.util.concurrent.CountDownLatch import java.util.concurrent.FutureTask import java.util.concurrent.LinkedBlockingQueue import java.util.concurrent.TimeUnit
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.2K bytes - Viewed (0) -
docs/ja/docs/tutorial/body-nested-models.md
### typingの`List`をインポート まず、Pythonの標準の`typing`モジュールから`List`をインポートします: ```Python hl_lines="1" {!../../../docs_src/body_nested_models/tutorial002.py!} ``` ### タイプパラメータを持つ`List`の宣言 `list`や`dict`、`tuple`のようなタイプパラメータ(内部の型)を持つ型を宣言するには: * `typing`モジュールからそれらをインストールします。 * 角括弧(`[`と`]`)を使って「タイプパラメータ」として内部の型を渡します: ```Python from typing import List my_list: List[str] ``` 型宣言の標準的なPythonの構文はこれだけです。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 8.7K bytes - Viewed (0) -
docs/zh/docs/tutorial/body-nested-models.md
### 从 typing 导入 `List` 首先,从 Python 的标准库 `typing` 模块中导入 `List`: ```Python hl_lines="1" {!> ../../../docs_src/body_nested_models/tutorial002.py!} ``` ### 声明具有子类型的 List 要声明具有子类型的类型,例如 `list`、`dict`、`tuple`: * 从 `typing` 模块导入它们 * 使用方括号 `[` 和 `]` 将子类型作为「类型参数」传入 ```Python from typing import List my_list: List[str] ``` 这完全是用于类型声明的标准 Python 语法。 对具有子类型的模型属性也使用相同的标准语法。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.3K bytes - Viewed (0) -
docs/em/docs/python-types.md
#### 🔢 & ⚒ 👆 🔜 🎏 📣 `tuple`Ⓜ & `set`Ⓜ: === "🐍 3️⃣.6️⃣ & 🔛" ```Python hl_lines="1 4" {!> ../../../docs_src/python_types/tutorial007.py!} ``` === "🐍 3️⃣.9️⃣ & 🔛" ```Python hl_lines="1" {!> ../../../docs_src/python_types/tutorial007_py39.py!} ``` 👉 ⛓: * 🔢 `items_t` `tuple` ⏮️ 3️⃣ 🏬, `int`, ➕1️⃣ `int`, & `str`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 13.6K bytes - Viewed (0) -
docs/em/docs/tutorial/body-nested-models.md
```Python hl_lines="1" {!> ../../../docs_src/body_nested_models/tutorial002.py!} ``` ### 📣 `list` ⏮️ 🆎 🔢 📣 🆎 👈 ✔️ 🆎 🔢 (🔗 🆎), 💖 `list`, `dict`, `tuple`: * 🚥 👆 🐍 ⏬ 🔅 🌘 3️⃣.9️⃣, 🗄 👫 🌓 ⏬ ⚪️➡️ `typing` 🕹 * 🚶♀️ 🔗 🆎(Ⓜ) "🆎 🔢" ⚙️ ⬜ 🗜: `[` & `]` 🐍 3️⃣.9️⃣ ⚫️ 🔜: ```Python my_list: list[str] ``` ⏬ 🐍 ⏭ 3️⃣.9️⃣, ⚫️ 🔜: ```Python
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.2K bytes - Viewed (0) -
docs/ru/docs/tutorial/response-model.md
Того же самого можно достичь используя `set(["name", "description"])`. #### Что если использовать `list` вместо `set`? Если вы забыли про `set` и использовали структуру `list` или `tuple`, FastAPI автоматически преобразует этот объект в `set`, чтобы обеспечить корректную работу: === "Python 3.10+" ```Python hl_lines="29 35" {!> ../../../docs_src/response_model/tutorial006_py310.py!}
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 30.5K bytes - Viewed (0)