- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 243 for DEF (0.01 sec)
-
docs/de/docs/deployment/docker.md
* Erstellen Sie eine `main.py`-Datei mit: ```Python from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Union[str, None] = None): return {"item_id": item_id, "q": q} ``` ### Dockerfile
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 38.9K bytes - Viewed (0) -
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) -
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
.Builder() .body("ABC") .clearHeaders() .addHeader("Content-Length: 4") .build(), ) server.enqueue( MockResponse .Builder() .body("DEF") .build(), ) val urlConnection = server.url("/").toUrl().openConnection() urlConnection!!.readTimeout = 1000 val inputStream = urlConnection.getInputStream()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Aug 03 22:38:00 UTC 2025 - 28K bytes - Viewed (0) -
docs/es/docs/tutorial/bigger-applications.md
{!../../docs_src/bigger_applications/app/routers/items.py!} ``` Como el path de cada *path operation* tiene que empezar con `/`, como en: ```Python hl_lines="1" @router.get("/{item_id}") async def read_item(item_id: str): ... ``` ...el prefijo no debe incluir un `/` final. Así que, el prefijo en este caso es `/items`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun May 11 13:37:26 UTC 2025 - 19.3K bytes - Viewed (0) -
docs/pt/docs/tutorial/bigger-applications.md
{!../../docs_src/bigger_applications/app/routers/items.py!} ``` Como o caminho de cada *operação de rota* deve começar com `/`, como em: ```Python hl_lines="1" @router.get("/{item_id}") async def read_item(item_id: str): ... ``` ...o prefixo não deve incluir um `/` final. Então, o prefixo neste caso é `/items`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun May 11 13:37:26 UTC 2025 - 19.6K 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/em/docs/alternatives.md
🌌 👆 ⚙️ ⚫️ 📶 🙅. 🖼, `GET` 📨, 👆 🔜 ✍: ```Python response = requests.get("http://example.com/some/url") ``` FastAPI 😑 🛠️ *➡ 🛠️* 💪 👀 💖: ```Python hl_lines="1" @app.get("/some/url") def read_url(): return {"message": "Hello World"} ``` 👀 🔀 `requests.get(...)` & `@app.get(...)`. /// check | 😮 **FastAPI** * ✔️ 🙅 & 🏋️ 🛠️. * ⚙️ 🇺🇸🔍 👩🔬 📛 (🛠️) 🔗, 🎯 & 🏋️ 🌌.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 18.6K 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)