- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 2,620 for patch (0.02 seconds)
-
tests/test_tutorial/test_body/test_tutorial001.py
import importlib from unittest.mock import patch import pytest from fastapi.testclient import TestClient from ...utils import needs_py310 @pytest.fixture( name="client", params=[ "tutorial001_py39", pytest.param("tutorial001_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.body.{request.param}")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 10.6K bytes - Click Count (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/ReleasedVersionsDetails.kt
mostRecentSnapshot = releasedVersions.latestReleaseSnapshot.gradleVersion() val testedVersions = previousVersions.filter { it.gradleVersion() >= lowestTestedVersion } // Only use latest patch release of each Gradle version allTestedVersions = testedVersions.map { VersionNumber.parse(it.gradleVersion().version) } .groupBy { "${it.major}.${it.minor}" }
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Sep 10 06:04:09 GMT 2025 - 3.3K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/JavaPathTypeTest.java
import java.io.File; import java.nio.file.Path; import java.util.List; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotEquals; public class JavaPathTypeTest { /** * {@return dummy paths to use in tests}. */ private static List<Path> paths() {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Nov 13 14:20:26 GMT 2025 - 2.9K bytes - Click Count (0) -
docs_src/sql_databases/tutorial002_an_py39.py
def read_hero(hero_id: int, session: SessionDep): hero = session.get(Hero, hero_id) if not hero: raise HTTPException(status_code=404, detail="Hero not found") return hero @app.patch("/heroes/{hero_id}", response_model=HeroPublic) def update_hero(hero_id: int, hero: HeroUpdate, session: SessionDep): hero_db = session.get(Hero, hero_id) if not hero_db:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Oct 09 19:44:42 GMT 2024 - 2.5K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/first-steps.md
* `@app.delete()` 以及更少見的: * `@app.options()` * `@app.head()` * `@app.patch()` * `@app.trace()` /// tip 你可以自由地使用每個操作(HTTP 方法)。 **FastAPI** 不強制任何特定的意義。 這裡的資訊作為一個指南,而不是要求。 例如,當使用 GraphQL 時,你通常只使用 `POST` 操作。 /// ### 第四步:定義 **路徑操作函式** 這是我們的「**路徑操作函式**」: * **path**: 是 `/`. * **operation**: 是 `get`. * **function**: 是裝飾器下面的函式(在 `@app.get("/")` 下面)。
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 11.6K bytes - Click Count (0) -
docs/en/docs/tutorial/first-steps.md
### Step 3: create a *path operation* { #step-3-create-a-path-operation } #### Path { #path } "Path" here refers to the last part of the URL starting from the first `/`. So, in a URL like: ``` https://example.com/items/foo ``` ...the path would be: ``` /items/foo ``` /// info A "path" is also commonly called an "endpoint" or a "route".Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 12.8K bytes - Click Count (0) -
.gitignore
# This file used by some vendor repos (e.g. github.com/go-openapi/...) to store secret variables and should not be ignored !\.drone\.sec /bazel-* *.pyc # generated by verify-vendor.sh
Created: Fri Dec 26 09:05:12 GMT 2025 - Last Modified: Thu Feb 29 08:22:06 GMT 2024 - 2.1K bytes - Click Count (0) -
docs_src/sql_databases/tutorial002_py39.py
def read_hero(hero_id: int, session: Session = Depends(get_session)): hero = session.get(Hero, hero_id) if not hero: raise HTTPException(status_code=404, detail="Hero not found") return hero @app.patch("/heroes/{hero_id}", response_model=HeroPublic) def update_hero( hero_id: int, hero: HeroUpdate, session: Session = Depends(get_session) ): hero_db = session.get(Hero, hero_id) if not hero_db:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Oct 09 19:44:42 GMT 2024 - 2.6K bytes - Click Count (0) -
docs/de/docs/tutorial/first-steps.md
Dies wird der Hauptinteraktionspunkt für die Erstellung all Ihrer APIs sein. ### Schritt 3: Erstellen einer *Pfadoperation* { #step-3-create-a-path-operation } #### Pfad { #path } „Pfad“ bezieht sich hier auf den letzten Teil der URL, beginnend mit dem ersten `/`. In einer URL wie: ``` https://example.com/items/foo ``` ... wäre der Pfad folglich:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 14.3K bytes - Click Count (0) -
okhttp/build.gradle.kts
// Patch the compileKotlinJvm output classes into the compilation so exporting packages works correctly. options.compilerArgs.addAll( listOf( "--patch-module", "$moduleName=${compileKotlinTask.destinationDirectory.get().asFile}" ) ) // Use the classpath of the compileKotlinJvm task. // Also, ensure that the module path is used instead of the classpath.
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Nov 01 12:18:11 GMT 2025 - 12.3K bytes - Click Count (0)