- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 6,286 for retain (0.07 seconds)
-
docs_src/sql_databases/tutorial002_py310.py
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: raise HTTPException(status_code=404, detail="Hero not found") hero_data = hero.model_dump(exclude_unset=True)Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Oct 09 19:44:42 GMT 2024 - 2.5K bytes - Click Count (0) -
tests/test_tutorial/test_body/test_tutorial003.py
"title": "HTTPValidationError", "type": "object", "properties": { "detail": { "title": "Detail", "type": "array", "items": { "$ref": "#/components/schemas/ValidationError"
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 6.1K bytes - Click Count (0) -
docs_src/bigger_applications/app_an_py310/dependencies.py
async def get_token_header(x_token: Annotated[str, Header()]): if x_token != "fake-super-secret-token": raise HTTPException(status_code=400, detail="X-Token header invalid") async def get_query_token(token: str): if token != "jessica":
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 409 bytes - Click Count (0) -
tests/test_tutorial/test_body_multiple_params/test_tutorial001.py
"title": "HTTPValidationError", "type": "object", "properties": { "detail": { "title": "Detail", "type": "array", "items": { "$ref": "#/components/schemas/ValidationError"
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 6.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractSequentialIterator.java
* remain. This method is invoked during each call to {@link #next()} in order to compute the * result of a <i>future</i> call to {@code next()}. */ protected abstract @Nullable T computeNext(T previous); @Override public final boolean hasNext() { return nextOrNull != null; } @Override public final T next() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 2.3K bytes - Click Count (0) -
.github/stale.yml
daysUntilStale: 30 # Number of days of inactivity before an Issue or Pull Request with the stale label is closed. # Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale. daysUntilClose: 15 # Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled) onlyLabels: []
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Jan 24 04:36:59 GMT 2022 - 2K bytes - Click Count (0) -
docs_src/dependencies/tutorial012_py310.py
raise HTTPException(status_code=400, detail="X-Token header invalid") async def verify_key(x_key: str = Header()): if x_key != "fake-super-secret-key": raise HTTPException(status_code=400, detail="X-Key header invalid") return x_key app = FastAPI(dependencies=[Depends(verify_token), Depends(verify_key)]) @app.get("/items/") async def read_items(): return [{"item": "Portal Gun"}, {"item": "Plumbus"}]
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 696 bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTask.kt
private fun File.readAcceptedChanges(): AcceptedApiChanges { val jsonString = this.readText() return Gson().fromJson(jsonString, AcceptedApiChanges::class.java) } /** * Sorts the given list of [AcceptedApiChange]s by type and member. * <p> * This sort ought to remain consistent with the sort used by the [EnrichedReportRenderer]. */ @Suppress("KDocUnresolvedReference") protectedCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jun 04 14:00:46 GMT 2024 - 2.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/exception/LdapConfigurationException.java
private static final long serialVersionUID = 1L; /** * Constructs a new LDAP configuration exception with the specified detail message. * * @param message The detail message. */ public LdapConfigurationException(final String message) { super(message); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.1K bytes - Click Count (0) -
tests/test_forms_single_param.py
"properties": { "detail": { "items": { "$ref": "#/components/schemas/ValidationError" }, "type": "array", "title": "Detail", } },
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 4.1K bytes - Click Count (0)