- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 199 for def2 (0.02 sec)
-
docs/bucket/notifications/README.md
```py #!/usr/bin/env python3 from __future__ import print_function import paho.mqtt.client as mqtt # This is the Subscriber def on_connect(client, userdata, flags, rc): print("Connected with result code "+str(rc)) # qos level is set to 1 client.subscribe("minio", 1) def on_message(client, userdata, msg): print(msg.payload)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 84.2K bytes - Viewed (0) -
cmd/object-api-putobject_test.go
4: {bucketName: bucket, inputData: []byte(""), expectedError: ObjectNameInvalid{Bucket: bucket, Object: ""}}, // Valid object and bucket names but non-existent bucket. 5: {bucketName: "abc", objName: "def", inputData: []byte(""), expectedError: BucketNotFound{Bucket: "abc"}}, // Input to replicate Md5 mismatch. 6: { bucketName: bucket, objName: object, inputData: []byte(""),
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 25.8K bytes - Viewed (0) -
docs/de/docs/tutorial/bigger-applications.md
{!../../docs_src/bigger_applications/app/routers/items.py!} ``` Da der Pfad jeder *Pfadoperation* mit `/` beginnen muss, wie in: ```Python hl_lines="1" @router.get("/{item_id}") async def read_item(item_id: str): ... ``` ... darf das Präfix kein abschließendes `/` enthalten. Das Präfix lautet in diesem Fall also `/items`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun May 11 13:37:26 UTC 2025 - 21K bytes - Viewed (0) -
docs/ru/docs/tutorial/bigger-applications.md
{!../../docs_src/bigger_applications/app/routers/items.py!} ``` Так как каждый *эндпоинт* начинается с символа `/`: ```Python hl_lines="1" @router.get("/{item_id}") async def read_item(item_id: str): ... ``` ...то префикс не должен заканчиваться символом `/`. В нашем случае префиксом является `/items`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun May 11 13:37:26 UTC 2025 - 30.5K bytes - Viewed (0) -
docs/ja/docs/features.md
型を使用した標準的なPythonを記述します: ```Python from datetime import date from pydantic import BaseModel # Declare a variable as a str # and get editor support inside the function def main(user_id: str): return user_id # A Pydantic model class User(BaseModel): id: int name: str joined: date ``` これは以下のように用いられます: ```Python
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 12.2K bytes - Viewed (0) -
docs/uk/docs/alternatives.md
```Python response = requests.get("http://example.com/some/url") ``` Відповідна операція *роуту* API FastAPI може виглядати так: ```Python hl_lines="1" @app.get("/some/url") def read_url(): return {"message": "Hello World"} ``` Зверніть увагу на схожість у `requests.get(...)` і `@app.get(...)`. /// check | Надихнуло **FastAPI** на * Майте простий та інтуїтивно зрозумілий API.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 38.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ListsTest.java
public void testCharactersOfIsView() { StringBuilder builder = new StringBuilder("abc"); List<Character> chars = charactersOf(builder); assertEquals(asList('a', 'b', 'c'), chars); builder.append("def"); assertEquals(asList('a', 'b', 'c', 'd', 'e', 'f'), chars); builder.deleteCharAt(5); assertEquals(asList('a', 'b', 'c', 'd', 'e'), chars); } public void testNewArrayListEmpty() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.4K bytes - Viewed (0) -
docs/pt/docs/alternatives.md
```Python response = requests.get("http://example.com/some/url") ``` A contra-parte da aplicação FastAPI, *rota de operação*, poderia parecer como: ```Python hl_lines="1" @app.get("/some/url") def read_url(): return {"message": "Hello World"} ``` Veja as similaridades em `requests.get(...)` e `@app.get(...)`. /// check | **FastAPI** inspirado para * Ter uma API simples e intuitiva.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 25.5K bytes - Viewed (0) -
docs/es/docs/alternatives.md
```Python response = requests.get("http://example.com/some/url") ``` La operación de path equivalente en FastAPI podría verse como: ```Python hl_lines="1" @app.get("/some/url") def read_url(): return {"message": "Hello World"} ``` Mira las similitudes entre `requests.get(...)` y `@app.get(...)`. /// check | Inspiró a **FastAPI** a * Tener un API simple e intuitivo.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 25.4K bytes - Viewed (0) -
docs/de/docs/alternatives.md
```Python response = requests.get("http://example.com/some/url") ``` Die entsprechende *Pfadoperation* der FastAPI-API könnte wie folgt aussehen: ```Python hl_lines="1" @app.get("/some/url") def read_url(): return {"message": "Hello World"} ``` Sehen Sie sich die Ähnlichkeiten in `requests.get(...)` und `@app.get(...)` an. /// check | Inspirierte **FastAPI**
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 26.7K bytes - Viewed (0)