- Sort Score
- Result 10 results
- Languages All
Results 1411 - 1420 of 1,452 for DEF (0.03 sec)
-
docs/ko/docs/features.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 11.8K bytes - Viewed (0) -
docs/tr/docs/alternatives.md
```Python response = requests.get("http://example.com/some/url") ``` Bunun FastAPI'deki API <abbr title="Yol İşlemi: Path Operation">*yol işlemi*</abbr> şöyle görünür: ```Python hl_lines="1" @app.get("/some/url") def read_url(): return {"message": "Hello World!"} ``` `requests.get(...)` ile `@app.get(...)` arasındaki benzerliklere bakın. /// check | "**FastAPI**'a nasıl ilham verdi?"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 28.8K bytes - Viewed (0) -
docs/ru/docs/alternatives.md
```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**" * Должен быть простой и понятный API.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 39.3K bytes - Viewed (0) -
docs/ru/docs/deployment/docker.md
* Создайте файл `main.py` и заполните его: ```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 Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Aug 12 21:47:53 UTC 2024 - 57.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt
assertFailsWith<IOException> { sink2.writeUtf8("abc") sink2.flush() }.also { expected -> assertThat(expected.message).isEqualTo("stream was reset: REFUSED_STREAM") } sink1.writeUtf8("def") sink1.close() assertFailsWith<ConnectionShutdownException> { connection.newStream(headerEntries("c", "cola"), true) } assertThat(stream1.isOpen).isTrue()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 75.4K bytes - Viewed (0) -
tests/migrate_test.go
if DB.Dialector.Name() != "mysql" { t.Skip() } type MyTable struct { Def string `gorm:"size:512;index:idx_def,unique"` Abc string `gorm:"size:65000000"` } DB.Migrator().DropTable("my_tables") sql := "CREATE TABLE `my_tables` (`def` varchar(512),`abc` longtext,UNIQUE INDEX `idx_def` (`def`))" if err := DB.Exec(sql).Error; err != nil { t.Errorf("Failed, got error: %v", err) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Mar 18 11:24:16 UTC 2024 - 56.2K bytes - Viewed (0) -
docs/pt/docs/deployment/docker.md
* Crie um arquivo `main.py` com: ```Python from typing import Optional 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 Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Aug 12 21:47:53 UTC 2024 - 37.4K bytes - Viewed (0) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
fun responseTimeout() { server.enqueue( MockResponse() .setBody("ABC") .clearHeaders() .addHeader("Content-Length: 4"), ) server.enqueue(MockResponse().setBody("DEF")) val urlConnection = server.url("/").toUrl().openConnection() urlConnection.setReadTimeout(1000) val inputStream = urlConnection.getInputStream() assertThat(inputStream.read()).isEqualTo('A'.code)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 21.9K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
MockResponse.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 Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 23.5K 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 Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 21K bytes - Viewed (0)